Upgrade JUnit4 to JUnit5 Jupiter

This commit is contained in:
napoly 2023-03-27 13:52:47 +02:00
parent d17749110a
commit e19ffe2308
No known key found for this signature in database
GPG Key ID: FA1F0960276A0CA0
252 changed files with 1472 additions and 1496 deletions

View File

@ -1,58 +0,0 @@
package bisq.apitest;
import lombok.extern.slf4j.Slf4j;
import org.junit.runner.Description;
import org.junit.runner.JUnitCore;
import org.junit.runner.Result;
import org.junit.runner.notification.Failure;
import org.junit.runner.notification.RunListener;
import static java.lang.String.format;
@Slf4j
public class JUnitHelper {
private static boolean allPass;
public static void runTests(Class<?>... testClasses) {
JUnitCore jUnitCore = new JUnitCore();
jUnitCore.addListener(new RunListener() {
public void testStarted(Description description) {
log.info("{}", description);
}
public void testIgnored(Description description) {
log.info("Ignored {}", description);
}
public void testFailure(Failure failure) {
log.error("Failed {}", failure.getTrace());
}
});
Result result = jUnitCore.run(testClasses);
printTestResults(result);
}
public static boolean allTestsPassed() {
return allPass;
}
private static void printTestResults(Result result) {
log.info("Total tests: {}, Failed: {}, Ignored: {}",
result.getRunCount(),
result.getFailureCount(),
result.getIgnoreCount());
if (result.wasSuccessful()) {
log.info("All {} tests passed", result.getRunCount());
allPass = true;
} else if (result.getFailureCount() > 0) {
log.error("{} test(s) failed", result.getFailureCount());
result.getFailures().iterator().forEachRemaining(f -> log.error(format("%s.%s()%n\t%s",
f.getDescription().getTestClass().getName(),
f.getDescription().getMethodName(),
f.getTrace())));
}
}
}

View File

