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 void
categoriesInvalid()
Ensure categories for an invalid class are emptyvoid
categoriesParticipant()
Ensure participant attribute categories are availablevoid
categoriesTranscript()
Ensure transcript attribute categories are availablestatic void
main(String[] args)
static void
setBaseUrl()
-
-
-
Method Detail
-
setBaseUrl
public static void setBaseUrl() throws MalformedURLException
- Throws:
MalformedURLException
-
categoriesTranscript
public void categoriesTranscript() throws Exception
Ensure transcript attribute categories are available- Throws:
Exception
-
categoriesParticipant
public void categoriesParticipant() throws Exception
Ensure participant attribute categories are available- Throws:
Exception
-
categoriesInvalid
public void categoriesInvalid() throws Exception
Ensure categories for an invalid class are empty- Throws:
Exception
-
main
public static void main(String[] args)
-
-