Class TestTokens


  • public class TestTokens
    extends Object
    These tests assume that there is a working LaBB-CAT instance with the latest version of nzilbb.labbcat.server.jar installed.
    • Constructor Detail

      • TestTokens

        public TestTokens()
    • Method Detail

      • uploadTokenAnnotations

        public void uploadTokenAnnotations()
                                    throws Exception
        Test annotations can be uploaded from results CSV
        Throws:
        Exception
      • creationDeletion

        public void creationDeletion()
                              throws Exception
        Ensure annotations are successfully created and deleted
        Throws:
        Exception
      • invalidParameters

        public void invalidParameters()
                               throws Exception
        Test parameter validation.
        Throws:
        Exception
      • getDir

        public File getDir()
        Getter for fDir: Directory for text files.
        Returns:
        Directory for text files.
      • setDir

        public void setDir​(File fNewDir)
        Setter for fDir: Directory for text files.
        Parameters:
        fNewDir - Directory for text files.
      • main

        public static void main​(String[] args)