Package nzilbb.labbcat.server.api
Class TestCategories
- java.lang.Object
-
- nzilbb.labbcat.server.api.TestCategories
-
public class TestCategories extends Object
Test the api/categories endpoint.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 TestCategories()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcategoriesInvalid()Ensure categories for an invalid class are emptyvoidcategoriesParticipant()Ensure participant attribute categories are availablevoidcategoriesTranscript()Ensure transcript attribute categories are availablestatic voidmain(String[] args)static voidsetBaseUrl()
-
-
-
Method Detail
-
setBaseUrl
public static void setBaseUrl() throws MalformedURLException- Throws:
MalformedURLException
-
categoriesTranscript
public void categoriesTranscript() throws ExceptionEnsure transcript attribute categories are available- Throws:
Exception
-
categoriesParticipant
public void categoriesParticipant() throws ExceptionEnsure participant attribute categories are available- Throws:
Exception
-
categoriesInvalid
public void categoriesInvalid() throws ExceptionEnsure categories for an invalid class are empty- Throws:
Exception
-
main
public static void main(String[] args)
-
-