Keel 2.1RC2

org.keel.util.string
Class SuperStringTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.keel.util.string.SuperStringTest
All Implemented Interfaces:
junit.framework.Test

public class SuperStringTest
extends junit.framework.TestCase


Field Summary
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
SuperStringTest(java.lang.String name)
          Constructs a test case with the given name.
 
Method Summary
private  void compare(java.util.Date d1, java.util.Date d2, java.lang.String marker)
           
protected  void setUp()
          Sets up the fixture, for example, open a network connection.
static junit.framework.Test suite()
           
protected  void tearDown()
          Tears down the fixture, for example, close a network connection.
 void testToDate()
          SuperString has the ability to convert many different formats of date into an actual "Date" object.
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, name, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SuperStringTest

public SuperStringTest(java.lang.String name)
Constructs a test case with the given name.

Parameters:
name -
Method Detail

testToDate

public void testToDate()
SuperString has the ability to convert many different formats of date into an actual "Date" object. This test verifies this


compare

private void compare(java.util.Date d1,
                     java.util.Date d2,
                     java.lang.String marker)

setUp

protected void setUp()
Sets up the fixture, for example, open a network connection. This method is called before a test is executed. Specific tests can extend this method for additional setup.

Throws:
java.lang.Exception

tearDown

protected void tearDown()
                 throws java.lang.Exception
Tears down the fixture, for example, close a network connection. This method is called after a test is executed.

Throws:
java.lang.Exception

suite

public static junit.framework.Test suite()

Keel 2.1RC2

Please see keelframework.org for information about new Keel releases.