summaryrefslogtreecommitdiff
path: root/test/scanners/ruby
Commit message (Collapse)AuthorAgeFilesLines
* Improved Ruby scanner to use +/- signs only when appropriate (tests adjusted.)murphy2008-01-216-41/+41
| | | | | Ignore test/scanners/*/*.expected.html
* Added ruby.rails test to repository.murphy2008-01-212-0/+148518
|
* Lib:murphy2008-01-078-16/+128
| | | | | | | | | | | | | | | | | | | | | | | | | | | - Encoder: removed a warning - Encoders::HTML: don't shadow outer variable - Plugin: move require_plugin into class namespace - Ruby Scanner: - "alias" keyword recognition - better regexp/division distinction - recognize ~, !, !=, and !~ as method names (partly Ruby 1.9 only) - reordered states for speed Tests: - updated coderay-suite to use gem instead of require_gem - general improvements (more colors!, new parameter: new, new syntax lang.test for only and new) - fixed ruby suite - adjusted a lot of Ruby tests (alias uses methods now) - new tests: ruby/operators, ruby/regexp Samples: - fixed/updated ('bout time) Rake tasks: - updated to use new rubygems API
* New Scanner: Scheme (thanks closure!)murphy2007-01-011-2/+1
| | | | | | | | | | | | | | | Test and example added. Token changed: operator_fat instead of operator_name (for use with LISP-like parentheses). Added file_extension for Scanners. Improved CodeRay::Suite: - uses scanners file extension now - example parameter is now named "only" - only param overwrite MAX_CODE_SIZE_TO_HIGHLIGHT
* Added tests for debug scanner and another ruby test case.murphy2007-01-012-0/+54
| | | | | Added drafts for a comparison of CodeRa an Pygments features.
* Ruby scanner: #{...} delimiters are now :inline_delimiter to solve CSS problem.murphy2006-10-1811-301/+301
| | | | | | New token: :inline_delimiter Scanner tests suite revamped: colorization, split up into methods.
* strange.in.rb test output fixed.murphy2006-10-181-5/+5
|
* Fixed besetzung.in.rb test.murphy2006-10-181-0/+0
|
* Fixed warning in bench.rb.murphy2006-10-185-40/+54
| | | | | | | | | | Ruby Scanner: improved handling of ambiguos values. - operator methods are now :ident instead of :operator - fancy_allowed and regexp_allowed are now value_expected - value_expected works in operator method calls - tests enhanced and adjusted Scanner tests: new diffed option, diff doesn't imply noassert anymore
* Fixed functional test.murphy2006-10-181-190/+190
| | | | | | | Fixed Ruby scanner (/= was scanned as regexp!) Made bench.rb run from any folder. Made scanner test diff function work via EDITOR instead of gvimdiff.
* Renamed tests: .actual.* is (ignored) output, .expected.* is input now.murphy2006-10-1720-0/+0
| | | | | Added test:clean task.
* Moved scanner tests into test/scanners.murphy2006-10-1541-0/+26155