Class TestRegenerate


  • public class TestRegenerate
    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

      • TestRegenerate

        public TestRegenerate()
    • Method Detail

      • regenerateByParameter

        public void regenerateByParameter()
                                   throws Exception
        Test /api/edit/participants/layers/regenerate endpoint will regenerate layers using IDs specified by parameter.
        Throws:
        Exception
      • regenerateByFile

        public void regenerateByFile()
                              throws Exception
        Test /api/edit/participants/layers/regenerate endpoint will regenerate layers using IDs specified by an uploaded file.
        Throws:
        Exception
      • validation

        public void validation()
                        throws Exception
        Test /api/edit/participants/layers/regenerate endpoint 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)