Removed the "masterkey thing"

We will use proxies from RealWorld to GodWorld
This commit is contained in:
2018-12-08 11:11:08 +01:00
parent 137c6af75d
commit 6d24eb67b9
27 changed files with 423 additions and 374 deletions

View File

@ -39,36 +39,53 @@ import static org.junit.Assert.*;
* @author 7u83 <7u83@mail.ru>
*/
public class ExchangeTest {
public ExchangeTest() {
}
@BeforeClass
public static void setUpClass() {
}
@AfterClass
public static void tearDownClass() {
}
@Before
public void setUp() {
}
@After
public void tearDown() {
}
/**
* Test of createAccount method, of class Exchange.
*/
@Test
public void testCreateAccount() {
System.out.println("createAccount");
Exchange instance = new Exchange(null,(JSONObject)null);
WorldAdm worldadm = new opensesim.world.WorldAdm(new JSONObject(
"{ assets: [ "
+ "{"
+ "symbol: EUR,"
+ "name: Euro,"
+ "decimals: 2,"
+ "type: opensesim.sesim.Assets.CryptoCurrency"
+ "},"
+ "{"
+ "symbol: AAPL,"
+ "name: Apple,"
+ "decimals: 0,"
+ "type: opensesim.sesim.Assets.CryptoCurrency"
+ "}"
+ "]"
+ "}"
));
Exchange instance = new Exchange(null, (JSONObject) null);
Account expResult = null;
Account result = instance.createAccount();
assertEquals(expResult, result);
@ -76,7 +93,4 @@ public class ExchangeTest {
fail("The test case is a prototype.");
}
}

View File

@ -51,11 +51,11 @@ public class OrderTest {
public static void tearDownClass() {
}
World world;
RealWorld world;
@Before
public void setUp() {
world = new World(new JSONObject("{}"));
world = new RealWorld(new JSONObject("{}"));
}
@After