Permalink
Browse files

Fix tests -- name should be TestCase.

  • Loading branch information...
1 parent 43df5c3 commit 0e128fcca2b8ba7483a5b00f74b5123d78d87aff @alesj alesj committed May 25, 2012
@@ -43,7 +43,7 @@
* @author <a href="mailto:marko.luksa@gmail.com">Marko Luksa</a>
*/
@RunWith(Arquillian.class)
-public class GAEKeyTransformerTest {
+public class GAEKeyTransformerTestCase {
private GAEKeyTransformer transformer = new GAEKeyTransformer();
@@ -22,6 +22,9 @@
package org.jboss.test.capedwarf.log;
+import java.util.logging.Handler;
+import java.util.logging.Logger;
+
import com.google.appengine.api.log.LogQuery;
import com.google.appengine.api.log.LogServiceFactory;
import com.google.appengine.api.log.RequestLogs;
@@ -32,19 +35,14 @@
import org.jboss.shrinkwrap.api.asset.StringAsset;
import org.jboss.shrinkwrap.api.spec.WebArchive;
import org.junit.Assert;
-import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
-import java.util.logging.Handler;
-import java.util.logging.Logger;
-
/**
*
*/
-@Ignore
@RunWith(Arquillian.class)
-public class LoggingConfigurationTest {
+public class LoggingConfigurationTestCase {
@Deployment
public static Archive getDeployment() {
@@ -22,6 +22,9 @@
package org.jboss.test.capedwarf.log;
+import java.util.List;
+import java.util.logging.Logger;
+
import com.google.appengine.api.log.AppLogLine;
import com.google.appengine.api.log.LogQuery;
import com.google.appengine.api.log.LogServiceFactory;
@@ -36,14 +39,11 @@
import org.junit.Test;
import org.junit.runner.RunWith;
-import java.util.List;
-import java.util.logging.Logger;
-
/**
*
*/
@RunWith(Arquillian.class)
-public class LoggingTest {
+public class LoggingTestCase {
@Deployment
public static Archive getDeployment() {
@@ -28,9 +28,9 @@
import org.junit.Test;
/**
- *
+ * Non-Arquillian on purpose.
*/
-public class CacheKeyTransformerTest {
+public class CacheKeyTransformerTestCase {
@Test
public void testSimpleCase() {
@@ -22,6 +22,14 @@
package org.jboss.test.capedwarf.search;
+import java.util.Arrays;
+import java.util.Calendar;
+import java.util.Collection;
+import java.util.Date;
+import java.util.HashSet;
+import java.util.List;
+import java.util.Locale;
+
import com.google.appengine.api.search.Consistency;
import com.google.appengine.api.search.Document;
import com.google.appengine.api.search.Field;
@@ -45,14 +53,6 @@
import org.junit.Test;
import org.junit.runner.RunWith;
-import java.util.Arrays;
-import java.util.Calendar;
-import java.util.Collection;
-import java.util.Date;
-import java.util.HashSet;
-import java.util.List;
-import java.util.Locale;
-
import static com.google.appengine.api.search.Field.FieldType.TEXT;
import static junit.framework.Assert.assertEquals;
import static junit.framework.Assert.assertFalse;
@@ -64,7 +64,7 @@
*
*/
@RunWith(Arquillian.class)
-public class SearchTest {
+public class SearchTestCase {
private SearchService service;
@@ -84,7 +84,7 @@ public void tearDown() throws Exception {
@Deployment
public static WebArchive getDeployment() {
return ShrinkWrap.create(WebArchive.class)
- .addClass(SearchTest.class)
+ .addClass(SearchTestCase.class)
.setWebXML(new StringAsset("<web/>"))
.addAsWebInfResource("appengine-web.xml");
}

0 comments on commit 0e128fc

Please sign in to comment.