public void Call2() { List <StackFrame> frames = StackFrameFinder.Find(typeof(StackFrameFinderTest)); foreach (StackFrame frame in frames) { Console.WriteLine("called : " + frame); Assert.AreEqual("Findは指定されたクラスのStackFrameを取得する", frame.GetMethod().Name); } }
private void Initialize() { Initialize(StackFrameFinder.FindCaller(typeof(FixtureBook))); }