Skip to content
Permalink
Browse files

refactor test method name

  • Loading branch information...
silverailscolo committed Jun 17, 2019
1 parent 222bb9b commit 1a9e2e0544d373e8f4781f43b8131833e164600e
Showing with 44 additions and 13 deletions.
  1. +7 −0 java/test/jmri/jmrix/AbstractSerialPortControllerScaffold.java
  2. +1 −0 java/test/jmri/jmrix/acela/AcelaPortControllerTest.java
  3. +1 −2 java/test/jmri/jmrix/acela/serialdriver/ConnectionConfigTest.java
  4. +2 −3 java/test/jmri/jmrix/acela/serialdriver/SerialDriverAdapterTest.java
  5. +1 −0 java/test/jmri/jmrix/bachrus/SpeedoPortControllerTest.java
  6. +1 −2 java/test/jmri/jmrix/bachrus/serialdriver/ConnectionConfigTest.java
  7. +1 −2 java/test/jmri/jmrix/bachrus/serialdriver/SerialDriverAdapterTest.java
  8. +1 −0 java/test/jmri/jmrix/can/adapters/gridconnect/GcPortControllerTest.java
  9. +1 −0 java/test/jmri/jmrix/can/adapters/lawicell/PortControllerTest.java
  10. +2 −2 java/test/jmri/jmrix/cmri/serial/SerialPortAdapterTest.java
  11. +1 −0 java/test/jmri/jmrix/dcc4pc/Dcc4PcPortControllerTest.java
  12. +1 −0 java/test/jmri/jmrix/dccpp/DCCppSerialPortControllerTest.java
  13. +1 −0 java/test/jmri/jmrix/dccpp/DCCppSimulatorPortControllerTest.java
  14. +1 −0 java/test/jmri/jmrix/direct/PortControllerTest.java
  15. +1 −0 java/test/jmri/jmrix/easydcc/EasyDccPortControllerTest.java
  16. +1 −0 java/test/jmri/jmrix/grapevine/SerialPortControllerTest.java
  17. +1 −0 java/test/jmri/jmrix/ieee802154/IEEE802154PortControllerTest.java
  18. +1 −0 java/test/jmri/jmrix/lenz/XNetSerialPortControllerTest.java
  19. +1 −0 java/test/jmri/jmrix/lenz/XNetSimulatorPortControllerTest.java
  20. +1 −0 java/test/jmri/jmrix/loconet/LnPacketizerTest.java
  21. +1 −0 java/test/jmri/jmrix/loconet/LnPortControllerTest.java
  22. +1 −0 java/test/jmri/jmrix/maple/SerialPortControllerTest.java
  23. +1 −1 java/test/jmri/jmrix/maple/SerialTrafficControllerTest.java
  24. +1 −0 java/test/jmri/jmrix/mrc/MrcPortControllerTest.java
  25. +1 −0 java/test/jmri/jmrix/nce/NcePortControllerTest.java
  26. +1 −0 java/test/jmri/jmrix/oaktree/SerialPortControllerTest.java
  27. +1 −0 java/test/jmri/jmrix/powerline/SerialPortControllerTest.java
  28. +1 −0 java/test/jmri/jmrix/qsi/QsiPortControllerTest.java
  29. +1 −0 java/test/jmri/jmrix/rfid/RfidPortControllerTest.java
  30. +1 −0 java/test/jmri/jmrix/secsi/SerialPortControllerTest.java
  31. +1 −0 java/test/jmri/jmrix/sprog/SprogPortControllerTest.java
  32. +1 −0 java/test/jmri/jmrix/tams/TamsPortControllerTest.java
  33. +2 −1 java/test/jmri/jmrix/tmcc/SerialPortControllerTest.java
  34. +1 −0 java/test/jmri/jmrix/xpa/XpaPortControllerTest.java
  35. +1 −0 java/test/jmri/jmrix/zimo/Mx1PortControllerTest.java
@@ -64,6 +64,7 @@ public DataOutputStream getOutputStream() {
public boolean status() {
return true;
}

/**
* Get an array of valid baud rates; used to display valid options.
*/
@@ -73,6 +74,12 @@ public boolean status() {
return retval;
}

@Override
public int[] validBaudNumbers() {
int[] retval = {9600};
return retval;
}

/**
* Open a specified port. The appName argument is to be provided to the
* underlying OS during startup so that it can show on status displays, etc.
@@ -42,6 +42,7 @@ public void configure(){
String[] retval = {"9600"};
return retval;
}

/**
* Open a specified port. The appname argument is to be provided to the
* underlying OS during startup so that it can show on status displays, etc
@@ -10,8 +10,7 @@
* Tests for ConnectionConfig class.
*
* @author Paul Bender Copyright (C) 2016
**/

*/
public class ConnectionConfigTest extends jmri.jmrix.AbstractSerialConnectionConfigTestBase {

@Before
@@ -10,13 +10,12 @@
* Tests for SerialDriverAdapter class.
*
* @author Paul Bender Copyright (C) 2016
**/

*/
public class SerialDriverAdapterTest {

@Test
public void ConstructorTest(){
Assert.assertNotNull("SerialDriverAdapter constructor",new SerialDriverAdapter());
Assert.assertNotNull("SerialDriverAdapter constructor", new SerialDriverAdapter());
}

@Before
@@ -42,6 +42,7 @@ public void configure(){
String[] retval = {"9600"};
return retval;
}

/**
* Open a specified port. The appname argument is to be provided to the
* underlying OS during startup so that it can show on status displays, etc
@@ -10,8 +10,7 @@
* Tests for ConnectionConfig class.
*
* @author Paul Bender Copyright (C) 2016
**/

*/
public class ConnectionConfigTest extends jmri.jmrix.AbstractSerialConnectionConfigTestBase {

@Before
@@ -10,8 +10,7 @@
* Tests for SerialDriverAdapter class.
*
* @author Paul Bender Copyright (C) 2016
**/

*/
public class SerialDriverAdapterTest {

@Test
@@ -43,6 +43,7 @@ public void configure(){
String[] retval = {"9600"};
return retval;
}

/**
* Open a specified port. The appname argument is to be provided to the
* underlying OS during startup so that it can show on status displays, etc
@@ -42,6 +42,7 @@ public void configure(){
String[] retval = {"9600"};
return retval;
}

/**
* Open a specified port. The appname argument is to be provided to the
* underlying OS during startup so that it can show on status displays, etc
@@ -5,8 +5,7 @@
import org.junit.Before;

/**
* JUnit tests for the SerialPortAdapter class
* <p>
* JUnit tests for the SerialPortAdapter class.
*
* @author Paul Bender Copyright (C) 2016
*/
@@ -48,6 +47,7 @@ public void configure(){
String[] retval = {"9600"};
return retval;
}

/**
* Open a specified port. The appname argument is to be provided to the
* underlying OS during startup so that it can show on status displays, etc
@@ -47,6 +47,7 @@ public void configure(){
String[] retval = {"9600"};
return retval;
}

/**
* Open a specified port. The appname argument is to be provided to the
* underlying OS during startup so that it can show on status displays, etc
@@ -43,6 +43,7 @@ public void configure(){
String[] retval = {"9600"};
return retval;
}

/**
* Open a specified port. The appname argument is to be provided to the
* underlying OS during startup so that it can show on status displays, etc
@@ -43,6 +43,7 @@ public void configure(){
String[] retval = {"9600"};
return retval;
}

/**
* Open a specified port. The appname argument is to be provided to the
* underlying OS during startup so that it can show on status displays, etc
@@ -40,6 +40,7 @@ public void configure(){
String[] retval = {"9600"};
return retval;
}

/**
* Open a specified port. The appName argument is to be provided to the
* underlying OS during startup so that it can show on status displays, etc.
@@ -45,6 +45,7 @@ public void configure(){
String[] retval = {"9600"};
return retval;
}

/**
* Open a specified port. The appname argument is to be provided to the
* underlying OS during startup so that it can show on status displays, etc
@@ -46,6 +46,7 @@ public void configure(){
String[] retval = {"9600"};
return retval;
}

/**
* Open a specified port. The appname argument is to be provided to the
* underlying OS during startup so that it can show on status displays, etc
@@ -42,6 +42,7 @@ public void configure(){
String[] retval = {"9600"};
return retval;
}

/**
* Open a specified port. The appname argument is to be provided to the
* underlying OS during startup so that it can show on status displays, etc
@@ -43,6 +43,7 @@ public void configure(){
String[] retval = {"9600"};
return retval;
}

/**
* Open a specified port. The appname argument is to be provided to the
* underlying OS during startup so that it can show on status displays, etc
@@ -43,6 +43,7 @@ public void configure(){
String[] retval = {"9600"};
return retval;
}

/**
* Open a specified port. The appname argument is to be provided to the
* underlying OS during startup so that it can show on status displays, etc
@@ -55,6 +55,7 @@ public void configure(){
String[] retval = {"9600"};
return retval;
}

/**
* Open a specified port. The appname argument is to be provided to the
* underlying OS during startup so that it can show on status displays, etc
@@ -44,6 +44,7 @@ public void configure(){
String[] retval = {"9600"};
return retval;
}

/**
* Open a specified port. The appname argument is to be provided to the
* underlying OS during startup so that it can show on status displays, etc
@@ -46,6 +46,7 @@ public void configure(){
String[] retval = {"9600"};
return retval;
}

/**
* Open a specified port. The appname argument is to be provided to the
* underlying OS during startup so that it can show on status displays, etc
@@ -104,7 +104,7 @@ public void configure() {
}

@Override
public int[] validBaudNumber() {
public int[] validBaudNumbers() {
return null;
}

@@ -43,6 +43,7 @@ public void configure(){
String[] retval = {"9600"};
return retval;
}

/**
* Open a specified port. The appname argument is to be provided to the
* underlying OS during startup so that it can show on status displays, etc
@@ -47,6 +47,7 @@ public void configure(){
String[] retval = {"9600"};
return retval;
}

/**
* Open a specified port. The appname argument is to be provided to the
* underlying OS during startup so that it can show on status displays, etc
@@ -47,6 +47,7 @@ public void configure(){
String[] retval = {"9600"};
return retval;
}

/**
* Open a specified port. The appname argument is to be provided to the
* underlying OS during startup so that it can show on status displays, etc
@@ -47,6 +47,7 @@ public void configure(){
String[] retval = {"9600"};
return retval;
}

/**
* Open a specified port. The appname argument is to be provided to the
* underlying OS during startup so that it can show on status displays, etc
@@ -43,6 +43,7 @@ public void configure(){
String[] retval = {"9600"};
return retval;
}

/**
* Open a specified port. The appname argument is to be provided to the
* underlying OS during startup so that it can show on status displays, etc
@@ -50,6 +50,7 @@ public void configure(){
String[] retval = {"9600"};
return retval;
}

/**
* Open a specified port. The appname argument is to be provided to the
* underlying OS during startup so that it can show on status displays, etc
@@ -46,6 +46,7 @@ public void configure(){
String[] retval = {"9600"};
return retval;
}

/**
* Open a specified port. The appname argument is to be provided to the
* underlying OS during startup so that it can show on status displays, etc
@@ -44,6 +44,7 @@ public void configure(){
String[] retval = {"9600"};
return retval;
}

/**
* Open a specified port. The appname argument is to be provided to the
* underlying OS during startup so that it can show on status displays, etc
@@ -47,6 +47,7 @@ public void configure(){
String[] retval = {"9600"};
return retval;
}

/**
* Open a specified port. The appname argument is to be provided to the
* underlying OS during startup so that it can show on status displays, etc
@@ -46,8 +46,9 @@ public void configure(){
String[] retval = {"9600"};
return retval;
}

/**
* Open a specified port. The appname argument is to be provided to the
* Open a specified port. The appName argument is to be provided to the
* underlying OS during startup so that it can show on status displays, etc
*/
@Override
@@ -43,6 +43,7 @@ public void configure(){
String[] retval = {"9600"};
return retval;
}

/**
* Open a specified port. The appname argument is to be provided to the
* underlying OS during startup so that it can show on status displays, etc
@@ -55,6 +55,7 @@ public boolean okToSend(){
String[] retval = {"9600"};
return retval;
}

/**
* Open a specified port. The appname argument is to be provided to the
* underlying OS during startup so that it can show on status displays, etc

0 comments on commit 1a9e2e0

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