diff --git a/com.oracle.truffle.r.test/src/com/oracle/truffle/r/test/ExpectedTestOutput.test b/com.oracle.truffle.r.test/src/com/oracle/truffle/r/test/ExpectedTestOutput.test index b6e76f7af86b6eecee2314cb956428b2ab276cb3..336ef0bd538e375d84d88f00451dd3021a8526f2 100644 --- a/com.oracle.truffle.r.test/src/com/oracle/truffle/r/test/ExpectedTestOutput.test +++ b/com.oracle.truffle.r.test/src/com/oracle/truffle/r/test/ExpectedTestOutput.test @@ -131118,6 +131118,26 @@ NULL NULL +##com.oracle.truffle.r.test.library.fastr.TestJavaInterop.testIdentical# +#if (length(grep("FastR", R.Version()$version.string)) != 1) { FALSE } else { b1 <- .fastr.interop.toByte(1); b2 <- .fastr.interop.toByte(1); identical(b1, b2) } +[1] FALSE + +##com.oracle.truffle.r.test.library.fastr.TestJavaInterop.testIdentical# +#if (length(grep("FastR", R.Version()$version.string)) != 1) { FALSE } else { b1 <- .fastr.interop.toByte(1); s1 <- .fastr.interop.toShort(1); identical(b1, s1) } +[1] FALSE + +##com.oracle.truffle.r.test.library.fastr.TestJavaInterop.testIdentical# +#if (length(grep("FastR", R.Version()$version.string)) != 1) { FALSE } else { ll <- .fastr.interop.new(.fastr.java.class('java.util.LinkedList')); al <- .fastr.interop.new(.fastr.java.class('java.util.ArrayList')); identical(al, ll) } +[1] FALSE + +##com.oracle.truffle.r.test.library.fastr.TestJavaInterop.testIdentical# +#if (length(grep("FastR", R.Version()$version.string)) != 1) { TRUE } else { al <- .fastr.interop.new(.fastr.java.class('java.util.ArrayList')); identical(t, t) } +[1] TRUE + +##com.oracle.truffle.r.test.library.fastr.TestJavaInterop.testIdentical# +#if (length(grep("FastR", R.Version()$version.string)) != 1) { TRUE } else { b1 <- .fastr.interop.toByte(1); identical(b1, b1) } +[1] TRUE + ##com.oracle.truffle.r.test.library.fastr.TestJavaInterop.testMethods# #if (length(grep("FastR", R.Version()$version.string)) != 1) { "a string" } else { tc <- .fastr.java.class('com.oracle.truffle.r.test.library.fastr.TestJavaInterop$TestClass'); t <- .fastr.interop.new(tc); t$methodStaticStringObject() } [1] "a string"