Skip to content
Permalink
Browse files

simulator adapters need to override getCurrentPortName

  • Loading branch information...
pabender committed Oct 17, 2018
1 parent 3603361 commit dd8b04c5cb3a160b0782fef9f370b48aed6f3655
@@ -182,6 +182,11 @@ public String getCurrentBaudRate() {
return "";
}

@Override
public String getCurrentPortName(){
return "";
}

@Override
public void run() { // start a new thread
// This thread has one task. It repeatedly reads from the input pipe
@@ -177,6 +177,11 @@ public String getCurrentBaudRate() {
return "";
}

@Override
public String getCurrentPortName(){
return "";
}

@Override
public void run() { // start a new thread
// This thread has one task. It repeatedly reads from the input pipe
@@ -199,6 +199,11 @@ public String getCurrentBaudRate() {
return "";
}

@Override
public String getCurrentPortName(){
return "";
}

@Override
public void run() { // start a new thread
// This thread has one task. It repeatedly reads from the input pipe
@@ -179,6 +179,11 @@ public String getCurrentBaudRate() {
return "";
}

@Override
public String getCurrentPortName(){
return "";
}

@Override
public void run() { // start a new thread
// This thread has one task. It repeatedly reads from the input pipe
@@ -114,6 +114,11 @@ public String getCurrentBaudRate() {
return "";
}

@Override
public String getCurrentPortName(){
return "";
}

@Override
public void run() { // start a new thread
// This thread has one task. It repeatedly reads from the input pipe
@@ -225,6 +225,11 @@ public String getCurrentBaudRate() {
return "";
}

@Override
public String getCurrentPortName(){
return "";
}

@Override
public void run() { // start a new thread
// This thread has one task. It repeatedly reads from the input pipe
@@ -178,6 +178,11 @@ public String getCurrentBaudRate() {
return "";
}

@Override
public String getCurrentPortName(){
return "";
}

@Override
public void run() { // start a new thread
// This thread has one task. It repeatedly reads from the input pipe
@@ -116,6 +116,11 @@ public String getCurrentBaudRate() {
return "";
}

@Override
public String getCurrentPortName(){
return "";
}

@Override
public void run() { // start a new thread
// Simulator thread just reports start and ends
@@ -178,6 +178,11 @@ public String getCurrentBaudRate() {
return "";
}

@Override
public String getCurrentPortName(){
return "";
}

@Override
public void run() { // start a new thread
// This thread has one task. It repeatedly reads from the input pipe
@@ -201,6 +201,11 @@ public String getCurrentBaudRate() {
return "";
}

@Override
public String getCurrentPortName(){
return "";
}

@Override
public void run() { // start a new thread
// This thread has one task. It repeatedly reads from the input pipe
@@ -116,6 +116,11 @@ public String getCurrentBaudRate() {
return "";
}

@Override
public String getCurrentPortName(){
return "";
}

@Override
public void run() { // start a new thread
// This thread has one task. It repeatedly reads from the input pipe
@@ -178,6 +178,11 @@ public String getCurrentBaudRate() {
return "";
}

@Override
public String getCurrentPortName(){
return "";
}

@Override
public void run() { // start a new thread
// This thread has one task. It repeatedly reads from the input pipe
@@ -27,9 +27,9 @@ public void setUp() {
@After
@Override
public void tearDown() {
JUnitUtil.tearDown();
xmlAdapter = null;
cc = null;
JUnitUtil.tearDown();
}
}

@@ -23,11 +23,6 @@ public void getInstanceTest() {
public void storeTest(){
Assume.assumeNotNull(cc);
cc.loadDetails(new JPanel());
// load details MAY produce an error message if no ports are found.
// this is technically only required for serial ConnectionConfig objects
// but until we track down the non-serial ones generating the message
// we will suppress it here.
jmri.util.JUnitAppender.suppressErrorMessage("No usable ports returned");
Element e = xmlAdapter.store(cc);
Assert.assertNotNull("XML Element Produced",e);
}

0 comments on commit dd8b04c

Please sign in to comment.
You can’t perform that action at this time.