From c4dabf3a92a38e396f8940eb12f7413405222725 Mon Sep 17 00:00:00 2001 From: Christof Thalhofer <christof@deganius.de> Date: Thu, 11 Jun 2020 11:49:26 +0200 Subject: [PATCH] gb.markdown update tests for newer gb.test [GB.MARKDOWN] *OPT: update tests for newer gb.test --- comp/src/gb.markdown/.src/TMarkdown.test | 24 ++++++++++++------------ comp/src/gb.markdown/.test | 2 +- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/comp/src/gb.markdown/.src/TMarkdown.test b/comp/src/gb.markdown/.src/TMarkdown.test index 3838cf405..5d1c5950c 100644 --- a/comp/src/gb.markdown/.src/TMarkdown.test +++ b/comp/src/gb.markdown/.src/TMarkdown.test @@ -88,7 +88,7 @@ Public Sub TestHeadlineThree() md = "#dingdong" Try got = Markdown.ToHTML(md) - Assert.Todo() + Test.Todo() Assert.Error("Markdown headline error") 'Assert.Note("I got:" & gb.lf & got) @@ -112,7 +112,7 @@ Public Sub TestHlAndLineAndParagraph() md = "# headline" & gb.lf & "---" & gb.lf & "blub" expect = "<h1>headline</h1>" & gb.lf & "<hr>" & gb.lf & "<p>blub</p>" got = Markdown.ToHTML(md) - Assert.Todo() + Test.Todo() Assert.Equals(got, expect, "Markdown headline and paragraph") ' Assert.Note("I got:" & gb.lf & got) @@ -130,7 +130,7 @@ Public Sub TestHtmlTagIntegrity() "<img src='test' blah='test' />" got = Markdown.ToHTML(md) - Assert.Todo() + Test.Todo() Assert.Equals(got, expect, "Markdown TestHtmlTagIntegrity") 'Assert.Note("I got:" & gb.lf & got) @@ -153,7 +153,7 @@ Public Sub TestHtmlTagIntegrityTwo() "</small></div>" got = Markdown.ToHTML(md) - Assert.Todo() + Test.Todo() Assert.Equals(got, expect, "Markdown headline and paragraph") 'Assert.Note("I got:" & gb.lf & got) @@ -180,7 +180,7 @@ Public Sub TestUL() "</ul>" got = Markdown.ToHTML(md) - Assert.Todo() + Test.Todo() Assert.Equals(got, expect, "Markdown UL") ' Assert.Note("I got:" & gb.lf & got) @@ -207,7 +207,7 @@ Public Sub TestOL() "</ol>" got = Markdown.ToHTML(md) - Assert.Todo() + Test.Todo() Assert.Equals(got, expect, "Markdown OL") End @@ -233,7 +233,7 @@ Public Sub TestOLWithImage() "</ol>" got = Markdown.ToHTML(md) - Assert.Todo() + Test.Todo() Assert.Equals(got, expect, "Markdown OL with image") ' Assert.Note("I expected:" & gb.lf & expect) 'Assert.Note("I got:" & gb.lf & got) @@ -249,7 +249,7 @@ Public Sub TestHtmlTags() expect = "<img src='test' title='test' />" got = Markdown.ToHTML(md) - Assert.Todo() + Test.Todo() Assert.Equals(got, expect, "Markdown image") ' Assert.Note("I expected:" & gb.lf & expect) @@ -300,7 +300,7 @@ Public Sub TestTable() "</table>" got = Markdown.ToHTML(md) - Assert.Todo() + Test.Todo() Assert.Equals(got, expect, "Markdown preserve table") 'Assert.Note(got) @@ -349,7 +349,7 @@ Public Sub TestParInTable() "</table>" got = Markdown.ToHTML(md) - Assert.Todo() + Test.Todo() Assert.Equals(got, expect, "Markdown preserve p in table") 'Assert.Note(got) @@ -376,7 +376,7 @@ Public Sub TestPreserverUL() "</ul>" got = Markdown.ToHTML(md) - Assert.Todo() + Test.Todo() Assert.Equals(got, expect, "Markdown preserve ul") 'Assert.Note(got) @@ -403,7 +403,7 @@ Public Sub TestPreserverOL() "</ol>" got = Markdown.ToHTML(md) - Assert.Todo() + Test.Todo() Assert.Equals(got, expect, "Markdown preserve ol") 'Assert.Note(got) diff --git a/comp/src/gb.markdown/.test b/comp/src/gb.markdown/.test index f1a053492..82b1a2be3 100644 --- a/comp/src/gb.markdown/.test +++ b/comp/src/gb.markdown/.test @@ -1,6 +1,6 @@ [TestSuites] Count=1 -TestWith=1 +TestWith=0 Default="TMarkdown.TestHeadline;TestHeadlineThree;TestHlAndLineAndParagraph;TestHlAndParagraph;TestHtmlTagIntegrity;TestHtmlTagIntegrityTwo;TestHtmlTags;TestOL;TestOLWithImage;TestParInTable;TestParagraph;TestParagraphThree;TestParagraphTwo;TestPreserverOL;TestPreserverUL;TestStrong;TestTable;TestUL" [TestSuites/1]