Skip to content
Snippets Groups Projects
Commit 7eed31b9 authored by Lukas Stadler's avatar Lukas Stadler
Browse files

make sure all node test classes are recognized as test files

parent 983f179e
No related branches found
No related tags found
No related merge requests found
......@@ -40,6 +40,10 @@ import com.oracle.truffle.r.runtime.data.model.*;
@RunWith(Theories.class)
public class ExtractVectorNodeTest extends TestBase {
@Test
public void dummy() {
// to make sure this file is recognized as a test
}
@DataPoints public static RType[] vectorTypes = RType.getVectorTypes();
......
......@@ -40,6 +40,10 @@ import com.oracle.truffle.r.runtime.data.model.*;
@RunWith(Theories.class)
public class ReplaceVectorNodeTest extends TestBase {
@Test
public void dummy() {
// to make sure this file is recognized as a test
}
@DataPoints public static RType[] vectorTypes = RType.getVectorTypes();
......
......@@ -39,6 +39,10 @@ import com.oracle.truffle.r.runtime.*;
@RunWith(Theories.class)
public class StringCompareNodeTest extends TestBase {
@Test
public void dummy() {
// to make sure this file is recognized as a test
}
// Please note that "FB" and "Ea" produce a hash collision. Thats why its tested here.
@DataPoints public static String[] TEST = {RRuntime.STRING_NA, "a", "abc", "bc".intern(), "bc".intern(), "FB", "Ea"};
......
......@@ -26,6 +26,7 @@ import static com.oracle.truffle.r.nodes.test.TestUtilities.*;
import static org.hamcrest.CoreMatchers.*;
import static org.hamcrest.MatcherAssert.*;
import org.junit.Test;
import org.junit.experimental.theories.*;
import org.junit.runner.*;
......@@ -37,6 +38,10 @@ import com.oracle.truffle.r.runtime.data.model.*;
@RunWith(Theories.class)
public class StringSearchNodeTest extends TestBase {
@Test
public void dummy() {
// to make sure this file is recognized as a test
}
// Please note that "FB" and "Ea" produce a hash collision. Thats why its tested here.
@DataPoints public static String[] TEST = {RRuntime.STRING_NA, "a", "abc", "bc".intern(), "bc".intern(), "FB", "Ea"};
......
......@@ -83,6 +83,10 @@ import com.oracle.truffle.r.runtime.ops.BinaryArithmeticFactory;
*/
@RunWith(Theories.class)
public class BinaryArithmeticNodeTest extends BinaryVectorTest {
@Test
public void dummy() {
// to make sure this file is recognized as a test
}
@DataPoints public static final BinaryArithmeticFactory[] BINARY = BinaryArithmetic.ALL;
......
......@@ -43,6 +43,7 @@ import static org.junit.Assume.assumeThat;
import org.junit.After;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import org.junit.experimental.theories.DataPoint;
import org.junit.experimental.theories.DataPoints;
import org.junit.experimental.theories.Theories;
......@@ -69,6 +70,10 @@ import com.oracle.truffle.r.runtime.ops.BooleanOperationFactory;
*/
@RunWith(Theories.class)
public class BinaryBooleanNodeTest extends BinaryVectorTest {
@Test
public void dummy() {
// to make sure this file is recognized as a test
}
@DataPoint public static final RAbstractVector EMPTY_STRING = createEmptyStringVector();
@DataPoint public static final RAbstractVector EMPTY_RAW = createEmptyRawVector();
......
......@@ -70,6 +70,10 @@ import com.oracle.truffle.r.runtime.ops.UnaryArithmeticFactory;
*/
@RunWith(Theories.class)
public class UnaryArithmeticNodeTest extends BinaryVectorTest {
@Test
public void dummy() {
// to make sure this file is recognized as a test
}
public static final UnaryArithmeticFactory[] ALL = new UnaryArithmeticFactory[]{NEGATE, Round.ROUND, Floor.FLOOR, Ceiling.CEILING, PLUS};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment