![]() |
Open Kilda Java Documentation
|
Public Member Functions | |
void | cleanUp () |
void | testGetFlowInfo () |
void | testGetPathByCostActive () throws UnroutablePathException, RecoverableException |
void | testGetPathByCostActive_AsStr () throws UnroutablePathException, RecoverableException |
void | testGetPathByCostInactive () throws UnroutablePathException, RecoverableException |
void | testGetPathByCostInactiveOnTriangleTopo () throws UnroutablePathException, RecoverableException |
void | testGetPathByCostNoCost () throws UnroutablePathException, RecoverableException |
void | testGetPathNoPath () throws UnroutablePathException, RecoverableException |
void | getPathTest_InitState () |
void | getPathTest_Islands () |
void | getPathTest_Large () |
void | verifyConversionToPair () throws UnroutablePathException, RecoverableException |
void | shouldAlwaysFindPathForExistedFlow () throws Exception |
void | shouldNotFindPathForExistedFlowAndIncreasedBandwidth () throws Exception |
Static Public Member Functions | |
static void | setUpOnce () throws Exception |
static void | teatDownOnce () |
The primary goals of this test package are to emulate the Acceptance Tests in the ATDD module. Those tests can be found in services/src/atdd/src/test/java/org/openkilda/atdd/PathComputationTest.java
Definition at line 58 of file PathComputerTest.java.
void org.openkilda.pce.provider.PathComputerTest.cleanUp | ( | ) |
Definition at line 91 of file PathComputerTest.java.
void org.openkilda.pce.provider.PathComputerTest.getPathTest_InitState | ( | ) |
Test the mechanisms of the in memory getPath.
Definition at line 369 of file PathComputerTest.java.
void org.openkilda.pce.provider.PathComputerTest.getPathTest_Islands | ( | ) |
Create a couple of islands .. try to find a path between them .. validate no path is returned, and that the function completes in reasonable time ( < 10ms);
Definition at line 419 of file PathComputerTest.java.
void org.openkilda.pce.provider.PathComputerTest.getPathTest_Large | ( | ) |
See how it works with a large network. It takes a while to create the network .. therefore so that it doesn't slow down unit tests.
Definition at line 449 of file PathComputerTest.java.
|
static |
Definition at line 67 of file PathComputerTest.java.
void org.openkilda.pce.provider.PathComputerTest.shouldAlwaysFindPathForExistedFlow | ( | ) | throws Exception |
Checks that existed flow should always have available path even there is only links with 0 available bandwidth.
Definition at line 522 of file PathComputerTest.java.
void org.openkilda.pce.provider.PathComputerTest.shouldNotFindPathForExistedFlowAndIncreasedBandwidth | ( | ) | throws Exception |
Tests the case when we try to increase bandwidth of the flow and there is no available bandwidth left.
Definition at line 546 of file PathComputerTest.java.
|
static |
Definition at line 85 of file PathComputerTest.java.
void org.openkilda.pce.provider.PathComputerTest.testGetFlowInfo | ( | ) |
Definition at line 99 of file PathComputerTest.java.
void org.openkilda.pce.provider.PathComputerTest.testGetPathByCostActive | ( | ) | throws UnroutablePathException, RecoverableException |
Definition at line 256 of file PathComputerTest.java.
void org.openkilda.pce.provider.PathComputerTest.testGetPathByCostActive_AsStr | ( | ) | throws UnroutablePathException, RecoverableException |
Definition at line 274 of file PathComputerTest.java.
void org.openkilda.pce.provider.PathComputerTest.testGetPathByCostInactive | ( | ) | throws UnroutablePathException, RecoverableException |
Definition at line 292 of file PathComputerTest.java.
void org.openkilda.pce.provider.PathComputerTest.testGetPathByCostInactiveOnTriangleTopo | ( | ) | throws UnroutablePathException, RecoverableException |
Definition at line 311 of file PathComputerTest.java.
void org.openkilda.pce.provider.PathComputerTest.testGetPathByCostNoCost | ( | ) | throws UnroutablePathException, RecoverableException |
Definition at line 331 of file PathComputerTest.java.
void org.openkilda.pce.provider.PathComputerTest.testGetPathNoPath | ( | ) | throws UnroutablePathException, RecoverableException |
Definition at line 352 of file PathComputerTest.java.
void org.openkilda.pce.provider.PathComputerTest.verifyConversionToPair | ( | ) | throws UnroutablePathException, RecoverableException |
This verifies that the getPath in NeoDriver returns what we expect. Essentially, this tests the additional logic wrt taking the results of the algo and convert to something installable.
Definition at line 499 of file PathComputerTest.java.