org.junit.Assert.assertEquals-sio.crate.test.integration.CrateUnitTest



Project crate/crate in file ...e.src.test.java.io.crate.core.StringUtilsTest.java (2015-03-08)
@@ -22,13 +22,12 @@
 package io.crate.core;
 
 import com.google.common.collect.ImmutableSet;
+import io.crate.test.integration.CrateUnitTest;
 import org.junit.Test;
 
 import java.util.Arrays;
 
-import static org.junit.Assert.assertEquals;
-
-public class StringUtilsTest {
+public class StringUtilsTest extends CrateUnitTest {
 
     @Test
     public void testDottedToSQLPath() {
Project crate/crate in file ...lob.src.test.java.io.crate.SerializationTests.java (2015-03-08)
@@ -22,6 +22,7 @@
 package io.crate;
 
 import io.crate.blob.PutChunkReplicaRequest;
+import io.crate.test.integration.CrateUnitTest;
 import org.elasticsearch.common.bytes.BytesArray;
 import org.elasticsearch.common.io.stream.BytesStreamInput;
 import org.elasticsearch.common.io.stream.BytesStreamOutput;
@@ -29,9 +30,7 @@ import org.junit.Test;
 
 import java.util.UUID;
 
-import static org.junit.Assert.assertEquals;
-
-public class SerializationTests {
+public class SerializationTests extends CrateUnitTest {
 
 
     @Test
Project crate/crate in file ...crate.executor.transport.SymbolSerializerTest.java (2015-03-08)
@@ -23,14 +23,13 @@ package io.crate.executor.transport;
 
 import io.crate.planner.symbol.Symbol;
 import io.crate.planner.symbol.Value;
+import io.crate.test.integration.CrateUnitTest;
 import io.crate.types.DataTypes;
 import org.elasticsearch.common.io.stream.BytesStreamInput;
 import org.elasticsearch.common.io.stream.BytesStreamOutput;
 import org.junit.Test;
 
-import static org.junit.Assert.assertEquals;
-
-public class SymbolSerializerTest {
+public class SymbolSerializerTest extends CrateUnitTest {
 
 
     @Test
Project crate/crate in file ...peration.scalar.CollectionAverageFunctionTest.java (2015-03-08)
@@ -26,6 +26,7 @@ import io.crate.metadata.FunctionIdent;
 import io.crate.metadata.FunctionInfo;
 import io.crate.metadata.Functions;
 import io.crate.operation.Input;
+import io.crate.test.integration.CrateUnitTest;
 import io.crate.types.DataType;
 import io.crate.types.DataTypes;
 import io.crate.types.SetType;
@@ -36,9 +37,7 @@ import org.junit.Test;
 import java.util.HashSet;
 import java.util.Set;
 
-import static org.junit.Assert.assertEquals;
-
-public class CollectionAverageFunctionTest {
+public class CollectionAverageFunctionTest extends CrateUnitTest {
 
     final FunctionIdent ident = new FunctionIdent(CollectionAverageFunction.NAME,
             ImmutableList.<DataType>of(new SetType(DataTypes.LONG)));
Project crate/crate in file ....operation.scalar.CollectionCountFunctionTest.java (2015-03-08)
@@ -26,6 +26,7 @@ import io.crate.metadata.FunctionIdent;
 import io.crate.metadata.FunctionInfo;
 import io.crate.metadata.Functions;
 import io.crate.operation.Input;
+import io.crate.test.integration.CrateUnitTest;
 import io.crate.types.DataType;
 import io.crate.types.DataTypes;
 import io.crate.types.SetType;
@@ -36,9 +37,7 @@ import org.junit.Test;
 import java.util.HashSet;
 import java.util.Set;
 
-import static org.junit.Assert.assertEquals;
-
-public class CollectionCountFunctionTest {
+public class CollectionCountFunctionTest extends CrateUnitTest {
 
     final FunctionIdent ident = new FunctionIdent(CollectionCountFunction.NAME, ImmutableList.<DataType>of(
             new SetType(DataTypes.STRING)));