![]() |
BakeoutController-Basic
0.1
A Controller for the Omicron vacuum chamber
|
Public Member Functions | |
void | setInputStreamData (String dataForDeviceToRead) |
String | getOutputStreamData () |
void | clear () |
![]() | |
InputStream | getInputStream () throws IOException |
OutputStream | getOutputStream () throws IOException |
Describes a test fixture that can both function as a kernel.serial_ports.PortCommunicator, and allow a test to read the results of what was written to the OutputStream.
This is meant to serve as a representation of what the device will be writing to.
The data that the device reads can be edited, and the data that the device wrote can be retrieved
Definition at line 16 of file DeviceCommunicator.java.
void unit.devices.DeviceCommunicator.clear | ( | ) |
Reset the streams to their initial configuration
Implemented in unit.devices.DevicesTestCase.CommunicationMonitor.
String unit.devices.DeviceCommunicator.getOutputStreamData | ( | ) |
Implemented in unit.devices.DevicesTestCase.CommunicationMonitor.
void unit.devices.DeviceCommunicator.setInputStreamData | ( | String | dataForDeviceToRead | ) |
dataForDeviceToRead | The data that the input stream will read |
Implemented in unit.devices.DevicesTestCase.CommunicationMonitor.
Git Repo |