diff graal/com.oracle.truffle.ruby.test/src/com/oracle/truffle/ruby/test/RubyTests.java @ 13645:497fada09efb

Ruby: remove versioning.
author Chris Seaton <chris.seaton@oracle.com>
date Wed, 15 Jan 2014 19:27:27 +0000
parents 0fbee3eb71f0
children 3f27e57439ed
line wrap: on
line diff
--- a/graal/com.oracle.truffle.ruby.test/src/com/oracle/truffle/ruby/test/RubyTests.java	Wed Jan 15 15:11:47 2014 +0100
+++ b/graal/com.oracle.truffle.ruby.test/src/com/oracle/truffle/ruby/test/RubyTests.java	Wed Jan 15 19:27:27 2014 +0000
@@ -51,24 +51,6 @@
     }
 
     /**
-     * Executes some Ruby code of a particular version and asserts that it prints an expected
-     * string. Remember to include the newline characters.
-     */
-    public static void assertPrints(RubyVersion rubyVersion, String expectedOutput, String code, String... args) {
-        ConfigurationBuilder configurationBuilder = new ConfigurationBuilder();
-        configurationBuilder.setRubyVersion(rubyVersion);
-        assertPrints(new Configuration(configurationBuilder), expectedOutput, "(test)", code, "", args);
-    }
-
-    /**
-     * Executes some Ruby code in a file and asserts that it prints an expected string. Remember to
-     * include the newline characters.
-     */
-    public static void assertFilePrints(String expectedOutput, String fileName, String... args) {
-        assertPrints(null, expectedOutput, fileName, null, "", args);
-    }
-
-    /**
      * Executes some Ruby code and asserts that it prints an expected string. Remember to include
      * the newline characters. Also takes a string to simulate input.
      */