Skip to content
Snippets Groups Projects
Commit f6507a74 authored by Tomas Stupka's avatar Tomas Stupka
Browse files

cleanup generated testfile

parent e0f9b45f
Branches
No related tags found
No related merge requests found
......@@ -32,12 +32,22 @@ import com.oracle.truffle.api.interop.java.JavaInterop;
import com.oracle.truffle.api.vm.PolyglotEngine;
import com.oracle.truffle.r.runtime.conn.SeekableMemoryByteChannel;
import com.oracle.truffle.r.test.TestBase;
import java.io.File;
import org.junit.After;
public class TestInterop extends TestBase {
private static final SeekableMemoryByteChannel CHANNEL = new SeekableMemoryByteChannel();
private static final String CHANNEL_NAME = "_fastr_channel0";
@After
public void cleanup() {
File f = new File("testScript.R");
if (f.exists()) {
f.delete();
}
}
@Test
public void testInteropEval() {
assertEvalFastR(".fastr.interop.eval('application/x-r', '14 + 2')", "16");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment