Class EventBasedTimestampWeightedTallyTest
- java.lang.Object
-
- org.djutils.stats.summarizers.event.EventBasedTimestampWeightedTallyTest
-
public class EventBasedTimestampWeightedTallyTest extends Object
The EventBasedTimestampWeightedTallyTest test the weighted tally that receives event-observations with a timestamp.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.
- Since:
- 1.5
- Author:
- Peter Jacobs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) classEventBasedTimestampWeightedTallyTest.CalendarObservationEventListenerThe Calendar-based listener that counts the OBSERVATION_ADDED_EVENT events and checks correctness.(package private) classEventBasedTimestampWeightedTallyTest.TimestampedObservationEventListenerThe listener that counts the OBSERVATION_ADDED_EVENT events and checks correctness.
-
Constructor Summary
Constructors Constructor Description EventBasedTimestampWeightedTallyTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidtestCalendarBasedWeightedTallyEventProduction()Test produced events by EventBasedWeightedTally.voidtestEBTimestampWeightedTallyCalendarNotify()Test the TimestampWeightedTally for Calendar-based timestamps.voidtestEBTimestampWeightedTallyCalendarregister()Test the TimestampWeightedTally for Calendar-based timestamps with register().voidtestEventBasedTimestampTallyRemote()Test the event-based timestamp weighted tally for RemoteExceptions.voidtestEventBasedTimestampWeightedTally()Test the EventBasedTimestampWeightedTally.voidtestEventBasedTimestampWeightedTallySimple()Test the EventBasedTimestampWeightedTally on a simple example.voidtestEventBasedWeightedTallyEventProduction()Test produced events by EventBasedWeightedTally.
-
-
-
Method Detail
-
testEventBasedTimestampWeightedTally
public void testEventBasedTimestampWeightedTally()
Test the EventBasedTimestampWeightedTally.
-
testEventBasedTimestampWeightedTallySimple
public void testEventBasedTimestampWeightedTallySimple()
Test the EventBasedTimestampWeightedTally on a simple example.
-
testEBTimestampWeightedTallyCalendarNotify
public void testEBTimestampWeightedTallyCalendarNotify()
Test the TimestampWeightedTally for Calendar-based timestamps.
-
testEBTimestampWeightedTallyCalendarregister
public void testEBTimestampWeightedTallyCalendarregister()
Test the TimestampWeightedTally for Calendar-based timestamps with register().
-
testEventBasedWeightedTallyEventProduction
public void testEventBasedWeightedTallyEventProduction() throws RemoteExceptionTest produced events by EventBasedWeightedTally.- Throws:
RemoteException- on network error
-
testCalendarBasedWeightedTallyEventProduction
public void testCalendarBasedWeightedTallyEventProduction() throws RemoteExceptionTest produced events by EventBasedWeightedTally.- Throws:
RemoteException- on network error
-
testEventBasedTimestampTallyRemote
public void testEventBasedTimestampTallyRemote() throws RemoteExceptionTest the event-based timestamp weighted tally for RemoteExceptions.- Throws:
RemoteException- on network error for the event-based statistic
-
-