Class GTUExceptionTest

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

public class GTUExceptionTest
extends java.lang.Object
Test the GTUException 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 Mar 11, 2016
Author:
Peter Knoppers
  • Constructor Summary

    Constructors 
    Constructor Description
    GTUExceptionTest()  
  • Method Summary

    Modifier and Type Method Description
    void gtuExceptionTest()
    Test the GTUException class.
    void throwIfTest()
    Test the throwIf method.

    Methods inherited from class java.lang.Object

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

  • Method Details

    • gtuExceptionTest

      public final void gtuExceptionTest()
      Test the GTUException class.
    • throwIfTest

      public final void throwIfTest() throws org.opentrafficsim.core.gtu.GTUException
      Test the throwIf method.
      Throws:
      org.opentrafficsim.core.gtu.GTUException - should not happen (this test has failed if it does)