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 void
deleteTranscriptNotExists()
File
getDir()
Getter forfDir
: Directory for text files.static void
main(String[] args)
void
saveDeleteEpisodeDocument()
Test episode document can be saved and deleted.void
saveDeleteMedia()
Test transcript media can be saved and deletedvoid
saveParticipantDeleteParticipant()
void
saveTranscript()
Test transcript attributes can be savedstatic void
setBaseUrl()
void
setDir(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 Exception
Test transcript attributes can be saved- Throws:
Exception
-
saveDeleteMedia
public void saveDeleteMedia() throws Exception
Test transcript media can be saved and deleted- Throws:
Exception
-
saveDeleteEpisodeDocument
public void saveDeleteEpisodeDocument() throws Exception
Test 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)
-
-