Class TestJSAPConfiguration

java.lang.Object
junit.framework.Assert
junit.framework.TestCase
com.martiansoftware.jsap.TestJSAPConfiguration
All Implemented Interfaces:
junit.framework.Test

public class TestJSAPConfiguration extends junit.framework.TestCase
Tests the JSAPConfiguration class
Author:
Marty Lamb
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static junit.framework.Test
    Returns a suite of tests defined by this class.
    void
    Tests various configuration situations, such as changing properties of registered parameters, retrieving parameters, etc.

    Methods inherited from class junit.framework.TestCase

    assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, setName, toString

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • TestJSAPConfiguration

      public TestJSAPConfiguration()
  • Method Details

    • suite

      public static junit.framework.Test suite()
      Returns a suite of tests defined by this class.
      Returns:
      a suite of tests defined by this class.
    • testConfigurationGymnastics

      public void testConfigurationGymnastics()
      Tests various configuration situations, such as changing properties of registered parameters, retrieving parameters, etc.