Class EventBasedCounterTest
java.lang.Object
org.djutils.stats.summarizers.event.EventBasedCounterTest
Test the EventBasedCounter class.
Copyright (c) 2002-2024 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
Modifier and TypeClassDescription(package private) class
The listener that counts the OBSERVATION_ADDED_EVENT events and checks correctness. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Test the counter.void
Test the counter for RemoteExceptions.
-
Constructor Details
-
EventBasedCounterTest
public EventBasedCounterTest()
-
-
Method Details
-
testEventBasedCounter
Test the counter.- Throws:
RemoteException
- on network error for the event-based statistic
-
testEventBasedCounterRemote
Test the counter for RemoteExceptions.- Throws:
RemoteException
- on network error for the event-based statistic
-