Package nzilbb.labbcat.server.api
Class TestPassword
- java.lang.Object
-
- nzilbb.labbcat.server.api.TestPassword
-
public class TestPassword extends Object
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 TestPassword()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
changePassword()
Test successful request to /api/password.static void
main(String[] args)
static void
setBaseUrl()
void
validation()
Ensures /api/password requests are correctly validated.
-
-
-
Method Detail
-
setBaseUrl
public static void setBaseUrl() throws MalformedURLException
- Throws:
MalformedURLException
-
validation
public void validation() throws Exception
Ensures /api/password requests are correctly validated.- Throws:
Exception
-
changePassword
public void changePassword() throws Exception
Test successful request to /api/password.- Throws:
Exception
-
main
public static void main(String[] args)
-
-