コード例 #1
0
        public void TestMethod2()
        {
            MyfabClass myfabc = MyfabClass.GiveMeInstance();

            testContextInstance.WriteLine($"Identifier{myfabc.identifier}");
            test2 = myfabc.identifier;

            Assert.AreNotEqual(test1, test2);
        }
コード例 #2
0
        public void TestMethod1()
        {
            testContextInstance.WriteLine("Hello");

            MyfabClass myfabc = MyfabClass.GiveMeInstance();

            test1 = myfabc.identifier;

            testContextInstance.WriteLine($"Identifier{myfabc.identifier}");

            new Thread(() =>
            {
                myfabc = MyfabClass.GiveMeInstance();

                testContextInstance.WriteLine($"Identifier{myfabc.identifier}");
            });

            new Thread(() =>
            {
                myfabc = MyfabClass.GiveMeInstance();

                testContextInstance.WriteLine($"Identifier{myfabc.identifier}");
            });
        }
コード例 #3
0
        public void OtherNameSpace()
        {
            MyfabClass myfabc = MyfabClass.GiveMeInstance();

            testContextInstance.WriteLine($"Identifier{myfabc.identifier}");
        }