Explorar el Código

Excluding certain tests on 'light' flavor

tags/light-jdk8u5+36
Ivan Dubrov hace 10 años
padre
commit
346ce86807

+ 4
- 0
dcevm/src/test/java7/com/github/dcevm/test/fields/AccessDeletedFieldTest.java Ver fichero

@@ -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);

+ 3
- 0
dcevm/src/test/java7/com/github/dcevm/test/fields/AccessDeletedStaticFieldTest.java Ver fichero

@@ -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;

+ 3
- 0
dcevm/src/test/java7/com/github/dcevm/test/methods/CallDeletedInterfaceMethodTest.java Ver fichero

@@ -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

+ 3
- 0
dcevm/src/test/java7/com/github/dcevm/test/methods/CallDeletedMethodTest.java Ver fichero

@@ -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

+ 3
- 0
dcevm/src/test/java7/com/github/dcevm/test/methods/OldCodeNonOSRTest.java Ver fichero

@@ -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)

+ 3
- 0
dcevm/src/test/java7/com/github/dcevm/test/structural/LargeHierarchyTest.java Ver fichero

@@ -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();

+ 3
- 0
dcevm/src/test/java7/com/github/dcevm/test/structural/TypeNarrowingHeapTest.java Ver fichero

@@ -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

+ 3
- 0
dcevm/src/test/java7/com/github/dcevm/test/transformer/BaseClassTransformerTest.java Ver fichero

@@ -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

+ 3
- 0
dcevm/src/test/java7/com/github/dcevm/test/transformer/SimpleTransformerTest.java Ver fichero

@@ -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

+ 3
- 0
dcevm/src/test/java7/com/github/dcevm/test/transformer/StaticTransformerTest.java Ver fichero

@@ -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

Cargando…
Cancelar
Guardar