uk.ac.ed.inf.utils.test
Class RegExpUtilsTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by uk.ac.ed.inf.utils.test.RegExpUtilsTest
All Implemented Interfaces:
junit.framework.Test

public class RegExpUtilsTest
extends junit.framework.TestCase

Class

Version:
10 Mar 2008
Author:
Luna De Ferrari luna.deferrari-at-ed.ac.uk

Constructor Summary
RegExpUtilsTest()
           
 
Method Summary
static java.lang.String getTestHtml()
           
static java.util.Iterator<java.lang.String> iterator1()
           
static java.util.Iterator<java.lang.String> iterator2()
           
 void testFilterListsByRegExp()
           
static void testGetMatchesBoundaries()
           
 void testMultilineMatch()
           
 void testStringMatchesRegExp()
           
 void testStripHtml()
           
 void testSubstituteMatchedString()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, getName, run, run, runBare, 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, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RegExpUtilsTest

public RegExpUtilsTest()
Method Detail

testFilterListsByRegExp

public void testFilterListsByRegExp()

testMultilineMatch

public void testMultilineMatch()

testStringMatchesRegExp

public void testStringMatchesRegExp()

testStripHtml

public void testStripHtml()

testSubstituteMatchedString

public void testSubstituteMatchedString()

getTestHtml

public static java.lang.String getTestHtml()

iterator1

public static java.util.Iterator<java.lang.String> iterator1()

iterator2

public static java.util.Iterator<java.lang.String> iterator2()

testGetMatchesBoundaries

public static void testGetMatchesBoundaries()