javax.faces.validator
Class RegexValidatorTestCase

java.lang.Object
  extended by JUnitFacesTestCase
      extended by javax.faces.validator.ValidatorTestCase
          extended by javax.faces.validator.RegexValidatorTestCase

public class RegexValidatorTestCase
extends ValidatorTestCase

Unit tests for RegexValidator.


Constructor Summary
RegexValidatorTestCase(java.lang.String name)
          Construct a new instance of this test case.
 
Method Summary
static Test suite()
           
 void testPatterMismatch()
           
 void testPatternMatch()
           
 
Methods inherited from class javax.faces.validator.ValidatorTestCase
setUp, testNoOp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegexValidatorTestCase

public RegexValidatorTestCase(java.lang.String name)
Construct a new instance of this test case.

Parameters:
name - Name of the test case
Method Detail

suite

public static Test suite()

testPatternMatch

public void testPatternMatch()

testPatterMismatch

public void testPatterMismatch()


Copyright 2002-2011 Oracle America Inc, Inc. All Rights Reserved.