예제 #1
0
        public void TestAppFlowTracking()
        {
            var tracker = new MyAppFlowTracker1().WithBasicTrackingActive();

            Log.MethodEntered(); // This will internally notify the AppFlow instance
            Assert.True(tracker.wasCalledByTestAppFlowTrackingTest);
        }
예제 #2
0
        public void TestAppFlowTracking()
        {
            AppFlow.AddAppFlowTracker(new MyAppFlowTracker1());
            Log.MethodEntered(); // This will internally notify the AppFlow instance
            MyAppFlowTracker1 t = AppFlow.GetAllOfType <MyAppFlowTracker1>().First();

            Assert.True(t.wasCalledByTestAppFlowTrackingTest);
        }