|
|
|
@ -88,7 +88,6 @@ public class PantheonCommandTest extends CommandTestAbstract { |
|
|
|
|
any(), |
|
|
|
|
anyBoolean(), |
|
|
|
|
any(), |
|
|
|
|
anyInt(), |
|
|
|
|
anyString(), |
|
|
|
|
anyInt(), |
|
|
|
|
anyInt(), |
|
|
|
@ -131,7 +130,6 @@ public class PantheonCommandTest extends CommandTestAbstract { |
|
|
|
|
any(), |
|
|
|
|
eq(true), |
|
|
|
|
eq(MAINNET_BOOTSTRAP_NODES), |
|
|
|
|
eq(1), |
|
|
|
|
eq("127.0.0.1"), |
|
|
|
|
eq(30303), |
|
|
|
|
eq(25), |
|
|
|
@ -259,7 +257,6 @@ public class PantheonCommandTest extends CommandTestAbstract { |
|
|
|
|
any(), |
|
|
|
|
eq(false), |
|
|
|
|
stringListArgumentCaptor.capture(), |
|
|
|
|
eq(1), |
|
|
|
|
eq("1.2.3.4"), |
|
|
|
|
eq(1234), |
|
|
|
|
eq(42), |
|
|
|
@ -313,7 +310,6 @@ public class PantheonCommandTest extends CommandTestAbstract { |
|
|
|
|
any(), |
|
|
|
|
eq(true), |
|
|
|
|
eq(MAINNET_BOOTSTRAP_NODES), |
|
|
|
|
eq(1), |
|
|
|
|
eq("127.0.0.1"), |
|
|
|
|
eq(30303), |
|
|
|
|
eq(25), |
|
|
|
@ -372,17 +368,7 @@ public class PantheonCommandTest extends CommandTestAbstract { |
|
|
|
|
|
|
|
|
|
verify(mockRunnerBuilder) |
|
|
|
|
.build( |
|
|
|
|
any(), |
|
|
|
|
any(), |
|
|
|
|
eq(false), |
|
|
|
|
any(), |
|
|
|
|
anyInt(), |
|
|
|
|
anyString(), |
|
|
|
|
anyInt(), |
|
|
|
|
anyInt(), |
|
|
|
|
any(), |
|
|
|
|
any(), |
|
|
|
|
any()); |
|
|
|
|
any(), any(), eq(false), any(), anyString(), anyInt(), anyInt(), any(), any(), any()); |
|
|
|
|
|
|
|
|
|
assertThat(commandOutput.toString()).isEmpty(); |
|
|
|
|
assertThat(commandErrorOutput.toString()).isEmpty(); |
|
|
|
@ -408,7 +394,6 @@ public class PantheonCommandTest extends CommandTestAbstract { |
|
|
|
|
any(), |
|
|
|
|
anyBoolean(), |
|
|
|
|
stringListArgumentCaptor.capture(), |
|
|
|
|
anyInt(), |
|
|
|
|
anyString(), |
|
|
|
|
anyInt(), |
|
|
|
|
anyInt(), |
|
|
|
@ -435,7 +420,6 @@ public class PantheonCommandTest extends CommandTestAbstract { |
|
|
|
|
any(), |
|
|
|
|
anyBoolean(), |
|
|
|
|
any(), |
|
|
|
|
anyInt(), |
|
|
|
|
stringArgumentCaptor.capture(), |
|
|
|
|
intArgumentCaptor.capture(), |
|
|
|
|
anyInt(), |
|
|
|
@ -462,7 +446,6 @@ public class PantheonCommandTest extends CommandTestAbstract { |
|
|
|
|
any(), |
|
|
|
|
anyBoolean(), |
|
|
|
|
any(), |
|
|
|
|
anyInt(), |
|
|
|
|
anyString(), |
|
|
|
|
anyInt(), |
|
|
|
|
intArgumentCaptor.capture(), |
|
|
|
@ -509,7 +492,6 @@ public class PantheonCommandTest extends CommandTestAbstract { |
|
|
|
|
any(), |
|
|
|
|
anyBoolean(), |
|
|
|
|
any(), |
|
|
|
|
anyInt(), |
|
|
|
|
anyString(), |
|
|
|
|
anyInt(), |
|
|
|
|
anyInt(), |
|
|
|
@ -533,7 +515,6 @@ public class PantheonCommandTest extends CommandTestAbstract { |
|
|
|
|
any(), |
|
|
|
|
anyBoolean(), |
|
|
|
|
any(), |
|
|
|
|
anyInt(), |
|
|
|
|
anyString(), |
|
|
|
|
anyInt(), |
|
|
|
|
anyInt(), |
|
|
|
@ -557,7 +538,6 @@ public class PantheonCommandTest extends CommandTestAbstract { |
|
|
|
|
any(), |
|
|
|
|
anyBoolean(), |
|
|
|
|
any(), |
|
|
|
|
anyInt(), |
|
|
|
|
anyString(), |
|
|
|
|
anyInt(), |
|
|
|
|
anyInt(), |
|
|
|
@ -585,7 +565,6 @@ public class PantheonCommandTest extends CommandTestAbstract { |
|
|
|
|
any(), |
|
|
|
|
anyBoolean(), |
|
|
|
|
any(), |
|
|
|
|
anyInt(), |
|
|
|
|
anyString(), |
|
|
|
|
anyInt(), |
|
|
|
|
anyInt(), |
|
|
|
@ -611,7 +590,6 @@ public class PantheonCommandTest extends CommandTestAbstract { |
|
|
|
|
any(), |
|
|
|
|
anyBoolean(), |
|
|
|
|
any(), |
|
|
|
|
anyInt(), |
|
|
|
|
anyString(), |
|
|
|
|
anyInt(), |
|
|
|
|
anyInt(), |
|
|
|
@ -637,7 +615,6 @@ public class PantheonCommandTest extends CommandTestAbstract { |
|
|
|
|
any(), |
|
|
|
|
anyBoolean(), |
|
|
|
|
any(), |
|
|
|
|
anyInt(), |
|
|
|
|
anyString(), |
|
|
|
|
anyInt(), |
|
|
|
|
anyInt(), |
|
|
|
@ -663,7 +640,6 @@ public class PantheonCommandTest extends CommandTestAbstract { |
|
|
|
|
any(), |
|
|
|
|
anyBoolean(), |
|
|
|
|
any(), |
|
|
|
|
anyInt(), |
|
|
|
|
anyString(), |
|
|
|
|
anyInt(), |
|
|
|
|
anyInt(), |
|
|
|
@ -689,7 +665,6 @@ public class PantheonCommandTest extends CommandTestAbstract { |
|
|
|
|
any(), |
|
|
|
|
anyBoolean(), |
|
|
|
|
any(), |
|
|
|
|
anyInt(), |
|
|
|
|
anyString(), |
|
|
|
|
anyInt(), |
|
|
|
|
anyInt(), |
|
|
|
@ -761,7 +736,6 @@ public class PantheonCommandTest extends CommandTestAbstract { |
|
|
|
|
any(), |
|
|
|
|
anyBoolean(), |
|
|
|
|
any(), |
|
|
|
|
anyInt(), |
|
|
|
|
anyString(), |
|
|
|
|
anyInt(), |
|
|
|
|
anyInt(), |
|
|
|
@ -785,7 +759,6 @@ public class PantheonCommandTest extends CommandTestAbstract { |
|
|
|
|
any(), |
|
|
|
|
anyBoolean(), |
|
|
|
|
any(), |
|
|
|
|
anyInt(), |
|
|
|
|
anyString(), |
|
|
|
|
anyInt(), |
|
|
|
|
anyInt(), |
|
|
|
@ -809,7 +782,6 @@ public class PantheonCommandTest extends CommandTestAbstract { |
|
|
|
|
any(), |
|
|
|
|
anyBoolean(), |
|
|
|
|
any(), |
|
|
|
|
anyInt(), |
|
|
|
|
anyString(), |
|
|
|
|
anyInt(), |
|
|
|
|
anyInt(), |
|
|
|
@ -836,7 +808,6 @@ public class PantheonCommandTest extends CommandTestAbstract { |
|
|
|
|
any(), |
|
|
|
|
anyBoolean(), |
|
|
|
|
any(), |
|
|
|
|
anyInt(), |
|
|
|
|
anyString(), |
|
|
|
|
anyInt(), |
|
|
|
|
anyInt(), |
|
|
|
@ -855,6 +826,9 @@ public class PantheonCommandTest extends CommandTestAbstract { |
|
|
|
|
public void pantheonDoesNotStartInMiningModeIfCoinbaseNotSet() throws Exception { |
|
|
|
|
parseCommand("--miner-enabled"); |
|
|
|
|
|
|
|
|
|
final ArgumentCaptor<MiningParameters> miningArg = |
|
|
|
|
ArgumentCaptor.forClass(MiningParameters.class); |
|
|
|
|
|
|
|
|
|
verifyZeroInteractions(mockControllerBuilder); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|