org.apache.james.jdkim
Class PerlDKIMTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.james.jdkim.PerlDKIMTest
All Implemented Interfaces:
junit.framework.Test

public class PerlDKIMTest
extends junit.framework.TestCase

Creates a TestSuite running the test for each .msg file in the test resouce folder. Allow running of a single test from Unit testing GUIs


Constructor Summary
PerlDKIMTest(String testName)
           
PerlDKIMTest(String name, File testFile, MockPublicKeyRecordRetriever pkr)
           
 
Method Summary
static MockPublicKeyRecordRetriever getPublicRecordRetriever()
           
protected  void runTest()
           
static junit.framework.Test suite()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, setName, setUp, tearDown, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PerlDKIMTest

public PerlDKIMTest(String testName)
             throws IOException
Throws:
IOException

PerlDKIMTest

public PerlDKIMTest(String name,
                    File testFile,
                    MockPublicKeyRecordRetriever pkr)
Method Detail

getPublicRecordRetriever

public static MockPublicKeyRecordRetriever getPublicRecordRetriever()
                                                             throws IOException
Throws:
IOException

runTest

protected void runTest()
                throws Throwable
Overrides:
runTest in class junit.framework.TestCase
Throws:
Throwable

suite

public static junit.framework.Test suite()
                                  throws IOException
Throws:
IOException


Copyright © 2008-2009 The Apache Software Foundation. All Rights Reserved.