BakeoutController-Basic  0.1
A Controller for the Omicron vacuum chamber
RXTXPortConfigurationTestCase.java
1 package unit.kernel.serial_ports.rxtx_port_configuration;
2 
5 import org.junit.Before;
7 
12 public abstract class RXTXPortConfigurationTestCase extends
14 
15  protected final int baudRate = PortConfiguration.BAUD_RATE_9600;
16  protected final int stopBits = PortConfiguration.STOPBITS_1;
17  protected final int dataBits = PortConfiguration.DATABITS_8;
18  protected final int parityBits = PortConfiguration.PARITY_NONE;
19 
20  protected RXTXPortConfiguration portConfiguration;
21 
22 
23  @Before
24  public void setUpPortConfiguration(){
25  this.portConfiguration = new RXTXPortConfiguration(
26  baudRate, stopBits, dataBits, parityBits
27  );
28  }
29 }
Git Repo