frysk.expunit
Class TestRegex

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by frysk.junit.TestCase
              extended by frysk.expunit.TestRegex
All Implemented Interfaces:
Test

public class TestRegex
extends TestCase

Test ExpectUnit framework.


Field Summary
(package private)  Expect e
           
 
Constructor Summary
TestRegex()
           
 
Method Summary
 void setUp()
          Sets up the fixture, for example, open a network connection.
 void tearDown()
          Tears down the fixture, for example, close a network connection.
 void testGroups()
          Try to match several grouped items.
 void testRegex()
          Try to match a regular expression, confirm it was correctly removed by following it with an anchored match.
 void testToString()
           
 
Methods inherited from class frysk.junit.TestCase
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, getTimeoutMilliseconds, getTimeoutSeconds, missing32or64, unresolved, unresolvedOffUtrace, unresolvedOn32On64, unresolvedOnIA32, unresolvedOnPPC, unresolvedOnUtrace, unresolvedOnx8664, unsupported
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
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, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

e

Expect e
Constructor Detail

TestRegex

public TestRegex()
Method Detail

setUp

public void setUp()
Description copied from class: TestCase
Sets up the fixture, for example, open a network connection. This method is called before a test is executed.

Overrides:
setUp in class TestCase

tearDown

public void tearDown()
Description copied from class: TestCase
Tears down the fixture, for example, close a network connection. This method is called after a test is executed.

Overrides:
tearDown in class TestCase

testRegex

public void testRegex()
Try to match a regular expression, confirm it was correctly removed by following it with an anchored match.


testGroups

public void testGroups()
Try to match several grouped items.


testToString

public void testToString()