Skip navigation links
B C D G I J K L M O P R S T 

B

BinaryStringFormatterTest - Class in org.chabala.brick.controllab.sensor
BinaryStringFormatterTest() - Constructor for class org.chabala.brick.controllab.sensor.BinaryStringFormatterTest
 

C

choosePort(ControlLab) - Static method in class org.chabala.brick.controllab.PortChooser
Picks the first available serial port based on what the serial library finds.
choosePort(ControlLab, int) - Static method in class org.chabala.brick.controllab.PortChooser
Picks the Nth available serial port based on what the serial library finds.
ControlLabIT - Class in org.chabala.brick.controllab
Integration tests for the ControlLab.
ControlLabIT() - Constructor for class org.chabala.brick.controllab.ControlLabIT
 
ControlLabTest - Class in org.chabala.brick.controllab
Testing the ControlLab.
ControlLabTest() - Constructor for class org.chabala.brick.controllab.ControlLabTest
 

D

DirectionTest - Class in org.chabala.brick.controllab
Testing Direction.
DirectionTest() - Constructor for class org.chabala.brick.controllab.DirectionTest
 

G

get(Class<T>) - Method in class org.chabala.brick.controllab.RandomEnum
 
getAvailablePorts() - Method in class org.chabala.brick.controllab.JsscSerialPortFactoryTest
 
getSerialPort() - Method in class org.chabala.brick.controllab.JsscSerialPortFactoryTest
 

I

InputIdTest - Class in org.chabala.brick.controllab
Testing InputId.
InputIdTest() - Constructor for class org.chabala.brick.controllab.InputIdTest
 
InputTest - Class in org.chabala.brick.controllab
Testing Input.
InputTest() - Constructor for class org.chabala.brick.controllab.InputTest
 

J

JsscSerialPortFactoryTest - Class in org.chabala.brick.controllab
JsscSerialPortFactoryTest() - Constructor for class org.chabala.brick.controllab.JsscSerialPortFactoryTest
 
JsscSerialPortTest - Class in org.chabala.brick.controllab
JsscSerialPortTest() - Constructor for class org.chabala.brick.controllab.JsscSerialPortTest
 

K

KeepAliveMonitorTest - Class in org.chabala.brick.controllab
Testing the KeepAliveMonitor.
KeepAliveMonitorTest() - Constructor for class org.chabala.brick.controllab.KeepAliveMonitorTest
 

L

LightSensorListenerTest - Class in org.chabala.brick.controllab.sensor
LightSensorListenerTest() - Constructor for class org.chabala.brick.controllab.sensor.LightSensorListenerTest
 

M

MultipleControlLabIT - Class in org.chabala.brick.controllab
Integration tests for working with multiple control labs.
MultipleControlLabIT() - Constructor for class org.chabala.brick.controllab.MultipleControlLabIT
 

O

org.chabala.brick.controllab - package org.chabala.brick.controllab
 
org.chabala.brick.controllab.sensor - package org.chabala.brick.controllab.sensor
 
OutputIdTest - Class in org.chabala.brick.controllab
Test the encoding and decoding methods of OutputId.
OutputIdTest() - Constructor for class org.chabala.brick.controllab.OutputIdTest
 
OutputTest - Class in org.chabala.brick.controllab
Testing Output.
OutputTest() - Constructor for class org.chabala.brick.controllab.OutputTest
 
OVERRIDE_TEST_PORT_PROPERTY - Static variable in class org.chabala.brick.controllab.PortChooser
System property to override the IT serial port with a specific port identifier.

P

PortChooser - Class in org.chabala.brick.controllab
Intergration tests use this class to pick a serial port to connect to.
PowerLevelTest - Class in org.chabala.brick.controllab
Testing PowerLevel.
PowerLevelTest() - Constructor for class org.chabala.brick.controllab.PowerLevelTest
 

R

