Class TestSearch


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

      • TestSearch

        public TestSearch()
    • Method Detail

      • searchInvalidPattern

        public void searchInvalidPattern()
                                  throws Exception
        Ensure searching with an invalid pattern correctly fails.
        Throws:
        Exception
      • searchAndCancelTask

        public void searchAndCancelTask()
                                 throws Exception
        Ensure searches can be cancelled.
        Throws:
        Exception
      • searchAndGetMatchesAndGetMatchAnnotations

        public void searchAndGetMatchesAndGetMatchAnnotations()
                                                       throws Exception
        Ensure workflow of searching works, from specifying the search to retrieving results
        Throws:
        Exception
      • searchIPA

        public void searchIPA()
                       throws Exception
        Ensure search for non-ASCII patterns, particularly IPA ones like "iː", work.
        Throws:
        Exception
      • searchExcludingOverlappingSpeech

        public void searchExcludingOverlappingSpeech()
                                              throws Exception
        Ensure exclusion of overlapping speech in search results works.
        Throws:
        Exception
      • main

        public static void main​(String[] args)