net.firstpartners.nounit.reader.bytecode.test
Class TestByteCodeMethodSnippetFactory

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

public class TestByteCodeMethodSnippetFactory
extends junit.framework.TestCase

Test the Method Snippet Factory


Constructor Summary
TestByteCodeMethodSnippetFactory(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 testConvertMethodsAsSnippets()
           
 void testParameterStringConversion()
          Test the breaking of the parameter String (tag info) into Hashtable
 
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

TestByteCodeMethodSnippetFactory

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

testParameterStringConversion

public void testParameterStringConversion()
                                   throws java.lang.Exception
Test the breaking of the parameter String (tag info) into Hashtable

testConvertMethodsAsSnippets

public void testConvertMethodsAsSnippets()
                                  throws java.lang.Exception