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 voidinvalidParticipant()Test invalid participant requeststatic voidmain(String[] args)voidparticipantAttributes()Test that endpoint returns correct requested CSV data.static voidsetBaseUrl()
-
-
-
Method Detail
-
setBaseUrl
public static void setBaseUrl() throws MalformedURLException- Throws:
MalformedURLException
-
participantAttributes
public void participantAttributes() throws ExceptionTest that endpoint returns correct requested CSV data.- Throws:
Exception
-
invalidParticipant
public void invalidParticipant() throws ExceptionTest invalid participant request- Throws:
Exception
-
main
public static void main(String[] args)
-
-