Class GTUTest

java.lang.Object
org.opentrafficsim.core.gtu.GTUTest

public class GTUTest
extends java.lang.Object
Test the AbstractGTU class.

Copyright (c) 2013-2019 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
    org.opentrafficsim.core.gtu.GTU gtuOfStrategicalPlanner
    GTU 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

    Modifier and Type Method Description
    void testAbstractGTU()
    Test the constructor.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • gtuOfStrategicalPlanner

      public org.opentrafficsim.core.gtu.GTU gtuOfStrategicalPlanner
      GTU that will be returned when the fake strategical planner is asked for the associated GTU with getGTU.
  • Constructor Details

  • Method Details

    • testAbstractGTU

      public final void testAbstractGTU() throws org.opentrafficsim.core.gtu.GTUException, SimRuntimeException, org.opentrafficsim.core.network.NetworkException, javax.naming.NamingException, java.rmi.RemoteException, org.opentrafficsim.core.geometry.OTSGeometryException
      Test the constructor.
      Throws:
      org.opentrafficsim.core.gtu.GTUException - should not happen uncaught; if it does the test has failed
      org.opentrafficsim.core.network.NetworkException - should not happen uncaught; if it does the test has failed
      SimRuntimeException - should not happen uncaught; if it does the test has failed
      javax.naming.NamingException - should not happen uncaught; if it does the test has failed
      java.rmi.RemoteException - should not happen uncaught; if it does the test has failed
      org.opentrafficsim.core.geometry.OTSGeometryException - should not happen uncaught; if it does the test has failed