Package nzilbb.labbcat.server.api
Class TestAttributes
- java.lang.Object
-
- nzilbb.labbcat.server.api.TestAttributes
-
public class TestAttributes extends Object
Test the api/attributes 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 TestAttributes()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
attributes()
Test that endpoint returns correct requested CSV data.void
invalidTranscript()
Test invalid transcript requeststatic void
main(String[] args)
static void
setBaseUrl()
-
-
-
Method Detail
-
setBaseUrl
public static void setBaseUrl() throws MalformedURLException
- Throws:
MalformedURLException
-
attributes
public void attributes() throws Exception
Test that endpoint returns correct requested CSV data.- Throws:
Exception
-
invalidTranscript
public void invalidTranscript() throws Exception
Test invalid transcript request- Throws:
Exception
-
main
public static void main(String[] args)
-
-