|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.jmock.core.VerifyingTestCase
org.jmock.core.MockObjectSupportTestCase
org.jmock.MockObjectTestCase
org.jmock.cglib.MockObjectTestCase
org.apache.myfaces.test.jmock.AbstractJmockJsfTestCase
org.apache.myfaces.commons.validator.AbstractValidatorTestCase
org.apache.myfaces.commons.validator.EmailValidatorTestCase
public class EmailValidatorTestCase
Field Summary |
---|
Fields inherited from class org.apache.myfaces.test.jmock.AbstractJmockJsfTestCase |
---|
application, config, externalContext, facesContext, facesContextFactory, lifecycle, lifecycleFactory, renderKit, request, response, servletContext, session |
Fields inherited from class org.jmock.core.MockObjectSupportTestCase |
---|
ANYTHING, NOT_NULL, NULL |
Constructor Summary | |
---|---|
EmailValidatorTestCase(String arg0)
|
Method Summary | |
---|---|
protected void |
setUp()
|
static junit.framework.Test |
suite()
|
protected void |
tearDown()
|
void |
testGoodEmailAddress()
|
void |
testNullContext()
Test when context is set to null |
void |
testWrongEmailAddress()
|
Methods inherited from class org.apache.myfaces.commons.validator.AbstractValidatorTestCase |
---|
doTestNullContext |
Methods inherited from class org.apache.myfaces.test.jmock.AbstractJmockJsfTestCase |
---|
setFactories, setUpApplication, setUpExternalContext, setUpFacesContext, setUpJSFObjects, setUpLifecycle, setUpRenderKit, setUpServletObjects, setUpView |
Methods inherited from class org.jmock.cglib.MockObjectTestCase |
---|
newCoreMock |
Methods inherited from class org.jmock.MockObjectTestCase |
---|
atLeastOnce, defaultMockNameForType, mock, mock, never, once, onConsecutiveCalls, onConsecutiveCalls, onConsecutiveCalls, returnValue, returnValue, returnValue, returnValue, returnValue, returnValue, returnValue, returnValue, returnValue, throwException |
Methods inherited from class org.jmock.core.MockObjectSupportTestCase |
---|
and, eq, eq, eq, eq, eq, eq, eq, eq, eq, eq, isA, newDummy, newDummy, newDummy, not, or, same, stringContains |
Methods inherited from class org.jmock.core.VerifyingTestCase |
---|
registerToVerify, runBare, unregisterToVerify, verify |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, 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, 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 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EmailValidatorTestCase(String arg0)
Method Detail |
---|
protected void setUp() throws Exception
setUp
in class AbstractValidatorTestCase
Exception
protected void tearDown() throws Exception
tearDown
in class AbstractValidatorTestCase
Exception
public static junit.framework.Test suite()
public void testNullContext()
public void testWrongEmailAddress()
public void testGoodEmailAddress()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |