]> source.dussan.org Git - dcevm.git/commitdiff
Excluding certain tests on 'light' flavor
authorIvan Dubrov <idubrov@guidewire.com>
Fri, 25 Apr 2014 21:58:00 +0000 (14:58 -0700)
committerIvan Dubrov <idubrov@guidewire.com>
Fri, 25 Apr 2014 21:58:36 +0000 (14:58 -0700)
dcevm/src/test/java7/com/github/dcevm/test/fields/AccessDeletedFieldTest.java
dcevm/src/test/java7/com/github/dcevm/test/fields/AccessDeletedStaticFieldTest.java
dcevm/src/test/java7/com/github/dcevm/test/methods/CallDeletedInterfaceMethodTest.java
dcevm/src/test/java7/com/github/dcevm/test/methods/CallDeletedMethodTest.java
dcevm/src/test/java7/com/github/dcevm/test/methods/OldCodeNonOSRTest.java
dcevm/src/test/java7/com/github/dcevm/test/structural/LargeHierarchyTest.java
dcevm/src/test/java7/com/github/dcevm/test/structural/TypeNarrowingHeapTest.java
dcevm/src/test/java7/com/github/dcevm/test/transformer/BaseClassTransformerTest.java
dcevm/src/test/java7/com/github/dcevm/test/transformer/SimpleTransformerTest.java
dcevm/src/test/java7/com/github/dcevm/test/transformer/StaticTransformerTest.java

index d66cfa6d85b38ef9541a14f87c341b1c425bda3f..84a76c92b7304a8d72c36fe6b6b616e32e91bb44 100644 (file)
 package com.github.dcevm.test.fields;\r
 \r
 import com.github.dcevm.test.TestUtil;\r
+import com.github.dcevm.test.category.Full;\r
 import org.junit.Before;\r
 import org.junit.Test;\r
+import org.junit.experimental.categories.Category;\r
 \r
 import static com.github.dcevm.test.util.HotSwapTestHelper.__toVersion__;\r
 import static com.github.dcevm.test.util.HotSwapTestHelper.__version__;\r
@@ -118,6 +120,7 @@ public class AccessDeletedFieldTest {
     }\r
 \r
     @Test\r
