Sha256: 20db5951736eac74a8236cf6f5643dd11287fd859c70b6715f747e098d6a7b3e

Contents?: true

Size: 557 Bytes

Versions: 18

Compression:

Stored size: 557 Bytes

Contents

#encoding: utf-8
if defined?(JRUBY_VERSION)
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')

module Gherkin
  module JavaLexer
    describe "Java Lexer" do
      before do
        @listener = Gherkin::SexpRecorder.new
        @lexer = Gherkin::Lexer.java['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 py_strings"
      it_should_behave_like "a Gherkin lexer lexing tables"
    end
  end
end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
gherkin-1.0.2-i386-mswin32 spec/gherkin/java_lexer_spec.rb
gherkin-1.0.2-i386-mingw32 spec/gherkin/java_lexer_spec.rb
gherkin-1.0.2-java spec/gherkin/java_lexer_spec.rb
gherkin-1.0.2 spec/gherkin/java_lexer_spec.rb
gherkin-1.0.1-i386-mswin32 spec/gherkin/java_lexer_spec.rb
gherkin-1.0.1-i386-mingw32 spec/gherkin/java_lexer_spec.rb
gherkin-1.0.1-universal-java-1.5 spec/gherkin/java_lexer_spec.rb
gherkin-1.0.1 spec/gherkin/java_lexer_spec.rb
gherkin-1.0.0-i386-mingw32 spec/gherkin/java_lexer_spec.rb
gherkin-1.0.0-i386-mswin32 spec/gherkin/java_lexer_spec.rb
gherkin-1.0.0-universal-java-1.5 spec/gherkin/java_lexer_spec.rb
gherkin-1.0.0 spec/gherkin/java_lexer_spec.rb
gherkin-0.0.4-universal-java-1.5 spec/gherkin/java_lexer_spec.rb
gherkin-0.0.4-i386-mswin32 spec/gherkin/java_lexer_spec.rb
gherkin-0.0.4-i386-mingw32 spec/gherkin/java_lexer_spec.rb
gherkin-0.0.4 spec/gherkin/java_lexer_spec.rb
gherkin-0.0.3-universal-java-1.5 spec/gherkin/java_lexer_spec.rb
gherkin-0.0.3 spec/gherkin/java_lexer_spec.rb