org.testng.annotations.Testorg.junit.Test



Project elasticsearch/elasticsearch in file ...csearch.test.unit.ElasticSearchExceptionTests.java (2013-07-19)
@@ -24,12 +24,11 @@ import org.elasticsearch.index.Index;
 import org.elasticsearch.indices.IndexMissingException;
 import org.elasticsearch.rest.RestStatus;
 import org.elasticsearch.transport.RemoteTransportException;
-import org.testng.annotations.Test;
+import org.junit.Test;
 
 import static org.hamcrest.MatcherAssert.assertThat;
 import static org.hamcrest.Matchers.equalTo;
 
-@Test
 public class ElasticSearchExceptionTests {
 
     @Test
Project elasticsearch/elasticsearch in file ...st.unit.action.search.MultiSearchRequestTests.java (2013-07-19)
@@ -22,7 +22,7 @@ package org.elasticsearch.test.unit.action.search;
 import org.elasticsearch.action.search.MultiSearchRequest;
 import org.elasticsearch.action.search.SearchType;
 import org.elasticsearch.common.io.Streams;
-import org.testng.annotations.Test;
+import org.junit.Test;
 
 import static org.hamcrest.MatcherAssert.assertThat;
 import static org.hamcrest.Matchers.equalTo;
@@ -30,7 +30,6 @@ import static org.hamcrest.Matchers.nullValue;
 
 /**
  */
-@Test
 public class MultiSearchRequestTests {
 
     @Test
Project elasticsearch/elasticsearch in file ...t.cluster.metadata.MappingMetaDataParserTests.java (2013-07-19)
@@ -23,14 +23,13 @@ import org.elasticsearch.cluster.metadata.MappingMetaData;
 import org.elasticsearch.common.compress.CompressedString;
 import org.elasticsearch.common.xcontent.XContentFactory;
 import org.elasticsearch.index.mapper.MapperParsingException;
-import org.testng.annotations.Test;
+import org.junit.Test;
 
 import static org.elasticsearch.common.xcontent.XContentFactory.jsonBuilder;
 import static org.hamcrest.MatcherAssert.assertThat;
 import static org.hamcrest.Matchers.equalTo;
 import static org.hamcrest.Matchers.nullValue;
 
-@Test
 public class MappingMetaDataParserTests {
 
     @Test
Project elasticsearch/elasticsearch in file ...r.routing.allocation.AllocatePostApiFlagTests.java (2013-07-19)
@@ -26,7 +26,7 @@ import org.elasticsearch.cluster.routing.allocation.AllocationService;
 import org.elasticsearch.cluster.routing.allocation.RoutingAllocation;
 import org.elasticsearch.common.logging.ESLogger;
 import org.elasticsearch.common.logging.Loggers;
-import org.testng.annotations.Test;
+import org.junit.Test;
 
 import static org.elasticsearch.cluster.ClusterState.newClusterStateBuilder;
 import static org.elasticsearch.cluster.metadata.IndexMetaData.newIndexMetaDataBuilder;
@@ -41,7 +41,6 @@ import static org.hamcrest.Matchers.equalTo;
 
 /**
  */
-@Test
 public class AllocatePostApiFlagTests {
 
     private final ESLogger logger = Loggers.getLogger(AllocatePostApiFlagTests.class);
Project elasticsearch/elasticsearch in file ...er.routing.allocation.AllocationCommandsTests.java (2013-07-19)
@@ -39,7 +39,7 @@ import org.elasticsearch.common.xcontent.XContentFactory;
 import org.elasticsearch.common.xcontent.XContentParser;
 import org.elasticsearch.common.xcontent.XContentType;
 import org.elasticsearch.index.shard.ShardId;
-import org.testng.annotations.Test;
+import org.junit.Test;
 
 import static org.elasticsearch.cluster.ClusterState.newClusterStateBuilder;
 import static org.elasticsearch.cluster.metadata.IndexMetaData.newIndexMetaDataBuilder;
@@ -55,7 +55,6 @@ import static org.hamcrest.Matchers.equalTo;
 
 /**
  */
-@Test
 public class AllocationCommandsTests {
 
     private final ESLogger logger = Loggers.getLogger(AllocationCommandsTests.class);