예제 #1
0
 public void TestInit()
 {
     tracer          = new Tracer();
     demoFirstClass  = new DemoFirstClass(tracer);
     demoSecondClass = new DemoSecondClass(tracer);
     demoThirdClass  = new DemoThirdClass(tracer);
 }
 public void TestInit()
 {
     tracer          = new Tracer();
     demoSecondClass = new DemoSecondClass(tracer);
     demoSecondClass.SecondMethod();
     time       = tracer.GetTraceResult().Threads[0].DependenceMethods[0].Time;
     className  = tracer.GetTraceResult().Threads[0].DependenceMethods[0].ClassName;
     methodName = tracer.GetTraceResult().Threads[0].DependenceMethods[0].MethodName;
 }