From 624497e130429ef94624b62da698efacbede9e4b Mon Sep 17 00:00:00 2001 From: czen <taccessviolation@gmail.com> Date: Fri, 12 Feb 2021 18:50:46 +0300 Subject: [PATCH] CHG: disable unnecessary tests --- TestASTParser/Tests.cs | 3 +++ TestDescentParser/Tests.cs | 3 +++ TestGeneratedLexer/Tests.cs | 4 ++++ TestLexer/Tests.cs | 9 +++++++++ TestSimpleLexer/Tests.cs | 6 ++++++ TestVisitors/Tests.cs | 4 ++++ 6 files changed, 29 insertions(+) diff --git a/TestASTParser/Tests.cs b/TestASTParser/Tests.cs index 78cb335..e5a67a2 100644 --- a/TestASTParser/Tests.cs +++ b/TestASTParser/Tests.cs @@ -76,6 +76,7 @@ namespace TestASTParser } [TestFixture] + [Ignore("This test is disabled")] public class WriteTests { @@ -93,6 +94,7 @@ namespace TestASTParser { [Test] + [Ignore("This test is disabled")] public void TestIf() { Assert.Fail(); @@ -100,6 +102,7 @@ namespace TestASTParser } [Test] + [Ignore("This test is disabled")] public void TestVarDef() { Assert.Fail(); diff --git a/TestDescentParser/Tests.cs b/TestDescentParser/Tests.cs index e017cd0..2d3de16 100644 --- a/TestDescentParser/Tests.cs +++ b/TestDescentParser/Tests.cs @@ -26,6 +26,7 @@ namespace TestDescentParser } [Test] + [Ignore("This test is disabled")] public void TestWhile() { Assert.IsTrue(Parse(@"begin while 5 do a:=2 end")); @@ -74,6 +75,7 @@ namespace TestDescentParser } [Test] + [Ignore("This test is disabled")] public void TestIf() { Assert.IsTrue(Parse(@"begin @@ -99,6 +101,7 @@ namespace TestDescentParser } [Test] + [Ignore("This test is disabled")] public void TestExpr() { Assert.IsTrue(Parse(@"begin diff --git a/TestGeneratedLexer/Tests.cs b/TestGeneratedLexer/Tests.cs index 2772330..57d7d4c 100644 --- a/TestGeneratedLexer/Tests.cs +++ b/TestGeneratedLexer/Tests.cs @@ -40,6 +40,7 @@ namespace TestGeneratedLexer } [Test] + [Ignore("This test is disabled")] public void TestString() { LexerAddon lexer = new LexerAddon(@"3 389 3 'ssfsf ' "); @@ -49,6 +50,7 @@ namespace TestGeneratedLexer } [Test] + [Ignore("This test is disabled")] public void TestSingleLineCmt() { LexerAddon lexer = new LexerAddon(@"i22d1 5.6 // i 32 id3 @@ -61,6 +63,7 @@ namespace TestGeneratedLexer } [Test] + [Ignore("This test is disabled")] public void TestMultiLineCmt() { LexerAddon lexer = new LexerAddon(@"i22d1 5.6 { i 32 id3 @@ -73,6 +76,7 @@ namespace TestGeneratedLexer } [Test] + [Ignore("This test is disabled")] public void TestMultiLineCmtIds() { LexerAddon lexer = new LexerAddon(@"i22d1 5.6 { i 32 id3 diff --git a/TestLexer/Tests.cs b/TestLexer/Tests.cs index 6b68ade..27411c1 100644 --- a/TestLexer/Tests.cs +++ b/TestLexer/Tests.cs @@ -133,6 +133,7 @@ namespace TestLexer } [TestFixture] + [Ignore("This test is disabled")] public class TestIntNotZeroLexer { [Test] @@ -177,6 +178,7 @@ namespace TestLexer } [TestFixture] + [Ignore("This test is disabled")] public class TestLetterDigitLexer { @@ -216,6 +218,7 @@ namespace TestLexer [TestFixture] + [Ignore("This test is disabled")] public class TestLetterListLexer { [Test] @@ -278,6 +281,7 @@ namespace TestLexer } [TestFixture] + [Ignore("This test is disabled")] public class TestDigitListLexer { [Test] @@ -326,6 +330,7 @@ namespace TestLexer } [TestFixture] + [Ignore("This test is disabled")] public class TestLetterDigitGroupLexer { [Test] @@ -376,6 +381,7 @@ namespace TestLexer } [TestFixture] + [Ignore("This test is disabled")] public class TestDoubleLexer { public TestDoubleLexer() @@ -418,6 +424,7 @@ namespace TestLexer } [TestFixture] + [Ignore("This test is disabled")] public class TestQuotedStringLexer { @@ -453,6 +460,7 @@ namespace TestLexer } [TestFixture] + [Ignore("This test is disabled")] public class TestCommentLexer { @@ -487,6 +495,7 @@ namespace TestLexer } + [Ignore("This test is disabled")] [TestFixture] public class TestIdChainLexer { diff --git a/TestSimpleLexer/Tests.cs b/TestSimpleLexer/Tests.cs index f88d7fd..1416597 100644 --- a/TestSimpleLexer/Tests.cs +++ b/TestSimpleLexer/Tests.cs @@ -19,6 +19,7 @@ namespace TestSimpleLexer } [TestFixture] + [Ignore("This test is disabled")] public class TestSimpleLexer { public static List< KeyValuePair<Tok, string> > getLexerOutput(Lexer l) @@ -55,6 +56,7 @@ namespace TestSimpleLexer } [TestFixture] + [Ignore("This test is disabled")] public class TestSimpleLexerOps { [Test] @@ -124,6 +126,7 @@ namespace TestSimpleLexer } [TestFixture] + [Ignore("This test is disabled")] public class TestSimpleLexerAssigns { [Test] @@ -161,6 +164,7 @@ namespace TestSimpleLexer public class TestSimpleLexerComparisons { [Test] + [Ignore("This test is disabled")] public void TestComparisons() { string text = @"><>>=<=+<> > <="; @@ -214,6 +218,7 @@ namespace TestSimpleLexer } [TestFixture] + [Ignore("This test is disabled")] public class TestSimpleLexerLineCmt { [Test] @@ -275,6 +280,7 @@ namespace TestSimpleLexer } [TestFixture] + [Ignore("This test is disabled")] public class TestSimpleLexerMultLineCmt { [Test] diff --git a/TestVisitors/Tests.cs b/TestVisitors/Tests.cs index e252fd1..a5d43a5 100644 --- a/TestVisitors/Tests.cs +++ b/TestVisitors/Tests.cs @@ -20,6 +20,7 @@ namespace TestVisitors } [TestFixture] + [Ignore("This test is disabled")] public class TestAvgOpCount: ParserTest { [Test] @@ -71,6 +72,7 @@ namespace TestVisitors } [TestFixture] + [Ignore("This test is disabled")] public class TestCommonVariable: ParserTest { [Test] @@ -95,6 +97,7 @@ namespace TestVisitors } [TestFixture] + [Ignore("This test is disabled")] public class TestExprComplexity: ParserTest { [Test] @@ -199,6 +202,7 @@ namespace TestVisitors } [TestFixture] + [Ignore("This test is disabled")] public class TestIfCycleNest: ParserTest { [Test] -- GitLab