Class TestIntervals
- java.lang.Object
-
- nzilbb.labbcat.server.api.edit.annotations.TestIntervals
-
public class TestIntervals 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 TestIntervals()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreationDeletion()Ensure annotations are successfully created and deletedFilegetDir()Getter forfDir: Directory for text files.voidinvalidParameters()Test parameter validation.static voidmain(String[] args)static voidsetBaseUrl()voidsetDir(File fNewDir)Setter forfDir: Directory for text files.voiduploadIntervalAnnotations()Test annotations can be uploaded from results CSV
-
-
-
Method Detail
-
setBaseUrl
public static void setBaseUrl() throws MalformedURLException- Throws:
MalformedURLException
-
uploadIntervalAnnotations
public void uploadIntervalAnnotations() throws ExceptionTest annotations can be uploaded from results CSV- Throws:
Exception
-
creationDeletion
public void creationDeletion() throws ExceptionEnsure annotations are successfully created and deleted- Throws:
Exception
-
invalidParameters
public void invalidParameters() throws ExceptionTest parameter validation.- 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)
-
-