()
| 32 | static Exchange exchange; |
| 33 | |
| 34 | @BeforeAll |
| 35 | static void setup() { |
| 36 | // Use a WS exchange class — dynamically so it works without generated pro/ files |
| 37 | try { |
| 38 | exchange = (Exchange) Class.forName("io.github.ccxt.exchanges.pro.Binance") |
| 39 | .getDeclaredConstructor().newInstance(); |
| 40 | } catch (Exception e) { |
| 41 | exchange = Exchange.dynamicallyCreateInstance("binance", null); |
| 42 | } |
| 43 | exchange.verbose = false; |
| 44 | exchange.loadMarkets().join(); |
| 45 | } |
| 46 | |
| 47 | @Test |
| 48 | @Timeout(value = 30, unit = TimeUnit.SECONDS) |
nothing calls this directly
no test coverage detected