public class TestEmailUtil
extends TestCase
Constructor and Description |
---|
TestEmailUtil(java.lang.String name)
Creates a new unit test
|
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args)
Entry point to run this test standalone
|
static Test |
suite()
Creates the test suite
|
void |
testInvalidateSMTP() |
void |
testKnownBad()
Check known BAD email addresses.
|
void |
testKnownGood()
Check known GOOD email addresses.
|
void |
testValidateSMTP() |
public TestEmailUtil(java.lang.String name)
name
- the name of the unitpublic static Test suite()
public static void main(java.lang.String[] args)
args
- the arguments to the testpublic void testValidateSMTP() throws java.lang.Exception
java.lang.Exception
public void testInvalidateSMTP() throws java.lang.Exception
java.lang.Exception
public void testKnownGood() throws java.lang.Exception
java.lang.Exception
- a test failure.public void testKnownBad() throws java.lang.Exception
java.lang.Exception
- a test failure.stSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.