Package nzilbb.labbcat.server.api
Class TestTask
- java.lang.Object
-
- nzilbb.labbcat.server.api.TestTask
-
public class TestTask extends Object
Test the api/task/... endpoints.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 TestTask()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
invalidTaskStatus()
Test invalid task request.static void
main(String[] args)
static void
setBaseUrl()
void
tasks()
Ensure tasks can be listed and their statuses retrieved.
-
-
-
Method Detail
-
setBaseUrl
public static void setBaseUrl() throws MalformedURLException
- Throws:
MalformedURLException
-
tasks
public void tasks() throws Exception
Ensure tasks can be listed and their statuses retrieved.- Throws:
Exception
-
invalidTaskStatus
public void invalidTaskStatus() throws Exception
Test invalid task request.- Throws:
Exception
-
main
public static void main(String[] args)
-
-