1 package net.firstpartners.nounit.report.process.test; 2 3 26 27 import java.io.File ; 28 29 import junit.framework.Test; 30 import junit.framework.TestCase; 31 import junit.framework.TestSuite; 32 import net.firstpartners.nounit.report.CallsReport; 33 import net.firstpartners.nounit.report.process.CallChainer; 34 import net.firstpartners.nounit.test.TestData; 35 36 39 public class TestCallChainer extends TestCase{ 40 41 45 public TestCallChainer(String name) { 46 super(name); 47 } 48 49 52 public void setUp() { 53 54 } 55 56 60 public static void main(String [] args) { 61 junit.textui.TestRunner.run(suite()); 62 } 63 64 68 public static Test suite() { 69 return new TestSuite(TestCallChainer.class); 70 } 71 72 75 public void testConversion() throws Exception { 76 String classMustExtend = CallsReport.classMustExtend; 77 File in = new File ( TestData.XML_SIMPLE_OUTPUT ); 78 File out = new File ( TestData.XML_CALLS_OUTPUT ); 79 CallChainer myProcessor = new CallChainer(); 80 myProcessor.addCallChainInformation( in, out, classMustExtend); 81 } 82 } 83 | Popular Tags |