Class TestUpgrade


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

      • TestUpgrade

        public TestUpgrade()
    • Method Detail

      • uploadDelete

        public void uploadDelete()
                          throws Exception
        Test /api/admin/upgrade endpoint supports uploading an upgrader and then deleting it.
        Throws:
        Exception
      • upgrade

        public void upgrade()
                     throws Exception
        Test /api/admin/upgrade endpoint supports uploading an upgrader and then deleting it.
        Throws:
        Exception
      • validation

        public void validation()
                        throws Exception
        Test /api/admin/validate 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)