net.firstpartners.nounit.test
Class TestData

java.lang.Object
  |
  +--net.firstpartners.nounit.test.TestData

public class TestData
extends java.lang.Object

Test Information - System Wide Tests


Field Summary
static java.lang.String SAMPLE_CLASS_PROXY
          Proxy Class Source - where sample sits
static java.lang.String SAMPLE_CLASS_SOURCE
          Current (Sample - sub) Class of this project - used in some partial tests
static java.lang.String SAMPLE_CLASS_SOURCE_FULL
          Current Full Root of this project - used to sample entire project
static java.lang.String XML_CALLS_OUTPUT
          Sample (with-calls) XML as produced by 2nd pass , after java processing
static java.lang.String XML_SIMPLE_OUTPUT
          Sample (simple) XML as produced by 1st pass , before any java processing
 
Constructor Summary
TestData()
           
 
Method Summary
static org.gjt.jclasslib.structures.ClassFile getSampleClassFile()
          Get a handle to the sample class file , but as a ClassFile Structure
static java.io.File getSampleFile()
          Get a handle to the sample class file , as a File
static org.jdom.Document getSimpleXmlDocument()
          Get a Simple-XML Document , as pointed to by constants above.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SAMPLE_CLASS_PROXY

public static final java.lang.String SAMPLE_CLASS_PROXY
Proxy Class Source - where sample sits

SAMPLE_CLASS_SOURCE_FULL

public static final java.lang.String SAMPLE_CLASS_SOURCE_FULL
Current Full Root of this project - used to sample entire project

SAMPLE_CLASS_SOURCE

public static final java.lang.String SAMPLE_CLASS_SOURCE
Current (Sample - sub) Class of this project - used in some partial tests

XML_SIMPLE_OUTPUT

public static final java.lang.String XML_SIMPLE_OUTPUT
Sample (simple) XML as produced by 1st pass , before any java processing

XML_CALLS_OUTPUT

public static final java.lang.String XML_CALLS_OUTPUT
Sample (with-calls) XML as produced by 2nd pass , after java processing
Constructor Detail

TestData

public TestData()
Method Detail

getSampleFile

public static java.io.File getSampleFile()
                                  throws java.io.IOException
Get a handle to the sample class file , as a File
Returns:
sampleFile

getSampleClassFile

public static org.gjt.jclasslib.structures.ClassFile getSampleClassFile()
                                                                 throws org.gjt.jclasslib.structures.InvalidByteCodeException,
                                                                        java.io.IOException
Get a handle to the sample class file , but as a ClassFile Structure
Returns:
ClassFileReader

getSimpleXmlDocument

public static org.jdom.Document getSimpleXmlDocument()
                                              throws org.jdom.JDOMException
Get a Simple-XML Document , as pointed to by constants above. Convience Method for testing
Returns:
sourceDocument - XML Jdom Document