Sha256: 5b4517a57de0161a0a5ad79c6430b396b133b34075cb639f400c7fede657ce5e

Contents?: true

Size: 636 Bytes

Versions: 222

Compression:

Stored size: 636 Bytes

Contents

#encoding: utf-8
unless defined?(JRUBY_VERSION) || (defined?(RUBY_ENGINE) && RUBY_ENGINE == "ironruby")
require 'spec_helper'
require 'gherkin_lexer_en'

module Gherkin
  module Lexer
    describe "C Lexer" do
      before do
        @listener = Gherkin::SexpRecorder.new
        @lexer = Gherkin::CLexer::En.new(@listener)
      end

      it_should_behave_like "a Gherkin lexer"
      it_should_behave_like "a Gherkin lexer lexing tags"
      it_should_behave_like "a Gherkin lexer lexing doc_strings"
      it_should_behave_like "a Gherkin lexer lexing rows"
      it_should_behave_like "parsing windows files"
    end
  end
end
end

Version data entries

222 entries across 221 versions & 5 rubygems

Version Path
gherkin-2.6.6-x86-mingw32 spec/gherkin/c_lexer_spec.rb
gherkin-2.6.6-java spec/gherkin/c_lexer_spec.rb
gherkin-2.6.5 spec/gherkin/c_lexer_spec.rb
gherkin-2.6.5-x86-mswin32 spec/gherkin/c_lexer_spec.rb
gherkin-2.6.5-x86-mingw32 spec/gherkin/c_lexer_spec.rb
gherkin-2.6.5-universal-dotnet spec/gherkin/c_lexer_spec.rb
gherkin-2.6.5-java spec/gherkin/c_lexer_spec.rb
gherkin-2.6.4 spec/gherkin/c_lexer_spec.rb
gherkin-2.6.4-x86-mswin32 spec/gherkin/c_lexer_spec.rb
gherkin-2.6.4-x86-mingw32 spec/gherkin/c_lexer_spec.rb
gherkin-2.6.4-universal-dotnet spec/gherkin/c_lexer_spec.rb
gherkin-2.6.4-java spec/gherkin/c_lexer_spec.rb
gherkin-2.6.3 spec/gherkin/c_lexer_spec.rb
gherkin-2.6.3-x86-mswin32 spec/gherkin/c_lexer_spec.rb
gherkin-2.6.3-x86-mingw32 spec/gherkin/c_lexer_spec.rb
gherkin-2.6.3-universal-dotnet spec/gherkin/c_lexer_spec.rb
gherkin-2.6.3-java spec/gherkin/c_lexer_spec.rb
gherkin-2.6.2 spec/gherkin/c_lexer_spec.rb
gherkin-2.6.2-x86-mswin32 spec/gherkin/c_lexer_spec.rb
gherkin-2.6.2-x86-mingw32 spec/gherkin/c_lexer_spec.rb