From 622cd5eb3a680688f184ac4716c13c63d07345ee Mon Sep 17 00:00:00 2001 From: Tomas Stupka <tomas.stupka@oracle.com> Date: Fri, 19 May 2017 18:30:18 +0200 Subject: [PATCH] generated test output --- .../truffle/r/test/ExpectedTestOutput.test | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) 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 b6e76f7af8..336ef0bd53 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" -- GitLab