Lucene.Net.Util.LuceneTestCase.TestThread C# (CSharp) Méthode

TestThread() public static méthode

Returns true if and only if the calling thread is the primary thread executing the test case.
public static TestThread ( ) : bool
Résultat bool
        public static bool TestThread()
        {
            /*Assert.IsNotNull(ThreadAndTestNameRule.TestCaseThread, "Test case thread not set?");
            return Thread.CurrentThread == ThreadAndTestNameRule.TestCaseThread;*/
            return true;
        }