Package nzilbb.labbcat.server.api.edit
Class TestStore
- java.lang.Object
-
- nzilbb.labbcat.server.api.edit.TestStore
-
public class TestStore extends Object
These tests assume that there is a working LaBB-CAT instance with the latest version of nzilbb.labbcat.server.jar installed.
-
-
Constructor Summary
Constructors Constructor Description TestStore()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeleteTranscriptNotExists()FilegetDir()Getter forfDir: Directory for text files.static voidmain(String[] args)voidsaveDeleteEpisodeDocument()Test episode document can be saved and deleted.voidsaveDeleteMedia()Test transcript media can be saved and deletedvoidsaveParticipantDeleteParticipant()voidsaveTranscript()Test transcript attributes can be savedstatic voidsetBaseUrl()voidsetDir(File fNewDir)Setter forfDir: Directory for text files.
-
-
-
Method Detail
-
setBaseUrl
public static void setBaseUrl() throws MalformedURLException- Throws:
MalformedURLException
-
deleteTranscriptNotExists
public void deleteTranscriptNotExists() throws Exception- Throws:
Exception
-
saveParticipantDeleteParticipant
public void saveParticipantDeleteParticipant() throws Exception- Throws:
Exception
-
saveTranscript
public void saveTranscript() throws ExceptionTest transcript attributes can be saved- Throws:
Exception
-
saveDeleteMedia
public void saveDeleteMedia() throws ExceptionTest transcript media can be saved and deleted- Throws:
Exception
-
saveDeleteEpisodeDocument
public void saveDeleteEpisodeDocument() throws ExceptionTest episode document can be saved and deleted.- Throws:
Exception
-
getDir
public File getDir()
Getter forfDir: Directory for text files.- Returns:
- Directory for text files.
-
setDir
public void setDir(File fNewDir)
Setter forfDir: Directory for text files.- Parameters:
fNewDir- Directory for text files.
-
main
public static void main(String[] args)
-
-