Package org.opentrafficsim.core.gtu
Class GTUTest
- java.lang.Object
-
- org.opentrafficsim.core.gtu.GTUTest
-
public class GTUTest extends java.lang.ObjectTest the AbstractGTU class.Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.- Version:
- $Revision$, $LastChangedDate$, by $Author$, initial version Nov 11, 2015
- Author:
- Alexander Verbraeck, Peter Knoppers
-
-
Field Summary
Fields Modifier and Type Field Description GTUgtuOfStrategicalPlannerGTU that will be returned when the fake strategical planner is asked for the associated GTU with getGTU.
-
Constructor Summary
Constructors Constructor Description GTUTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidtestAbstractGTU()Test the constructor.
-
-
-
Field Detail
-
gtuOfStrategicalPlanner
public GTU gtuOfStrategicalPlanner
GTU that will be returned when the fake strategical planner is asked for the associated GTU with getGTU.
-
-
Method Detail
-
testAbstractGTU
public final void testAbstractGTU() throws GTUException, SimRuntimeException, NetworkException, javax.naming.NamingException, java.rmi.RemoteException, OTSGeometryExceptionTest the constructor.- Throws:
GTUException- should not happen uncaught; if it does the test has failedNetworkException- should not happen uncaught; if it does the test has failedSimRuntimeException- should not happen uncaught; if it does the test has failedjavax.naming.NamingException- should not happen uncaught; if it does the test has failedjava.rmi.RemoteException- should not happen uncaught; if it does the test has failedOTSGeometryException- should not happen uncaught; if it does the test has failed
-
-