Class EventBasedCounterTest
- java.lang.Object
-
- org.djutils.stats.summarizers.event.EventBasedCounterTest
-
public class EventBasedCounterTest extends Object
Test the EventBasedCounter class.Copyright (c) 2002-2023 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information https://simulation.tudelft.nl. The DSOL project is distributed under a three-clause BSD-style license, which can be found at https://simulation.tudelft.nl/dsol/3.0/license.html.
- Author:
- Alexander Verbraeck
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) class
EventBasedCounterTest.CounterEventListener
The listener that counts the OBSERVATION_ADDED_EVENT events and checks correctness.
-
Constructor Summary
Constructors Constructor Description EventBasedCounterTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testEventBasedCounter()
Test the counter.void
testEventBasedCounterRemote()
Test the counter for RemoteExceptions.
-
-
-
Method Detail
-
testEventBasedCounter
public void testEventBasedCounter() throws RemoteException
Test the counter.- Throws:
RemoteException
- on network error for the event-based statistic
-
testEventBasedCounterRemote
public void testEventBasedCounterRemote() throws RemoteException
Test the counter for RemoteExceptions.- Throws:
RemoteException
- on network error for the event-based statistic
-
-