@ -20,8 +20,8 @@ package bisq.apitest.scenario;
import lombok.extern.slf4j.Slf4j;
import org.junit.Ignore;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.MethodOrderer;
import org.junit.jupiter.api.Order;
import org.junit.jupiter.api.Test;
@ -84,7 +84,7 @@ public class OfferTest extends AbstractOfferTest {
test.testCreateUSDBTCBuyOfferWithTriggerPrice();
}
@Ignore
@Disabled
@Test
@Order(5)
public void testCreateBSQOffers() {

View File

@ -15,4 +15,6 @@ dependencies {
implementation libs.google.guava
implementation libs.apache.commons.lang3
implementation libs.slf4j.api
testImplementation libs.hamcrest
testImplementation libs.junit.jupiter.api
}

View File

@ -17,10 +17,10 @@
package bisq.asset;
import org.junit.Test;
import org.junit.jupiter.api.Test;
import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.assertThat;
import static org.hamcrest.MatcherAssert.assertThat;
/**
* Abstract base class for all {@link Asset} unit tests. Subclasses must implement the

View File

@ -19,7 +19,7 @@ package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class ActiniumTest extends AbstractAssetTest {

View File

@ -19,7 +19,7 @@ package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class AdeptioTest extends AbstractAssetTest {

View File

@ -18,7 +18,7 @@
package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class AeonTest extends AbstractAssetTest {

View File

@ -19,7 +19,7 @@ package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class AmitycoinTest extends AbstractAssetTest {
@ -45,4 +45,4 @@ public class AmitycoinTest extends AbstractAssetTest {
assertInvalidAddress("KEKlulzlksadfwe");
assertInvalidAddress("HOleeSheetdsdjqwqwpoo3");
}
}
}

View File

@ -19,7 +19,7 @@ package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class AnimecoinTest extends AbstractAssetTest {

View File

@ -18,7 +18,7 @@
package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class ArqmaTest extends AbstractAssetTest {

View File

@ -19,7 +19,7 @@ package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class AskcoinTest extends AbstractAssetTest {
@ -45,4 +45,4 @@ public class AskcoinTest extends AbstractAssetTest {
assertInvalidAddress("null");
assertInvalidAddress("xidjfwi23ii0");
}
}
}

View File

@ -19,7 +19,7 @@ package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class AustraliacashTest extends AbstractAssetTest {

View File

@ -19,7 +19,7 @@ package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class BSQTest extends AbstractAssetTest {

View File

@ -19,7 +19,7 @@ package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class BeamTest extends AbstractAssetTest {

View File

@ -16,7 +16,7 @@
*/
package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class BitDaricTest extends AbstractAssetTest {
public BitDaricTest() {
super(new BitDaric());

View File

@ -19,7 +19,7 @@ package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class BitcoinRhodiumTest extends AbstractAssetTest {

View File

@ -19,7 +19,7 @@ package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class BitcoinTest extends AbstractAssetTest {

View File

@ -19,7 +19,7 @@ package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class BitmarkTest extends AbstractAssetTest {

View File

@ -19,7 +19,7 @@ package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class BitzecTest extends AbstractAssetTest {

View File

@ -18,7 +18,7 @@
package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class BlurTest extends AbstractAssetTest {

View File

@ -19,7 +19,7 @@ package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import java.util.Collections;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class BurntBlackCoinTest extends AbstractAssetTest {

View File

@ -20,7 +20,7 @@ package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class CRowdCLassicTest extends AbstractAssetTest {

View File

@ -19,7 +19,7 @@ package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class CTSCoinTest extends AbstractAssetTest {

View File

@ -18,7 +18,7 @@
package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class Cash2Test extends AbstractAssetTest {

View File

@ -19,7 +19,7 @@ package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class ChauchaTest extends AbstractAssetTest {

View File

@ -19,7 +19,7 @@ package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class CloakCoinTest extends AbstractAssetTest {

View File

@ -19,7 +19,7 @@ package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class CreditsTest extends AbstractAssetTest {
@ -43,4 +43,4 @@ public class CreditsTest extends AbstractAssetTest {
assertInvalidAddress("CcbqU3MLZuGAED2CuhUkquyJxKaSJqv6V6#");
assertInvalidAddress("bKaig5pznaUgiLqe6WkoCNGagNMhNLtqhKkggg");
}
}
}

View File

@ -19,7 +19,7 @@ package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class CroatTest extends AbstractAssetTest {
@ -35,7 +35,7 @@ public class CroatTest extends AbstractAssetTest {
}
@Test
public void testInvalidAddresses() {
public void testInvalidAddresses() {
assertInvalidAddress("ZsZ46x2mzB3GhjrC2Lt7oZ4Efmj8USUjVM7Bdz8B8EF6bQwN84NzSti7RwLZcFoZG5NR1iaiZY8GP2KwumVc1jGzHLvBzAv");
assertInvalidAddress("");
assertInvalidAddress("CjxZDcoWCsx1wmYkmJcFpSTgqpjoFGRW9dQT8JqgwvkBaU6Q3X4MJ4QjV#NUM7GHp6NjYaTrKeH4bSRTK3mCYsHf2818vzv");

View File

@ -19,7 +19,7 @@ package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class DSTRATest extends AbstractAssetTest {

View File

@ -19,7 +19,7 @@ package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class DarkPayTest extends AbstractAssetTest {

View File

@ -19,7 +19,7 @@ package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class DashTest extends AbstractAssetTest {

View File

@ -19,7 +19,7 @@ package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class DeepOnionTest extends AbstractAssetTest {

View File

@ -19,7 +19,7 @@ package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class DextroTest extends AbstractAssetTest {

View File

@ -19,7 +19,7 @@ package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class DogecoinTest extends AbstractAssetTest {

View File

@ -17,7 +17,7 @@
package bisq.asset.coins;
import org.junit.Test;
import org.junit.jupiter.api.Test;
import bisq.asset.AbstractAssetTest;
public class DoichainTest extends AbstractAssetTest {
@ -35,8 +35,8 @@ public class DoichainTest extends AbstractAssetTest {
@Test
public void testInvalidAddresses() {
assertInvalidAddress("NGHV9LstnZfrkGx5QJmYhEepbzc66W7LN5x");
assertInvalidAddress("16iWWt1uoG8Dct56Cq6eKHFxvGSDha46Lo");
assertInvalidAddress("38BFQkc9CdyJUxQK8PhebnDcA1tRRwLDW4");
assertInvalidAddress("NGHV9LstnZfrkGx5QJmYhEepbzc66W7LN5x");
assertInvalidAddress("16iWWt1uoG8Dct56Cq6eKHFxvGSDha46Lo");
assertInvalidAddress("38BFQkc9CdyJUxQK8PhebnDcA1tRRwLDW4");
}
}

View File

@ -19,7 +19,7 @@ package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class DonuTest extends AbstractAssetTest {

View File

@ -19,7 +19,7 @@ package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class DragonglassTest extends AbstractAssetTest {

View File

@ -19,7 +19,7 @@ package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class EmercoinTest extends AbstractAssetTest {

View File

@ -19,7 +19,7 @@ package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class ErgoTest extends AbstractAssetTest {

View File

@ -18,7 +18,7 @@
package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class FourtyTwoTest extends AbstractAssetTest {

View File

@ -19,7 +19,7 @@ package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class FujicoinTest extends AbstractAssetTest {

View File

@ -19,7 +19,7 @@ package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class GalilelTest extends AbstractAssetTest {

View File

@ -19,7 +19,7 @@ package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class GambleCoinTest extends AbstractAssetTest {

View File

@ -18,7 +18,7 @@
package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class GenesisTest extends AbstractAssetTest {

View File

@ -19,7 +19,7 @@ package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class GrinTest extends AbstractAssetTest {

View File

@ -19,7 +19,7 @@ package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class HatchTest extends AbstractAssetTest {

View File

@ -19,7 +19,7 @@ package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class HeliumTest extends AbstractAssetTest {

View File

@ -19,7 +19,7 @@ package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class HorizenTest extends AbstractAssetTest {

View File

@ -19,7 +19,7 @@ package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class IdaPayTest extends AbstractAssetTest {

View File

@ -17,7 +17,7 @@
package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class IridiumTest extends AbstractAssetTest {
public IridiumTest() {

View File

@ -19,7 +19,7 @@ package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class KekcoinTest extends AbstractAssetTest {

View File

@ -19,7 +19,7 @@ package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class KnowYourDeveloperTest extends AbstractAssetTest {

View File

@ -19,7 +19,7 @@ package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class KoreTest extends AbstractAssetTest {

View File

@ -19,7 +19,7 @@ package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class KryptonTest extends AbstractAssetTest {
@ -45,4 +45,4 @@ public class KryptonTest extends AbstractAssetTest {
assertInvalidAddress("QQQ1G56SKneSK1833tKjLH7E4ZgFwnqhqUb1HMHgYbnhaST56mukM1296jiYjTyTdMWnvH5FpWNAJWaQqwyPJHUR8qXRKBJy9#");
assertInvalidAddress("ZOD1Bg61uUZhsNaTmUSZNcFgX2bk9wnAoYg9DSYZidDMJt7wVyccvMy8J7zRBoV5iT1pbraFUDWPQWWdXGPPws2P2ZGe8UzsaJ");
}
}
}

View File

@ -19,7 +19,7 @@ package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class LBRYCreditsTest extends AbstractAssetTest {

View File

@ -19,7 +19,7 @@ package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class LitecoinPlusTest extends AbstractAssetTest {

View File

@ -19,7 +19,7 @@ package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class LitecoinTest extends AbstractAssetTest {

View File

@ -19,7 +19,7 @@ package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class LitecoinZTest extends AbstractAssetTest {

View File

@ -19,7 +19,7 @@ package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class LytixTest extends AbstractAssetTest {

View File

@ -18,7 +18,7 @@
package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class MasariTest extends AbstractAssetTest {

View File

@ -19,7 +19,7 @@ package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class MaskTest extends AbstractAssetTest {

View File

@ -18,7 +18,7 @@
package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class MileTest extends AbstractAssetTest {

View File

@ -19,7 +19,7 @@ package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class MirQuiXTest extends AbstractAssetTest {

View File

@ -18,7 +18,7 @@
package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class MoXTest extends AbstractAssetTest {

View File

@ -19,7 +19,7 @@ package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class MobitGlobalTest extends AbstractAssetTest {

View File

@ -18,7 +18,7 @@
package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class MoneroTest extends AbstractAssetTest {

View File

@ -19,7 +19,7 @@ package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class MonetaryUnitTest extends AbstractAssetTest {

View File

@ -17,7 +17,7 @@
package bisq.asset.coins;
import org.junit.Test;
import org.junit.jupiter.api.Test;
import bisq.asset.AbstractAssetTest;
public class MyceTest extends AbstractAssetTest {
@ -35,8 +35,8 @@ public class MyceTest extends AbstractAssetTest {
@Test
public void testInvalidAddresses() {
assertInvalidAddress("MCgtattGUWUBAV8n2JAa4uDWCRvbZeVcaDx");
assertInvalidAddress("AUV2dtuxwo8b1JSkwBXN3uGypJxp85Hbqn");
assertInvalidAddress("SEUvfCySnAqzuNvbRh2SZCbSro8e2dxLYK");
assertInvalidAddress("MCgtattGUWUBAV8n2JAa4uDWCRvbZeVcaDx");
assertInvalidAddress("AUV2dtuxwo8b1JSkwBXN3uGypJxp85Hbqn");
assertInvalidAddress("SEUvfCySnAqzuNvbRh2SZCbSro8e2dxLYK");
}
}

View File

@ -17,7 +17,7 @@
package bisq.asset.coins;
import org.junit.Test;
import org.junit.jupiter.api.Test;
import bisq.asset.AbstractAssetTest;
public class NamecoinTest extends AbstractAssetTest {
@ -36,8 +36,8 @@ public class NamecoinTest extends AbstractAssetTest {
@Test
public void testInvalidAddresses() {
assertInvalidAddress("N7yhcPhzFduWXPc11AUK9zvtnsL6sgxmRsx");
assertInvalidAddress("MxmFPEPzF19JFPU3VPrRXvUbPjMQXnQer");
assertInvalidAddress("bc1qus65zpte6qa2408qu3540lfcyj9cx7dphfcspn");
assertInvalidAddress("MxmFPEPzF19JFPU3VPrRXvUbPjMQXnQer");
assertInvalidAddress("bc1qus65zpte6qa2408qu3540lfcyj9cx7dphfcspn");
assertInvalidAddress("3GyEtTwXhxbjBtmAR3CtzeayAyshtvd44P");
assertInvalidAddress("1CnXYrivw7pJy3asKftp41wRPgBggF9fBw");
}

View File

@ -19,7 +19,7 @@ package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class NavcoinTest extends AbstractAssetTest {

View File

@ -23,7 +23,7 @@ package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class NdauTest extends AbstractAssetTest {
public NdauTest() {super(new Ndau());}

View File

@ -19,7 +19,7 @@ package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class NoirTest extends AbstractAssetTest {

View File

@ -19,7 +19,7 @@ package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class NoteBlockchainTest extends AbstractAssetTest {

View File

@ -19,7 +19,7 @@ package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class PENGTest extends AbstractAssetTest {
@ -42,4 +42,4 @@ public class PENGTest extends AbstractAssetTest {
assertInvalidAddress("P8Efabj5DzRj6WBpc3jtVDorsVM5nddDxie");
assertInvalidAddress("P9AvXbSUAdCyd9MEtDPYYSmezmeLGL1HcjG");
}
}
}

View File

@ -19,7 +19,7 @@ package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class PIVXTest extends AbstractAssetTest {

View File

@ -19,7 +19,7 @@ package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class PZDCTest extends AbstractAssetTest {

View File

@ -19,7 +19,7 @@ package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class ParsiCoinTest extends AbstractAssetTest {
@ -45,4 +45,4 @@ public class ParsiCoinTest extends AbstractAssetTest {
assertInvalidAddress("hyrjMmPhaznQkJD6C9dcmbBH9y6r9vYAg2aTG9CHSzL1R89xrFi7wj1azmkXyLPiWDBeTCsKGMmr6JzygbP2ZGSN2JqWs1WcK");
assertInvalidAddress("parsGnjdcRG4gY9g4rMTFAEHZLGU7uK8YMiFY3Do1uzoMz4LMA6PqmdPp7ZxDu25b56RyhCevkWjbAMng532iFFj8L5RaPyT");
}
}
}

View File

@ -19,7 +19,7 @@ package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class ParticlTest extends AbstractAssetTest {

View File

@ -19,7 +19,7 @@ package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class PersonaTest extends AbstractAssetTest {

View File

@ -19,7 +19,7 @@ package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class PinkcoinTest extends AbstractAssetTest {

View File

@ -19,7 +19,7 @@ package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class PlenteumTest extends AbstractAssetTest {
@ -45,4 +45,4 @@ public class PlenteumTest extends AbstractAssetTest {
assertInvalidAddress("GDARp92UtmTWDjZatG8sduRockSteadyWasHere3atrHSXr9vJzjHq2TfPrjateDz9Wc8ZJKuDayqJ$%");
assertInvalidAddress("F3xQ8Gv6xnvDhUrM57z71bfFvu9HeofXtXpZRLnrCN2s2cKvkQowrWjJTGz4676ymKvU4NzYT5Aadgsdhsdfhg4gfJwL2yhhkJ7");
}
}
}

View File

@ -19,7 +19,7 @@ package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class QMCoinTest extends AbstractAssetTest {

View File

@ -2,7 +2,7 @@ package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class QbaseTest extends AbstractAssetTest {
public QbaseTest() {

View File

@ -18,7 +18,7 @@
package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class QwertycoinTest extends AbstractAssetTest {

View File

@ -17,7 +17,7 @@
package bisq.asset.coins;
import org.junit.Test;
import org.junit.jupiter.api.Test;

View File

@ -18,7 +18,7 @@
package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class RemixTest extends AbstractAssetTest {

View File

@ -18,7 +18,7 @@
package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class RyoTest extends AbstractAssetTest {

View File

@ -19,7 +19,7 @@ package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class SUB1XTest extends AbstractAssetTest {

View File

@ -19,7 +19,7 @@ package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class SiaPrimeCoinTest extends AbstractAssetTest {

View File

@ -17,7 +17,7 @@
package bisq.asset.coins;
import org.junit.Test;
import org.junit.jupiter.api.Test;
import bisq.asset.AbstractAssetTest;
public class SixElevenTest extends AbstractAssetTest {
@ -36,8 +36,8 @@ public class SixElevenTest extends AbstractAssetTest {
@Test
public void testInvalidAddresses() {
assertInvalidAddress("N7yhcPhzFduWXPc11AUK9zvtnsL6sgxmRsx");
assertInvalidAddress("MxmFPEPzF19JFPU3VPrRXvUbPjMQXnQer");
assertInvalidAddress("bc1qus65zpte6qa2408qu3540lfcyj9cx7dphfcspn");
assertInvalidAddress("MxmFPEPzF19JFPU3VPrRXvUbPjMQXnQer");
assertInvalidAddress("bc1qus65zpte6qa2408qu3540lfcyj9cx7dphfcspn");
assertInvalidAddress("3GyEtTwXhxbjBtmAR3CtzeayAyshtvd44P");
assertInvalidAddress("1CnXYrivw7pJy3asKftp41wRPgBggF9fBw");
}

View File

@ -18,7 +18,7 @@
package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class SoloTest extends AbstractAssetTest {

View File

@ -19,7 +19,7 @@ package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class SpaceCashTest extends AbstractAssetTest {

View File

@ -19,7 +19,7 @@ package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class SpectrecoinTest extends AbstractAssetTest {

View File

@ -19,7 +19,7 @@ package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class StarwelsTest extends AbstractAssetTest {

View File

@ -19,7 +19,7 @@ package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class TEOTest extends AbstractAssetTest {

View File

@ -19,7 +19,7 @@ package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class TurtleCoinTest extends AbstractAssetTest {
@ -45,4 +45,4 @@ public class TurtleCoinTest extends AbstractAssetTest {
assertInvalidAddress("GDARp92UtmTWDjZatG8sduRockSteadyWasHere3atrHSXr9vJzjHq2TfPrjateDz9Wc8ZJKuDayqJ$%");
assertInvalidAddress("F3xQ8Gv6xnvDhUrM57z71bfFvu9HeofXtXpZRLnrCN2s2cKvkQowrWjJTGz4676ymKvU4NzPY8Cadgsdhsdfhg4gfJwL2yhhkJ7");
}
}
}

View File

@ -19,7 +19,7 @@ package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class UnitedCommunityCoinTest extends AbstractAssetTest {

View File

@ -17,7 +17,7 @@
package bisq.asset.coins;
import org.junit.Test;
import org.junit.jupiter.api.Test;
import bisq.asset.AbstractAssetTest;
@ -40,4 +40,4 @@ public class VARIUSTest extends AbstractAssetTest {
assertInvalidAddress("BBKzWdb2PhZyoRdePq8fs55fi");
assertInvalidAddress("vXwmVvzX6KMqfkBJXRXu4VUbgzPhLKdBSq");
}
}
}

View File

@ -18,7 +18,7 @@
package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class VeilTest extends AbstractAssetTest {

View File

@ -19,7 +19,7 @@ package bisq.asset.coins;
import bisq.asset.AbstractAssetTest;
import org.junit.Test;
import org.junit.jupiter.api.Test;
public class VertcoinTest extends AbstractAssetTest {

Some files were not shown because too many files have changed in this diff Show More