コード例 #1
0
ファイル: TestFixtures.cs プロジェクト: averrunci/Carna
        void FixtureMethod()
        {
            if (RaiseException)
            {
                throw new Exception();
            }

            CalledFixtureMethods.Add(GetType());
        }
コード例 #2
0
ファイル: TestFixtures.cs プロジェクト: averrunci/Carna
        void FixtureMethod()
        {
            if (RaiseException)
            {
                throw new Exception();
            }

            CalledFixtureMethods.Add(GetType());

            Stepper?.Take(new ExpectStep("Description", GetType(), string.Empty, string.Empty, 0));
        }