Commit fb890bd1 authored by Adam Knapp's avatar Adam Knapp
Browse files

Some improvements of the executor and fix of the timestamp bug


Signed-off-by: Adam Knapp's avatarAdam Knapp <adam.knapp@ericsson.com>
parent 0997ce5a
......@@ -353,7 +353,7 @@
</view>
<view
id="org.eclipse.titan.executor.views.testExecution.TestExecutionView"
name="TITAN test results" category="TITAN Monitor Category"
name="TITAN test results" category="TITAN Monitor Category"
class="org.eclipse.titan.executor.views.testexecution.TestExecutionView"
icon="icons/titan.gif">
</view>
......
......@@ -71,7 +71,7 @@ public final class TestExecutionView extends ViewPart implements ISelectionListe
table.setHeaderVisible(true);
TableColumn column = new TableColumn(table, SWT.LEFT, 0);
column.setText("reason");
column.setText("Reason");
column.setWidth(300);
final Image infoImage = ImageCache.getImage("information2.gif");
column.setImage(infoImage);
......@@ -79,21 +79,21 @@ public final class TestExecutionView extends ViewPart implements ISelectionListe
column.setAlignment(SWT.LEFT);
column = new TableColumn(table, SWT.LEFT, 0);
column.setText("verdict");
column.setText("Verdict");
column.setWidth(100);
column.setImage(infoImage);
column.setMoveable(true);
column.setAlignment(SWT.LEFT);
column = new TableColumn(table, SWT.LEFT, 0);
column.setText("testcase");
column.setText("Testcase");
column.setWidth(300);
column.setImage(infoImage);
column.setMoveable(true);
column.setAlignment(SWT.LEFT);
column = new TableColumn(table, SWT.LEFT, 0);
column.setText("timestamp");
column.setText("Timestamp");
column.setWidth(164);
column.setMoveable(true);
column.setAlignment(SWT.LEFT);
......
......@@ -1159,7 +1159,7 @@ public final class TTCN_Communication {
final String testcase_definition_name = local_incoming_buf.pull_string();
final int upper_int = local_incoming_buf.pull_int().get_int();
final int lower_int = local_incoming_buf.pull_int().get_int();
final long seconds = upper_int * 0xffffffff + lower_int;
final long seconds = (long)(upper_int * 0xffffffff + lower_int);
final int microSeconds = local_incoming_buf.pull_int().get_int();
local_incoming_buf.cut_message();
......
......@@ -1823,7 +1823,7 @@ public class MainController {
final int isAlive = text_buf.pull_int().get_int();
final int upper_int = text_buf.pull_int().get_int();
final int lower_int = text_buf.pull_int().get_int();
testcase_start_time_seconds = upper_int * 0xffffffffL + lower_int;
testcase_start_time_seconds = (long)(upper_int * 0xffffffff + lower_int);
testcase_start_time_microseconds = text_buf.pull_int().get_int();
final Host ptcLoc = choose_ptc_location(componentTypeName, componentName, componentLocation);
......@@ -5851,7 +5851,7 @@ public class MainController {
final Text_Buf text_buf = connection.text_buf;
final int upper_int = text_buf.pull_int().get_int();
final int lower_int = text_buf.pull_int().get_int();
final long seconds = upper_int * 0xffffffffL + lower_int;
final long seconds = (long)(upper_int * 0xffffffff + lower_int);
final int microseconds = text_buf.pull_int().get_int();
final String source = MessageFormat.format("<unknown>@{0}", connection.ip_address.getHostAddress());
final int severity = text_buf.pull_int().get_int();
......@@ -5866,7 +5866,7 @@ public class MainController {
final Text_Buf text_buf = hc.text_buf;
final int upper_int = text_buf.pull_int().get_int();
final int lower_int = text_buf.pull_int().get_int();
final long seconds = upper_int * 0xffffffffL + lower_int;
final long seconds = (long)(upper_int * 0xffffffff + lower_int);
final int microseconds = text_buf.pull_int().get_int();
final int severity = text_buf.pull_int().get_int();
......@@ -5881,7 +5881,7 @@ public class MainController {
final Text_Buf text_buf = tc.text_buf;
final int upper_int = text_buf.pull_int().get_int();
final int lower_int = text_buf.pull_int().get_int();
final long seconds = upper_int * 0xffffffffL + lower_int;
final long seconds = (long)(upper_int * 0xffffffff + lower_int);
final int microseconds = text_buf.pull_int().get_int();
final int severity = text_buf.pull_int().get_int();
......
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