This class gets a handle on the application context which is used to retrieve Spring beans from during tests
- Author
- David Erickson (david.nosp@m.eric.nosp@m.kson@.nosp@m.cs.s.nosp@m.tanfo.nosp@m.rd.e.nosp@m.du)
Definition at line 67 of file FloodlightTestCase.java.
◆ buildMockIOFSwitch()
IOFSwitch org.openkilda.floodlight.FloodlightTestCase.buildMockIOFSwitch |
( |
Long |
id, |
|
|
OFPortDesc |
portDesc, |
|
|
OFFactory |
factory, |
|
|
OFDescStatsReply |
swDesc, |
|
|
InetSocketAddress |
inetAddr |
|
) |
| |
◆ createOFPortDesc()
static OFPortDesc org.openkilda.floodlight.FloodlightTestCase.createOFPortDesc |
( |
IOFSwitch |
sw, |
|
|
String |
name, |
|
|
int |
number |
|
) |
| |
|
static |
◆ getMockFloodlightProvider()
◆ getMockSwitchService()
MockSwitchManager org.openkilda.floodlight.FloodlightTestCase.getMockSwitchService |
( |
| ) |
|
◆ parseAndAnnotate() [1/2]
FloodlightContext org.openkilda.floodlight.FloodlightTestCase.parseAndAnnotate |
( |
OFMessage |
m | ) |
|
◆ parseAndAnnotate() [2/2]
static FloodlightContext org.openkilda.floodlight.FloodlightTestCase.parseAndAnnotate |
( |
FloodlightContext |
bc, |
|
|
OFMessage |
m |
|
) |
| |
|
static |
◆ setMockFloodlightProvider()
void org.openkilda.floodlight.FloodlightTestCase.setMockFloodlightProvider |
( |
MockFloodlightProvider |
mockFloodlightProvider | ) |
|
◆ setUp()
void org.openkilda.floodlight.FloodlightTestCase.setUp |
( |
| ) |
throws Exception |
◆ factory
OFFactory org.openkilda.floodlight.FloodlightTestCase.factory = OFFactories.getFactory(OFVersion.OF_13) |
|
protected |
◆ mockFloodlightProvider
◆ mockSwitchManager
◆ swFeatures
OFFeaturesReply org.openkilda.floodlight.FloodlightTestCase.swFeatures |
|
protected |
The documentation for this class was generated from the following file:
- /Users/kevin/Desktop/Kilda/open-kilda-develop/services/src/floodlight-modules/src/test/java/org/openkilda/floodlight/FloodlightTestCase.java