net.firstpartners.nounit.snippet.test
Class TestSnippetPackage

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--net.firstpartners.nounit.snippet.test.TestSnippetPackage
All Implemented Interfaces:
junit.framework.Test

public class TestSnippetPackage
extends junit.framework.TestCase

Test the Class Snippet Package


Constructor Summary
TestSnippetPackage(java.lang.String name)
          Constructor as required by Junit
 
Method Summary
static void main(java.lang.String[] args)
          Enable Junit to run this Class individually
 void setUp()
          Code run before each test
static junit.framework.Test suite()
          Enable Junit to run this class as part of AllTests.java
protected  void tearDown()
          Code run after each test
 void testSnippetPackages()
           
 void testSnippetPackagesToXml()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, name, run, run, runBare, runTest, toString
 
Methods inherited from class junit.framework.Assert
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestSnippetPackage

public TestSnippetPackage(java.lang.String name)
Constructor as required by Junit
Parameters:
name - to be displayed on testrunner
Method Detail

setUp

public void setUp()
Code run before each test
Overrides:
setUp in class junit.framework.TestCase

tearDown

protected void tearDown()
Code run after each test
Overrides:
tearDown in class junit.framework.TestCase

main

public static void main(java.lang.String[] args)
Enable Junit to run this Class individually
Parameters:
args -  

suite

public static junit.framework.Test suite()
Enable Junit to run this class as part of AllTests.java
Returns:
TestSuite

testSnippetPackages

public void testSnippetPackages()
                         throws java.lang.Exception

testSnippetPackagesToXml

public void testSnippetPackagesToXml()
                              throws java.lang.Exception