net.firstpartners.nounit.snippet.test
Class TestSnippetCalls

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

public class TestSnippetCalls
extends junit.framework.TestCase

Test the Class Snippet Package


Constructor Summary
TestSnippetCalls(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 testSnippetCalledMethodXml()
          Test XML Output
 
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

TestSnippetCalls

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

testSnippetCalledMethodXml

public void testSnippetCalledMethodXml()
                                throws java.lang.Exception
Test XML Output