Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/aspnetwebstack.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'test/System.Web.Razor.Test/Framework/VBHtmlMarkupParserTestBase.cs')
-rw-r--r--test/System.Web.Razor.Test/Framework/VBHtmlMarkupParserTestBase.cs28
1 files changed, 28 insertions, 0 deletions
diff --git a/test/System.Web.Razor.Test/Framework/VBHtmlMarkupParserTestBase.cs b/test/System.Web.Razor.Test/Framework/VBHtmlMarkupParserTestBase.cs
new file mode 100644
index 00000000..a336f048
--- /dev/null
+++ b/test/System.Web.Razor.Test/Framework/VBHtmlMarkupParserTestBase.cs
@@ -0,0 +1,28 @@
+using System.Collections.Generic;
+using System.Web.Razor.Parser;
+
+namespace System.Web.Razor.Test.Framework
+{
+ public abstract class VBHtmlMarkupParserTestBase : MarkupParserTestBase
+ {
+ protected override ISet<string> KeywordSet
+ {
+ get { return VBCodeParser.DefaultKeywords; }
+ }
+
+ protected override SpanFactory CreateSpanFactory()
+ {
+ return SpanFactory.CreateVbHtml();
+ }
+
+ public override ParserBase CreateMarkupParser()
+ {
+ return new HtmlMarkupParser();
+ }
+
+ public override ParserBase CreateCodeParser()
+ {
+ return new VBCodeParser();
+ }
+ }
+}