annotate .svn/pristine/40/40d857531cd6b4668cb1e019211d87ead6d54850.svn-base @ 1519:afce8026aaeb redmine-2.4-integration

Merge from branch "live"
author Chris Cannam
date Tue, 09 Sep 2014 09:34:53 +0100
parents cbb26bc654de
children
rev   line source
Chris@909 1 require 'test/unit'
Chris@909 2
Chris@909 3 $VERBOSE = $CODERAY_DEBUG = true
Chris@909 4 $:.unshift File.expand_path('../../../lib', __FILE__)
Chris@909 5 require 'coderay'
Chris@909 6
Chris@909 7 mydir = File.dirname(__FILE__)
Chris@909 8 suite = Dir[File.join(mydir, '*.rb')].
Chris@909 9 map { |tc| File.basename(tc).sub(/\.rb$/, '') } - %w'suite for_redcloth'
Chris@909 10
Chris@909 11 puts "Running basic CodeRay #{CodeRay::VERSION} tests: #{suite.join(', ')}"
Chris@909 12
Chris@909 13 for test_case in suite
Chris@909 14 load File.join(mydir, test_case + '.rb')
Chris@909 15 end