Skip to content

Commit

Permalink
Rename unsafe Java test suites to match Scala test naming convention.
Browse files Browse the repository at this point in the history
This is necessary in order for SBT to recognize and run these suites.
  • Loading branch information
JoshRosen committed Apr 28, 2015
1 parent 78a5b84 commit a19e066
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

import org.apache.spark.unsafe.memory.MemoryBlock;

public class TestLongArray {
public class LongArraySuite {

@Test
public void basicTest() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

import org.apache.spark.unsafe.memory.MemoryBlock;

public class TestBitSet {
public class BitSetSuite {

private static BitSet createBitSet(int capacity) {
assert capacity % 64 == 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
/**
* Test file based on Guava's Murmur3Hash32Test.
*/
public class TestMurmur3_x86_32 {
public class Murmur3_x86_32Suite {

private static final Murmur3_x86_32 hasher = new Murmur3_x86_32(0);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
import org.apache.spark.unsafe.memory.MemoryManager;
import static org.apache.spark.unsafe.PlatformDependent.BYTE_ARRAY_OFFSET;

public abstract class AbstractTestBytesToBytesMap {
public abstract class AbstractBytesToBytesMapSuite {

private final Random rand = new Random(42);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

import org.apache.spark.unsafe.memory.MemoryAllocator;

public class TestBytesToBytesMapOffHeap extends AbstractTestBytesToBytesMap {
public class BytesToBytesMapOffHeapSuite extends AbstractBytesToBytesMapSuite {

@Override
protected MemoryAllocator getMemoryAllocator() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

import org.apache.spark.unsafe.memory.MemoryAllocator;

public class TestBytesToBytesMapOnHeap extends AbstractTestBytesToBytesMap {
public class BytesToBytesMapOnHeapSuite extends AbstractBytesToBytesMapSuite {

@Override
protected MemoryAllocator getMemoryAllocator() {
Expand Down

0 comments on commit a19e066

Please sign in to comment.