a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
31 lines
811 B
C#
31 lines
811 B
C#
// Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
|
|
|
|
using System.Collections.Generic;
|
|
using System.Web.Razor.Parser;
|
|
|
|
namespace System.Web.Razor.Test.Framework
|
|
{
|
|
public abstract class VBHtmlCodeParserTestBase : CodeParserTestBase
|
|
{
|
|
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();
|
|
}
|
|
}
|
|
}
|