Package org.opentrafficsim.xml.bindings
Class LengthAdapterTest
- java.lang.Object
-
- org.opentrafficsim.xml.bindings.LengthAdapterTest
-
public class LengthAdapterTest extends Object
LengthAdapterTest for Length and SignedLength.
Copyright (c) 2003-2022 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information www.simulation.tudelft.nl. The source code and binary code of this software is proprietary information of Delft University of Technology.- Author:
- Alexander Verbraeck
-
-
Field Summary
Fields Modifier and Type Field Description (package private) LengthUnit[]
units
the allowed units.(package private) String[]
unitStrings
the corresponding strings.
-
Constructor Summary
Constructors Constructor Description LengthAdapterTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testLengthAdapter()
Test the LengthAdaptervoid
testSignedLengthAdapter()
Test the SignedLengthAdapter
-
-
-
Field Detail
-
units
LengthUnit[] units
the allowed units.
-
unitStrings
String[] unitStrings
the corresponding strings.
-
-
Method Detail
-
testSignedLengthAdapter
public void testSignedLengthAdapter() throws javax.xml.bind.JAXBException
Test the SignedLengthAdapter- Throws:
javax.xml.bind.JAXBException
-
testLengthAdapter
public void testLengthAdapter() throws javax.xml.bind.JAXBException
Test the LengthAdapter- Throws:
javax.xml.bind.JAXBException
-
-