Author: davidb
Date: Tue Oct 11 07:37:02 2016
New Revision: 1764209

URL: http://svn.apache.org/viewvc?rev=1764209&view=rev
Log:
@Ignore two tests that expect objects to be treated as a DTO which aren't DTOs

Modified:
    
felix/trunk/converter/schematizer/src/test/java/org/apache/felix/serializer/impl/json/RepositorySerializationTest.java

Modified: 
felix/trunk/converter/schematizer/src/test/java/org/apache/felix/serializer/impl/json/RepositorySerializationTest.java
URL: 
http://svn.apache.org/viewvc/felix/trunk/converter/schematizer/src/test/java/org/apache/felix/serializer/impl/json/RepositorySerializationTest.java?rev=1764209&r1=1764208&r2=1764209&view=diff
==============================================================================
--- 
felix/trunk/converter/schematizer/src/test/java/org/apache/felix/serializer/impl/json/RepositorySerializationTest.java
 (original)
+++ 
felix/trunk/converter/schematizer/src/test/java/org/apache/felix/serializer/impl/json/RepositorySerializationTest.java
 Tue Oct 11 07:37:02 2016
@@ -16,8 +16,6 @@
  */
 package org.apache.felix.serializer.impl.json;
 
-import static org.junit.Assert.*;
-
 import java.util.ArrayList;
 import java.util.Collection;
 import java.util.Collections;
@@ -45,11 +43,16 @@ import org.apache.felix.serializer.test.
 import org.apache.felix.serializer.test.prevayler.Repository;
 import org.junit.After;
 import org.junit.Before;
+import org.junit.Ignore;
 import org.junit.Test;
 
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertNotNull;
+import static org.junit.Assert.assertTrue;
+
 /**
  * General class for testing any type of RepositoryStore.
- * 
+ *
  * @author David Leangen
  */
 public class RepositorySerializationTest
@@ -111,6 +114,9 @@ public class RepositorySerializationTest
        }
 
     @Test
+    @Ignore("davidb: I've @Ignore-d this test as the DTO used breaks the DTO "
+            + "contract which says that DTOs cannot contain any methods. As 
these "
+            + "entities contain some methods they are not recognized as DTOs")
     public void shouldPutAndRemoveComplexEntityFromStore() {
         complexManager.clear();
         assertTrue( complexManager.list().isEmpty() );
@@ -151,6 +157,9 @@ public class RepositorySerializationTest
     }
 
     @Test
+    @Ignore("davidb: I've @Ignore-d this test as the DTO used breaks the DTO "
+            + "contract which says that DTOs cannot contain any methods. As 
these "
+            + "entities contain some methods they are not recognized as DTOs")
     public void shouldPutAllToStore() {
         complexManager.clear();
         assertTrue( complexManager.list().isEmpty() );


Reply via email to