net.firstpartners.nounit.snippet.test
Class TestSnippets

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

public class TestSnippets
extends junit.framework.TestCase

Test the Class Snippet Factory


Constructor Summary
TestSnippets(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 testSnippets()
           
 
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

TestSnippets

public TestSnippets(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

testSnippets

public void testSnippets()
                  throws java.lang.Exception