org.pentaho.di.trans.steps.mailvalidator
Class MailValidationTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.pentaho.di.trans.steps.mailvalidator.MailValidationTest
All Implemented Interfaces:
junit.framework.Test

public class MailValidationTest
extends junit.framework.TestCase

Verify MailValidation properly differentiates between valid and invalid email addresses.

Author:
Jordan Ganoff (jganoff@pentaho.com)

Constructor Summary
MailValidationTest()
           
 
Method Summary
 void testEmailValidation_empty()
           
 void testEmailValidation_null()
           
 void testEmailValidation_simple_caps_valid()
           
 void testEmailValidation_simple_invalid()
           
 void testEmailValidation_simple_valid()
           
 
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

MailValidationTest

public MailValidationTest()
Method Detail

testEmailValidation_simple_valid

public void testEmailValidation_simple_valid()

testEmailValidation_simple_caps_valid

public void testEmailValidation_simple_caps_valid()

testEmailValidation_simple_invalid

public void testEmailValidation_simple_invalid()

testEmailValidation_null

public void testEmailValidation_null()

testEmailValidation_empty

public void testEmailValidation_empty()