RandomEnum - Class in org.chabala.brick.controllab
Helper for choosing random enum instances for tests.
RandomEnum() - Constructor for class org.chabala.brick.controllab.RandomEnum
 
rule - Variable in class org.chabala.brick.controllab.ControlLabTest
 
rule - Variable in class org.chabala.brick.controllab.InputTest
 
rule - Variable in class org.chabala.brick.controllab.JsscSerialPortTest
 
rule - Variable in class org.chabala.brick.controllab.KeepAliveMonitorTest
 
rule - Variable in class org.chabala.brick.controllab.OutputTest
 
rule - Variable in class org.chabala.brick.controllab.sensor.LightSensorListenerTest
 
rule - Variable in class org.chabala.brick.controllab.sensor.TouchSensorListenerTest
 
rule - Variable in class org.chabala.brick.controllab.StopButtonTest
 

S

SensorValueTest - Class in org.chabala.brick.controllab.sensor
Testing SensorValue.
SensorValueTest() - Constructor for class org.chabala.brick.controllab.sensor.SensorValueTest
 
setUp() - Method in class org.chabala.brick.controllab.ControlLabTest
 
setUp() - Method in class org.chabala.brick.controllab.InputTest
 
setUp() - Method in class org.chabala.brick.controllab.JsscSerialPortFactoryTest
 
setUp() - Method in class org.chabala.brick.controllab.JsscSerialPortTest
 
setUp() - Method in class org.chabala.brick.controllab.OutputTest
 
setUp() - Method in class org.chabala.brick.controllab.StopButtonTest
 
StopButtonTest - Class in org.chabala.brick.controllab
Testing the StopButton.
StopButtonTest() - Constructor for class org.chabala.brick.controllab.StopButtonTest
 

T

tearDown() - Method in class org.chabala.brick.controllab.ControlLabTest
 
tearDown() - Method in class org.chabala.brick.controllab.InputTest
 
tearDown() - Method in class org.chabala.brick.controllab.OutputTest
 
tearDown() - Method in class org.chabala.brick.controllab.StopButtonTest
 
testAddEventListenerDelegatesToJssc() - Method in class org.chabala.brick.controllab.JsscSerialPortTest
 
testAddEventListenerOnlyThrowsIOExceptions() - Method in class org.chabala.brick.controllab.JsscSerialPortTest
 
testAddListener() - Method in class org.chabala.brick.controllab.InputTest
 
testAllOutputSetEncodesByteWithAllBitsSet() - Method in class org.chabala.brick.controllab.OutputIdTest
 
testByteWithAllBitsSetDecodesToAllOutputs() - Method in class org.chabala.brick.controllab.OutputIdTest
 
testByteWithEvenBitsSetDecodesToOutputsBDFH() - Method in class org.chabala.brick.controllab.OutputIdTest
 
testByteWithHighBitSetDecodesToOutputH() - Method in class org.chabala.brick.controllab.OutputIdTest
 
testByteWithLowBitSetDecodesToOutputA() - Method in class org.chabala.brick.controllab.OutputIdTest
 
testCloseOnlyThrowsIOExceptions() - Method in class org.chabala.brick.controllab.JsscSerialPortTest
 
testClosePreventsKeepAlives() - Method in class org.chabala.brick.controllab.KeepAliveMonitorTest
 
testCloseWhenClosed() - Method in class org.chabala.brick.controllab.JsscSerialPortTest
 
testCloseWhenOpen() - Method in class org.chabala.brick.controllab.JsscSerialPortTest
 
testControlLabInputs() - Method in class org.chabala.brick.controllab.ControlLabIT
 
testControlLabInputsRaw() - Method in class org.chabala.brick.controllab.ControlLabIT
 
testControlLabOutputs() - Method in class org.chabala.brick.controllab.ControlLabIT
 
testDescendingRange() - Method in class org.chabala.brick.controllab.ControlLabIT
 
testEveryDirectionHasAUniqueCode() - Method in class org.chabala.brick.controllab.DirectionTest
 
testEveryPowerLevelHasAUniqueCode() - Method in class org.chabala.brick.controllab.PowerLevelTest
 
testFluentOutputControl() - Method in class org.chabala.brick.controllab.ControlLabIT
 
testGetAvailablePorts() - Method in class org.chabala.brick.controllab.ControlLabTest
 
testGetConnectedPortNameWhenConnected() - Method in class org.chabala.brick.controllab.ControlLabTest
 
testGetConnectedPortNameWhenNotConnected() - Method in class org.chabala.brick.controllab.ControlLabTest
 
testGetOutput() - Method in class org.chabala.brick.controllab.ControlLabTest
 
testGetOutputGroup() - Method in class org.chabala.brick.controllab.ControlLabTest
 
testGetOutputGroupDelegatesInTheSingleCase() - Method in class org.chabala.brick.controllab.ControlLabTest
 
testGetOutputIdSet() - Method in class org.chabala.brick.controllab.OutputTest
 
testGetPortNameDelegatesToJssc() - Method in class org.chabala.brick.controllab.JsscSerialPortTest
 
testIsOpenDelegatesToJssc() - Method in class org.chabala.brick.controllab.JsscSerialPortTest
 
testLightSensorEventReceived() - Method in class org.chabala.brick.controllab.sensor.LightSensorListenerTest
 
testMaximumPossibleValues() - Method in class org.chabala.brick.controllab.sensor.SensorValueTest
 
testMinimumPossibleValues() - Method in class org.chabala.brick.controllab.sensor.SensorValueTest
 
testMonitorSendsKeepAlives() - Method in class org.chabala.brick.controllab.KeepAliveMonitorTest
 
testMotorInBothDirections() - Method in class org.chabala.brick.controllab.ControlLabIT
This test starts all outputs at the highest power level, gradually decreases to the minimum power level, then changes the direction and increases back to maximum.
testNoEventsWhenNotStoppedAndStopNotPressed() - Method in class org.chabala.brick.controllab.StopButtonTest
 
testNoEventsWhenStoppedAndStopNotReleased() - Method in class org.chabala.brick.controllab.StopButtonTest
 
testOpen() - Method in class org.chabala.brick.controllab.ControlLabTest
 
testOpenPortDelegatesToJssc() - Method in class org.chabala.brick.controllab.JsscSerialPortTest
 
testOpenPortOnlyThrowsIOExceptions() - Method in class org.chabala.brick.controllab.JsscSerialPortTest
 
testOperatingInTandem() - Method in class org.chabala.brick.controllab.MultipleControlLabIT
Example of advanced coordination of multiple control labs, activating the motors in a chasing pattern.
testOperatingInUnison() - Method in class org.chabala.brick.controllab.MultipleControlLabIT
Starts all control labs and iterates through turning on their outputs in unison.
testOutputAEncodesByteWithLowBitSet() - Method in class org.chabala.brick.controllab.OutputIdTest
 
testOutputHEncodesByteWithHighBitSet() - Method in class org.chabala.brick.controllab.OutputIdTest
 
testOutputPowerLevels() - Method in class org.chabala.brick.controllab.ControlLabIT
 
testPortIdentification() - Method in class org.chabala.brick.controllab.MultipleControlLabIT
Attempts to connect to every serial port in turn, connect to a control lab, and waits for the stop button to be pressed before moving on.
testPowerLevelEightHasCorrectCode() - Method in class org.chabala.brick.controllab.PowerLevelTest
 
testPowerLevelOneHasCorrectCode() - Method in class org.chabala.brick.controllab.PowerLevelTest
 
testPowerLevelZeroHasCorrectCode() - Method in class org.chabala.brick.controllab.PowerLevelTest
 
testPrintByteInBinary() - Method in class org.chabala.brick.controllab.sensor.BinaryStringFormatterTest
 
testReadBytesDelegatesToJssc() - Method in class org.chabala.brick.controllab.JsscSerialPortTest
 
testReadBytesOnlyThrowsIOExceptions() - Method in class org.chabala.brick.controllab.JsscSerialPortTest
 
testRemoveListener() - Method in class org.chabala.brick.controllab.InputTest
 
testResetPreventsKeepAlives() - Method in class org.chabala.brick.controllab.KeepAliveMonitorTest
 
testReverseDirection() - Method in class org.chabala.brick.controllab.OutputTest
 
testRunUntilStopButtonPressed() - Method in class org.chabala.brick.controllab.ControlLabIT
 
testSetPowerLevel() - Method in class org.chabala.brick.controllab.OutputTest
 
testStopButtonIsInitiallyNotStopped() - Method in class org.chabala.brick.controllab.StopButtonTest
 
testStopPressedEventWhenNotStoppedAndStopPressed() - Method in class org.chabala.brick.controllab.StopButtonTest
 
testStopReleasedEventWhenStoppedAndStopReleased() - Method in class org.chabala.brick.controllab.StopButtonTest
 
testThereAreEightInputs() - Method in class org.chabala.brick.controllab.InputIdTest
 
testThereAreEightOutputs() - Method in class org.chabala.brick.controllab.OutputIdTest
 
testThereAreFourActiveInputs() - Method in class org.chabala.brick.controllab.InputIdTest
 
testThereAreFourPassiveInputs() - Method in class org.chabala.brick.controllab.InputIdTest
 
testThereAreNinePowerLevels() - Method in class org.chabala.brick.controllab.PowerLevelTest
 
testThereAreThreeDirections() - Method in class org.chabala.brick.controllab.DirectionTest
 
testToString() - Method in class org.chabala.brick.controllab.ControlLabTest
 
testToString() - Method in class org.chabala.brick.controllab.InputTest
 
testToString() - Method in class org.chabala.brick.controllab.OutputTest
 
testToStringWhenConnected() - Method in class org.chabala.brick.controllab.ControlLabTest
 
testTouchSensorEventReceived() - Method in class org.chabala.brick.controllab.sensor.TouchSensorListenerTest
 
testTurnOff() - Method in class org.chabala.brick.controllab.OutputTest
 
testTurnOn() - Method in class org.chabala.brick.controllab.OutputTest
 
testTurnOutputOff() - Method in class org.chabala.brick.controllab.ControlLabIT
 
testValueSeparation() - Method in class org.chabala.brick.controllab.sensor.SensorValueTest
 
testWriteByteArrayDelegatesToJssc() - Method in class org.chabala.brick.controllab.JsscSerialPortTest
 
testWriteByteArrayOnlyThrowsIOExceptions() - Method in class org.chabala.brick.controllab.JsscSerialPortTest
 
testWriteByteDelegatesToJssc() - Method in class org.chabala.brick.controllab.JsscSerialPortTest
 
testWriteByteOnlyThrowsIOExceptions() - Method in class org.chabala.brick.controllab.JsscSerialPortTest
 
thrown - Variable in class org.chabala.brick.controllab.ControlLabTest
 
thrown - Variable in class org.chabala.brick.controllab.InputTest
 
thrown - Variable in class org.chabala.brick.controllab.JsscSerialPortTest
 
thrown - Variable in class org.chabala.brick.controllab.OutputTest
 
thrown - Variable in class org.chabala.brick.controllab.sensor.LightSensorListenerTest
 
thrown - Variable in class org.chabala.brick.controllab.sensor.TouchSensorListenerTest
 
thrown - Variable in class org.chabala.brick.controllab.StopButtonTest
 
TouchSensorListenerTest - Class in org.chabala.brick.controllab.sensor
TouchSensorListenerTest() - Constructor for class org.chabala.brick.controllab.sensor.TouchSensorListenerTest
 
B C D G I J K L M O P R S T 
Skip navigation links

Copyright © 2016–2023. All rights reserved.