Class TestUpload
- java.lang.Object
-
- nzilbb.labbcat.server.api.results.TestUpload
-
public class TestUpload extends Object
Test the api/results/upload 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 TestUpload()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
main(String[] args)
void
resultsUpload()
Ensure search results can be uploaded and resulting annotaitions returned.static void
setBaseUrl()
-
-
-
Method Detail
-
setBaseUrl
public static void setBaseUrl() throws MalformedURLException
- Throws:
MalformedURLException
-
resultsUpload
public void resultsUpload() throws Exception
Ensure search results can be uploaded and resulting annotaitions returned.- Throws:
Exception
-
main
public static void main(String[] args)
-
-