mirror of
https://github.com/frohoff/ysoserial.git
synced 2026-09-23 15:31:54 +08:00
testing
This commit is contained in:
@@ -84,7 +84,7 @@ public class PayloadsTest {
|
||||
|
||||
int tries = 1;
|
||||
if ( t != null ) {
|
||||
if (isForceTests()) {
|
||||
if (! isForceTests()) {
|
||||
if ( !t.skip().isEmpty() ) {
|
||||
Assume.assumeTrue(t.skip(), false);
|
||||
}
|
||||
@@ -146,7 +146,7 @@ public class PayloadsTest {
|
||||
}
|
||||
|
||||
private static boolean isForceTests() {
|
||||
return System.getProperty("forceTests") == null;
|
||||
return System.getProperty("forceTests") != null;
|
||||
}
|
||||
|
||||
private static Callable<byte[]> makeSerializeCallable ( final Class<? extends ObjectPayload<?>> payloadClass, final String command ) {
|
||||
|
||||
Reference in New Issue
Block a user