Package nzilbb.configure
Class TestParameter
- java.lang.Object
-
- nzilbb.configure.TestParameter
-
public class TestParameter extends Object
Unit tests forParameter
-
-
Constructor Summary
Constructors Constructor Description TestParameter()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
coercionFromString()
Test that coercion of the value type from a String value works.void
fromJson()
Test that serialization to JSON works.static void
main(String[] args)
void
toJson()
Test that serialization to JSON works.
-
-
-
Method Detail
-
coercionFromString
public void coercionFromString()
Test that coercion of the value type from a String value works. This facilitates parsing Parameter values from HTTP request parameters.
-
toJson
public void toJson()
Test that serialization to JSON works.
-
fromJson
public void fromJson()
Test that serialization to JSON works.
-
main
public static void main(String[] args)
-
-