|
|
@ -58,11 +58,20 @@ TestCase |
|
|
|
ts.keyPressChar(mainApplication, "S", Qt.ControlModifier, 200); //Ctrl+S |
|
|
|
} |
|
|
|
|
|
|
|
function waitForMining() |
|
|
|
{ |
|
|
|
while (mainApplication.clientModel.mining) |
|
|
|
ts.waitForSignal(mainApplication.clientModel, "miningComplete()", 5000); |
|
|
|
wait(1); //allow events to propagate 2 times for transaction log to be updated |
|
|
|
wait(1); |
|
|
|
} |
|
|
|
|
|
|
|
function waitForExecution() |
|
|
|
{ |
|
|
|
while (mainApplication.clientModel.running) |
|
|
|
ts.waitForSignal(mainApplication.clientModel, "runComplete()", 5000); |
|
|
|
wait(1); //allow events to propagate 2 times for transaction log to be updated |
|
|
|
wait(1); |
|
|
|
} |
|
|
|
|
|
|
|
function editHtml(c) |
|
|
@ -89,6 +98,7 @@ TestCase |
|
|
|
function test_dbg_vm() { TestDebugger.test_vmDebugging(); } |
|
|
|
function test_miner_getDefaultiner() { TestMiner.test_getDefaultMiner(); } |
|
|
|
function test_miner_selectMiner() { TestMiner.test_selectMiner(); } |
|
|
|
function test_miner_mine() { TestMiner.test_mine(); } |
|
|
|
function test_project_contractRename() { TestProject.test_contractRename(); } |
|
|
|
} |
|
|
|
|
|
|
|