BakeoutController-Basic
0.1
A Controller for the Omicron vacuum chamber
Main Page
Related Pages
Packages
Classes
Files
File List
src
test
java
unit
kernel
models
device_registry
HasPowerSupply.java
1
package
unit.kernel.models.device_registry;
2
3
import
kernel
.
models
.
DeviceContainer
;
4
import
org.junit.Test;
5
6
import
static
org.junit.Assert.assertFalse;
7
import
static
org.junit.Assert.assertTrue;
8
12
public
final
class
HasPowerSupply
extends
DeviceRegistryTestCase
{
13
@Test
14
public
void
hasPowerSupplyIsInitiallyFalse(){
15
assertFalse(this.deviceRegistry.
hasPowerSupply
());
16
}
17
@Test
18
public
void
hasPowerSupplyIsTrueAfterSetting(){
19
this.deviceRegistry.
setPowerSupply
(mockPowerSupply);
20
21
assertTrue(this.deviceRegistry.
hasPowerSupply
());
22
}
23
}
kernel.models
Definition:
CombinedDeviceContainer.java:1
kernel.models.DeviceContainer
Definition:
models/DeviceContainer.java:16
kernel.models.DeviceContainer.setPowerSupply
void setPowerSupply(PowerSupply powerSupply)
Definition:
models/DeviceContainer.java:48
kernel
Definition:
ApplicationKernelFactory.java:1
unit.kernel.models.device_registry.HasPowerSupply
Definition:
HasPowerSupply.java:12
unit.kernel.models.device_registry.DeviceRegistryTestCase
Definition:
DeviceRegistryTestCase.java:12
kernel.models.DeviceContainer.hasPowerSupply
Boolean hasPowerSupply()
Definition:
models/DeviceContainer.java:57
Git Repo