Class TestAttributes
- java.lang.Object
-
- nzilbb.labbcat.server.api.participant.TestAttributes
-
public class TestAttributes extends Object
Test the api/participant/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
invalidParticipant()
Test invalid participant requeststatic void
main(String[] args)
void
participantAttributes()
Test that endpoint returns correct requested CSV data.static void
setBaseUrl()
-
-
-
Method Detail
-
setBaseUrl
public static void setBaseUrl() throws MalformedURLException
- Throws:
MalformedURLException
-
participantAttributes
public void participantAttributes() throws Exception
Test that endpoint returns correct requested CSV data.- Throws:
Exception
-
invalidParticipant
public void invalidParticipant() throws Exception
Test invalid participant request- Throws:
Exception
-
main
public static void main(String[] args)
-
-