mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 09:52:23 +01:00
999e9ec93b
The Scaffold set up was calling System.exit(1) when it encountered a configuration error, or a problem starting bitcoind & bisq instances. This incorrect error handling was hiding errors from gradle, and preventing tests that would otherwise successfully complete. This change fixes the problem by throwing an IllegalStateException up to the test case's @BeforeClass method -- to be caught and used in a JUnit fail(ex) call. An 'initializationError' triggered in @BeforeClass correctly bubbles up to gradle, and will not block execution of remaining tests. A gradle Test Summary containing any initialization errors is also produced in <project-dir>/apitest/build/reports/tests/test/index.html This change also fixes many import statements and asserts to ensure 'org.junit.jupiter.api.*' is used in place of 'org.junit.*', for proper gradle integration. |
||
---|---|---|
.. | ||
scripts | ||
src | ||
dao-setup.gradle |