+    @Category(Full.class)\r
     public void testAccessDeleteBaseClassFieldNormal() {\r
 \r
         __toVersion__(0);\r
@@ -147,6 +150,7 @@ public class AccessDeletedFieldTest {
     }\r
 \r
     @Test\r
+    @Category(Full.class)\r
     public void testAccessDeleteBaseClassFieldInvalid() {\r
 \r
         __toVersion__(0);\r
index 13be2e5f930b339d1ac8123c0a6750e3e643d0c2..32fe58294731e9d83a85a3c850b259cf398a4e5b 100644 (file)
 package com.github.dcevm.test.fields;
 
 import com.github.dcevm.test.TestUtil;
+import com.github.dcevm.test.category.Full;
 import org.junit.Before;
 import org.junit.Test;
+import org.junit.experimental.categories.Category;
 
 import static com.github.dcevm.test.util.HotSwapTestHelper.__toVersion__;
 import static com.github.dcevm.test.util.HotSwapTestHelper.__version__;
@@ -89,6 +91,7 @@ public class AccessDeletedStaticFieldTest {
     }
 
     @Test
+    @Category(Full.class)
     public void testAccessDeletedStaticField() {
 
         assert __version__() == 0;
index 8b7fd79c50cdb13dd8d657e32303634898d2cfe1..ff0ed08f9bcae32b7f19a569b2a56800b300d8c2 100644 (file)
 
 package com.github.dcevm.test.methods;
 
+import com.github.dcevm.test.category.Full;
 import org.junit.Before;
 import org.junit.Test;
+import org.junit.experimental.categories.Category;
 
 import static com.github.dcevm.test.util.HotSwapTestHelper.__toVersion__;
 import static com.github.dcevm.test.util.HotSwapTestHelper.__version__;
@@ -36,6 +38,7 @@ import static org.junit.Assert.assertEquals;
  *
  * @author Thomas Wuerthinger
  */
+@Category(Full.class)
 public class CallDeletedInterfaceMethodTest {
 
     @Before
index 73c1fdde48b929d7125f2d285e075f8c252ca71b..ec117033a20067efdf40b79328e51b4eb0375f4c 100644 (file)
@@ -26,9 +26,11 @@ package com.github.dcevm.test.methods;
 \r
 import com.github.dcevm.MethodRedefinitionPolicy;\r
 import com.github.dcevm.RedefinitionPolicy;\r
+import com.github.dcevm.test.category.Full;\r
 import junit.framework.Assert;\r
 import org.junit.Before;\r
 import org.junit.Test;\r
+import org.junit.experimental.categories.Category;\r
 \r
 import static com.github.dcevm.test.util.HotSwapTestHelper.__toVersion__;\r
 import static com.github.dcevm.test.util.HotSwapTestHelper.__version__;\r
@@ -39,6 +41,7 @@ import static org.junit.Assert.assertEquals;
  *\r
  * @author Thomas Wuerthinger\r
  */\r
+@Category(Full.class)\r
 public class CallDeletedMethodTest {\r
 \r
     @Before\r
index aa9fbadb7bf39d866a54ea503b36d1282dc8c767..c40717db91abbfc6bd864c55bbb6641db08a5745 100644 (file)
 
 package com.github.dcevm.test.methods;
 
+import com.github.dcevm.test.category.Full;
 import org.junit.Before;
 import org.junit.Test;
+import org.junit.experimental.categories.Category;
 
 import static com.github.dcevm.test.util.HotSwapTestHelper.__toVersion__;
 import static com.github.dcevm.test.util.HotSwapTestHelper.__version__;
@@ -36,6 +38,7 @@ import static org.junit.Assert.assertEquals;
  *
  * @author Thomas Wuerthinger
  */
+@Category(Full.class)
 public class OldCodeNonOSRTest {
 
     // Chose high enough to make sure method could get OSR (usually the OSR flag in the VM is set to about 15000)
index d5ad95de21dcffbcccf1dced8fa8d5e77b2fe0cb..67905d31f8cee986c20112d4e8ff0566f4f0b003 100644 (file)
 \r
 package com.github.dcevm.test.structural;\r
 \r
+import com.github.dcevm.test.category.Full;\r
 import org.junit.Before;\r
 import org.junit.Test;\r
+import org.junit.experimental.categories.Category;\r
 \r
 import static com.github.dcevm.test.util.HotSwapTestHelper.__toVersion__;\r
 import static com.github.dcevm.test.util.HotSwapTestHelper.__version__;\r
@@ -36,6 +38,7 @@ import static org.junit.Assert.assertEquals;
  * \r
  * @author Thomas Wuerthinger\r
  */\r
+@Category(Full.class)\r
 public class LargeHierarchyTest {\r
 \r
     private A a = new A();\r
index d38495d5bd1e3943ace9e7f97c0895896ef9e817..e2287a46f280b20d743cf209a5fe174f355f740a 100644 (file)
 package com.github.dcevm.test.structural;
 
 import com.github.dcevm.test.TestUtil;
+import com.github.dcevm.test.category.Full;
 import org.junit.Before;
 import org.junit.Test;
+import org.junit.experimental.categories.Category;
 
 import static com.github.dcevm.test.util.HotSwapTestHelper.__toVersion__;
 import static com.github.dcevm.test.util.HotSwapTestHelper.__version__;
@@ -37,6 +39,7 @@ import static org.junit.Assert.assertEquals;
  *
  * @author Thomas Wuerthinger
  */
+@Category(Full.class)
 public class TypeNarrowingHeapTest {
 
     // Version 0
index ed592f71997cbe99608c84dd59df30199292367c..27560dcd9618195a791c9c13809ee2cbfacffc3f 100644 (file)
 
 package com.github.dcevm.test.transformer;
 
+import com.github.dcevm.test.category.Full;
 import org.junit.Before;
 import org.junit.Test;
+import org.junit.experimental.categories.Category;
 
 import static com.github.dcevm.test.util.HotSwapTestHelper.__toVersion__;
 import static com.github.dcevm.test.util.HotSwapTestHelper.__version__;
@@ -46,6 +48,7 @@ class BaseClass {
  *
  * @author Thomas Wuerthinger
  */
+@Category(Full.class)
 public class BaseClassTransformerTest {
 
     // Version 0
index 7c4ece53b94f39d31ec7186ae0c95772941360ae..fdebefa5b53c100e65475dae49e8783fc99721f3 100644 (file)
 
 package com.github.dcevm.test.transformer;
 
+import com.github.dcevm.test.category.Full;
 import org.junit.Before;
 import org.junit.Test;
+import org.junit.experimental.categories.Category;
 
 import static com.github.dcevm.test.util.HotSwapTestHelper.__toVersion__;
 import static com.github.dcevm.test.util.HotSwapTestHelper.__version__;
@@ -36,6 +38,7 @@ import static org.junit.Assert.assertEquals;
  *
  * @author Thomas Wuerthinger
  */
+@Category(Full.class)
 public class SimpleTransformerTest {
 
     // Version 0
index a43c1386438a6cd21da0ca3975ac73bf351d9361..8641785ceba9955b2ba953e16bba3d311613d965 100644 (file)
 
 package com.github.dcevm.test.transformer;
 
+import com.github.dcevm.test.category.Full;
 import org.junit.Before;
 import org.junit.Test;
+import org.junit.experimental.categories.Category;
 
 import static com.github.dcevm.test.util.HotSwapTestHelper.__toVersion__;
 import static com.github.dcevm.test.util.HotSwapTestHelper.__version__;
@@ -36,6 +38,7 @@ import static org.junit.Assert.assertEquals;
  *
  * @author Thomas Wuerthinger
  */
+@Category(Full.class)
 public class StaticTransformerTest {
 
     // Version 0