public class CreditCardValidatorTest extends junit.framework.TestCase
| Constructor and Description |
|---|
CreditCardValidatorTest(String name)
Constructor for CreditCardValidatorTest.
|
| Modifier and Type | Method and Description |
|---|---|
void |
testAddAllowedCardType() |
void |
testAmexOption()
Test the Amex Card option
|
void |
testAmexValidator()
Test the Amex Card validator
|
void |
testArrayConstructor()
Test the CodeValidator array constructor
|
void |
testDinersOption()
Test the Diners Card option
|
void |
testDinersValidator()
Test the Diners Card validator
|
void |
testDiscoverOption()
Test the Discover Card option
|
void |
testDiscoverValidator()
Test the Discover Card validator
|
void |
testIsValid() |
void |
testMastercardOption()
Test the Mastercard Card option
|
void |
testMastercardUsingSeparators()
Test using separators
|
void |
testMastercardValidator()
Test the Mastercard Card validator
|
void |
testVisaOption()
Test the Visa Card option
|
void |
testVisaValidator()
Test the Visa Card validator
|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toStringassertEquals, 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, failSamepublic CreditCardValidatorTest(String name)
public void testIsValid()
public void testAddAllowedCardType()
public void testArrayConstructor()
public void testAmexValidator()
public void testAmexOption()
public void testDinersValidator()
public void testDinersOption()
public void testDiscoverValidator()
public void testDiscoverOption()
public void testMastercardValidator()
public void testMastercardOption()
public void testVisaValidator()
public void testVisaOption()
public void testMastercardUsingSeparators()
Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.