summaryrefslogtreecommitdiffstats
path: root/vendor/gems/coderay-1.0.0/test/functional/suite.rb
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/gems/coderay-1.0.0/test/functional/suite.rb')
-rw-r--r--vendor/gems/coderay-1.0.0/test/functional/suite.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/vendor/gems/coderay-1.0.0/test/functional/suite.rb b/vendor/gems/coderay-1.0.0/test/functional/suite.rb
new file mode 100644
index 000000000..ec23eec08
--- /dev/null
+++ b/vendor/gems/coderay-1.0.0/test/functional/suite.rb
@@ -0,0 +1,15 @@
+require 'test/unit'
+
+$VERBOSE = $CODERAY_DEBUG = true
+$:.unshift File.expand_path('../../../lib', __FILE__)
+require 'coderay'
+
+mydir = File.dirname(__FILE__)
+suite = Dir[File.join(mydir, '*.rb')].
+ map { |tc| File.basename(tc).sub(/\.rb$/, '') } - %w'suite for_redcloth'
+
+puts "Running basic CodeRay #{CodeRay::VERSION} tests: #{suite.join(', ')}"
+
+for test_case in suite
+ load File.join(mydir, test_case + '.rb')
+end