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.11.0 spec/gherkin/c_lexer_spec.rb
gherkin-2.11.0-x86-mswin32 spec/gherkin/c_lexer_spec.rb
gherkin-2.11.0-x86-mingw32 spec/gherkin/c_lexer_spec.rb
gherkin-2.11.0-java spec/gherkin/c_lexer_spec.rb
resque-pool-0.3.0 vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/spec/gherkin/c_lexer_spec.rb
resque-pool-0.3.0 vendor/bundle/ruby/1.8/gems/gherkin-2.9.0/spec/gherkin/c_lexer_spec.rb
ftl-0.2.0 vendor/bundle/gems/gherkin-2.10.0/spec/gherkin/c_lexer_spec.rb
gherkin-2.10.0 spec/gherkin/c_lexer_spec.rb
gherkin-2.10.0-x86-mswin32 spec/gherkin/c_lexer_spec.rb
gherkin-2.10.0-x86-mingw32 spec/gherkin/c_lexer_spec.rb
gherkin-2.10.0-java spec/gherkin/c_lexer_spec.rb
frameworks-capybara-0.2.0.rc6 vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/spec/gherkin/c_lexer_spec.rb
frameworks-capybara-0.2.0.rc5 vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/spec/gherkin/c_lexer_spec.rb
frameworks-capybara-0.2.0.rc4 vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/spec/gherkin/c_lexer_spec.rb
frameworks-capybara-0.2.0.rc3 vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/spec/gherkin/c_lexer_spec.rb
frameworks-capybara-0.2.0.rc2 vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/spec/gherkin/c_lexer_spec.rb
resque-pool-0.3.0.beta.2 vendor/bundle/ruby/1.8/gems/gherkin-2.9.0/spec/gherkin/c_lexer_spec.rb
gherkin-2.9.3 spec/gherkin/c_lexer_spec.rb
gherkin-2.9.3-x86-mswin32 spec/gherkin/c_lexer_spec.rb
gherkin-2.9.3-x86-mingw32 spec/gherkin/c_lexer_spec.rb