public void ShouldParseSpecialCharacters()
        {
            var dialectProvider = new GherkinDialectProvider();
            var dialect         = dialectProvider.GetDialect("hu", new Ast.Location(1, 2));

            dialect.FeatureKeywords.Should().Contain("Jellemző");
        }
示例#2
0
 public void ShouldThrowNoSuchLanguageExceptionForInvalidLanguageWithoutLocation()
 {
     var x = new GherkinDialectProvider();
     x.GetDialect("nosuchlang", null);
 }
        public void ShouldThrowNoSuchLanguageExceptionForInvalidLanguageWithoutLocation()
        {
            var x = new GherkinDialectProvider();

            Assert.Throws <NoSuchLanguageException>(() => x.GetDialect("nosuchlang", null));
        }
示例#4
0
        public void ShouldThrowNoSuchLanguageExceptionForInvalidLanguage()
        {
            var x = new GherkinDialectProvider();

            x.GetDialect("nosuchlang", new Location(1, 2));
        }