Package org.opentrafficsim.core.object
Class StaticObjectTest
- java.lang.Object
-
- org.opentrafficsim.core.object.StaticObjectTest
-
- All Implemented Interfaces:
Serializable
,EventListener
,EventListenerInterface
public class StaticObjectTest extends Object implements EventListenerInterface
Test the StaticObject 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 Feb 12, 2020
- Author:
- Peter Knoppers
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StaticObjectTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
notify(EventInterface event)
Receiver for the events that should be emitted when a StaticObject is constructed.void
staticObjectTest()
Test the StaticObject class.
-
-
-
Method Detail
-
staticObjectTest
public void staticObjectTest() throws OTSGeometryException, NetworkException
Test the StaticObject class.- Throws:
OTSGeometryException
- if that happens, this test has failedNetworkException
- if that happens, this test has failed
-
notify
public void notify(EventInterface event) throws RemoteException
Receiver for the events that should be emitted when a StaticObject is constructed.- Specified by:
notify
in interfaceEventListenerInterface
- Throws:
RemoteException
-
-