@@ -24,8 +24,10 @@ | |||
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__; | |||
@@ -118,6 +120,7 @@ public class AccessDeletedFieldTest { | |||
} | |||
@Test | |||
@Category(Full.class) | |||
public void testAccessDeleteBaseClassFieldNormal() { | |||
__toVersion__(0); | |||
@@ -147,6 +150,7 @@ public class AccessDeletedFieldTest { | |||
} | |||
@Test | |||
@Category(Full.class) | |||
public void testAccessDeleteBaseClassFieldInvalid() { | |||
__toVersion__(0); |
@@ -24,8 +24,10 @@ | |||
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; |
@@ -24,8 +24,10 @@ | |||
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 |
@@ -26,9 +26,11 @@ package com.github.dcevm.test.methods; | |||
import com.github.dcevm.MethodRedefinitionPolicy; | |||
import com.github.dcevm.RedefinitionPolicy; | |||
import com.github.dcevm.test.category.Full; | |||
import junit.framework.Assert; | |||
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__; | |||
@@ -39,6 +41,7 @@ import static org.junit.Assert.assertEquals; | |||
* | |||
* @author Thomas Wuerthinger | |||
*/ | |||
@Category(Full.class) | |||
public class CallDeletedMethodTest { | |||
@Before |
@@ -24,8 +24,10 @@ | |||
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) |
@@ -24,8 +24,10 @@ | |||
package com.github.dcevm.test.structural; | |||
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 LargeHierarchyTest { | |||
private A a = new A(); |
@@ -25,8 +25,10 @@ | |||
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 |
@@ -24,8 +24,10 @@ | |||
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 |
@@ -24,8 +24,10 @@ | |||
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 |
@@ -24,8 +24,10 @@ | |||
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 |