Commit e4e84d6e authored by Kristof Szabados's avatar Kristof Szabados
Browse files

debug breadcrumbs are no longer needed.


Signed-off-by: Kristof Szabados's avatarKristof Szabados <Kristof.Szabados@ericsson.com>
parent f9faee2a
...@@ -32,7 +32,6 @@ import org.eclipse.swt.widgets.Display; ...@@ -32,7 +32,6 @@ import org.eclipse.swt.widgets.Display;
import org.eclipse.titan.common.logging.ErrorReporter; import org.eclipse.titan.common.logging.ErrorReporter;
import org.eclipse.titan.common.parsers.cfg.CfgLexer; import org.eclipse.titan.common.parsers.cfg.CfgLexer;
import org.eclipse.titan.common.parsers.cfg.ConfigFileHandler; import org.eclipse.titan.common.parsers.cfg.ConfigFileHandler;
import org.eclipse.titan.designer.consoles.TITANDebugConsole;
import org.eclipse.titan.executor.Activator; import org.eclipse.titan.executor.Activator;
import org.eclipse.titan.executor.GeneralConstants; import org.eclipse.titan.executor.GeneralConstants;
import org.eclipse.titan.executor.TITANConsole; import org.eclipse.titan.executor.TITANConsole;
...@@ -99,12 +98,10 @@ public class NativeJavaExecutor extends BaseExecutor { ...@@ -99,12 +98,10 @@ public class NativeJavaExecutor extends BaseExecutor {
@Override @Override
public void initialize() { public void initialize() {
TITANDebugConsole.println("NativeJavaUI.initialize called");
} }
@Override @Override
public int enterLoop(final String[] args) { public int enterLoop(final String[] args) {
TITANDebugConsole.println("NativeJavaUI.enterLoop called");
return 0; return 0;
} }
...@@ -115,7 +112,6 @@ public class NativeJavaExecutor extends BaseExecutor { ...@@ -115,7 +112,6 @@ public class NativeJavaExecutor extends BaseExecutor {
@Override @Override
public void error(final int severity, final String message) { public void error(final int severity, final String message) {
TITANDebugConsole.println("NativeJavaUI.error called");
} }
@Override @Override
...@@ -125,7 +121,6 @@ public class NativeJavaExecutor extends BaseExecutor { ...@@ -125,7 +121,6 @@ public class NativeJavaExecutor extends BaseExecutor {
@Override @Override
public void executeBatchFile(final String filename) { public void executeBatchFile(final String filename) {
TITANDebugConsole.println("NativeJavaUI.executeBatchFile called");
} }
} }
...@@ -251,7 +246,6 @@ public class NativeJavaExecutor extends BaseExecutor { ...@@ -251,7 +246,6 @@ public class NativeJavaExecutor extends BaseExecutor {
NativeJavaUI tempUI = new NativeJavaUI(this); NativeJavaUI tempUI = new NativeJavaUI(this);
mainController = new MainController(); mainController = new MainController();
mainController.initialize(tempUI, 1500);// mx_ptcs mainController.initialize(tempUI, 1500);// mx_ptcs
TITANDebugConsole.println("initialize called");
setRunning(true); setRunning(true);
...@@ -473,7 +467,6 @@ public class NativeJavaExecutor extends BaseExecutor { ...@@ -473,7 +467,6 @@ public class NativeJavaExecutor extends BaseExecutor {
* Handles a status change reported by the MainController. * Handles a status change reported by the MainController.
* */ * */
public void statusChangeCallback() { public void statusChangeCallback() {
TITANDebugConsole.println("statusChangeCallback called");
final MainController.mcStateEnum state = mainController.get_state(); final MainController.mcStateEnum state = mainController.get_state();
switch (state) { switch (state) {
case MC_LISTENING: case MC_LISTENING:
...@@ -658,7 +651,6 @@ public class NativeJavaExecutor extends BaseExecutor { ...@@ -658,7 +651,6 @@ public class NativeJavaExecutor extends BaseExecutor {
* They are also started if no HostControler was connected. * They are also started if no HostControler was connected.
* */ * */
private void configure() { private void configure() {
TITANDebugConsole.println("configure called");
configureRequested = true; configureRequested = true;
final MainController.mcStateEnum state = mainController.get_state(); final MainController.mcStateEnum state = mainController.get_state();
if (MainController.mcStateEnum.MC_HC_CONNECTED != state && MainController.mcStateEnum.MC_ACTIVE != state) { if (MainController.mcStateEnum.MC_HC_CONNECTED != state && MainController.mcStateEnum.MC_ACTIVE != state) {
...@@ -678,7 +670,6 @@ public class NativeJavaExecutor extends BaseExecutor { ...@@ -678,7 +670,6 @@ public class NativeJavaExecutor extends BaseExecutor {
* creating the MainTestComponent. * creating the MainTestComponent.
* */ * */
private void createMTC() { private void createMTC() {
TITANDebugConsole.println("createMTC called");
createMTCRequested = true; createMTCRequested = true;
final MainController.mcStateEnum state = mainController.get_state(); final MainController.mcStateEnum state = mainController.get_state();
if (MainController.mcStateEnum.MC_ACTIVE != state) { if (MainController.mcStateEnum.MC_ACTIVE != state) {
...@@ -705,7 +696,6 @@ public class NativeJavaExecutor extends BaseExecutor { ...@@ -705,7 +696,6 @@ public class NativeJavaExecutor extends BaseExecutor {
* step-by-step. * step-by-step.
* */ * */
private void startTest(final boolean automaticExecution) { private void startTest(final boolean automaticExecution) {
TITANDebugConsole.println("startTest called");
boolean invalidSelection = false; boolean invalidSelection = false;
do { do {
if (automaticExecution && configFilePath != null && configFilePath.length() != 0 && !invalidSelection) { if (automaticExecution && configFilePath != null && configFilePath.length() != 0 && !invalidSelection) {
...@@ -805,7 +795,6 @@ public class NativeJavaExecutor extends BaseExecutor { ...@@ -805,7 +795,6 @@ public class NativeJavaExecutor extends BaseExecutor {
* Also creates the MainTestComponent if needed. * Also creates the MainTestComponent if needed.
* */ * */
private void executeNextTest() { private void executeNextTest() {
TITANDebugConsole.println("executeNextTest called");
final MainController.mcStateEnum state = mainController.get_state(); final MainController.mcStateEnum state = mainController.get_state();
if (MainController.mcStateEnum.MC_READY != state) { if (MainController.mcStateEnum.MC_READY != state) {
createMTC(); createMTC();
...@@ -840,7 +829,6 @@ public class NativeJavaExecutor extends BaseExecutor { ...@@ -840,7 +829,6 @@ public class NativeJavaExecutor extends BaseExecutor {
* Also stops the execution if it was not done yet. * Also stops the execution if it was not done yet.
* */ * */
private void exitMTC() { private void exitMTC() {
TITANDebugConsole.println("exitMTC called");
final MainController.mcStateEnum state = mainController.get_state(); final MainController.mcStateEnum state = mainController.get_state();
if (MainController.mcStateEnum.MC_EXECUTING_CONTROL == state || MainController.mcStateEnum.MC_EXECUTING_TESTCASE == state if (MainController.mcStateEnum.MC_EXECUTING_CONTROL == state || MainController.mcStateEnum.MC_EXECUTING_TESTCASE == state
|| MainController.mcStateEnum.MC_PAUSED == state) { || MainController.mcStateEnum.MC_PAUSED == state) {
...@@ -862,7 +850,6 @@ public class NativeJavaExecutor extends BaseExecutor { ...@@ -862,7 +850,6 @@ public class NativeJavaExecutor extends BaseExecutor {
* */ * */
@Override @Override
protected void shutdownSession() { protected void shutdownSession() {
TITANDebugConsole.println("shutdownSession called");
shutdownRequested = true; shutdownRequested = true;
simpleExecutionRunning = false; simpleExecutionRunning = false;
final MainController.mcStateEnum state = mainController.get_state(); final MainController.mcStateEnum state = mainController.get_state();
...@@ -967,7 +954,6 @@ public class NativeJavaExecutor extends BaseExecutor { ...@@ -967,7 +954,6 @@ public class NativeJavaExecutor extends BaseExecutor {
* This function changes the status of the user interface elements. * This function changes the status of the user interface elements.
*/ */
private void updateGUI() { private void updateGUI() {
TITANDebugConsole.println("updateGUI called");
final MainController.mcStateEnum stateValue = mainController.get_state(); final MainController.mcStateEnum stateValue = mainController.get_state();
automaticExecution.setEnabled(!isTerminated && executeList.isEmpty()); automaticExecution.setEnabled(!isTerminated && executeList.isEmpty());
...@@ -1023,7 +1009,6 @@ public class NativeJavaExecutor extends BaseExecutor { ...@@ -1023,7 +1009,6 @@ public class NativeJavaExecutor extends BaseExecutor {
@Override @Override
public void terminate(final boolean external) { public void terminate(final boolean external) {
TITANDebugConsole.println("terminate called");
final MainController.mcStateEnum state = mainController.get_state(); final MainController.mcStateEnum state = mainController.get_state();
if (MainController.mcStateEnum.MC_INACTIVE == state) { if (MainController.mcStateEnum.MC_INACTIVE == state) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment