BakeoutController-Basic  0.1
A Controller for the Omicron vacuum chamber
Public Member Functions | List of all members
unit.kernel.models.kernel.GetPowerSupplyFactory Class Reference
Inheritance diagram for unit.kernel.models.kernel.GetPowerSupplyFactory:
Inheritance graph
[legend]
Collaboration diagram for unit.kernel.models.kernel.GetPowerSupplyFactory:
Collaboration graph
[legend]

Public Member Functions

void getPowerSupplyFactory ()
 
void getPowerSupplyKernel ()
 
- Public Member Functions inherited from unit.kernel.models.kernel.KernelTestCase
void setUp ()
 
- Public Member Functions inherited from unit.UnitTestCase
void assertGoodContext ()
 
void init () throws TimeoutException
 
void start (Stage stage) throws Exception
 
void stop () throws TimeoutException
 

Additional Inherited Members

- Protected Attributes inherited from unit.kernel.models.kernel.KernelTestCase
Kernel kernel
 
PortDriver mockPortDriver
 
- Protected Attributes inherited from unit.UnitTestCase
final Mockery context = new UnitTestingMockery()
 

Detailed Description

Contains unit tests for Kernel#getPowerSupplyFactory()

Definition at line 12 of file GetPowerSupplyFactory.java.

Member Function Documentation

void unit.kernel.models.kernel.GetPowerSupplyFactory.getPowerSupplyKernel ( )

Tests that the power supply has a kernel that matches this kernel.

This was written in response to a bug I found while trying this code out on the TDK Lambda Power supply

Definition at line 25 of file GetPowerSupplyFactory.java.

25  {
26  assertEquals(kernel, kernel.getPowerSupplyFactory().getKernel());
27  }

The documentation for this class was generated from the following file:
Git Repo