Difference between revisions of "QuantumUnitTestStatus"
Line 17: | Line 17: | ||
| Success | | Success | ||
|- | |- | ||
− | | Failure - | + | | Failure - NetworkNotFound |
|- | |- | ||
|valign="top" rowspan="2" | Create network | |valign="top" rowspan="2" | Create network | ||
| Success | | Success | ||
|- | |- | ||
− | | Failure - | + | | Failure - BadRequest |
|- | |- | ||
|valign="top" rowspan="3" | Rename network | |valign="top" rowspan="3" | Rename network | ||
| Success | | Success | ||
|- | |- | ||
− | | Failure - | + | | Failure - NetworkNotFound |
|- | |- | ||
− | | Failure - | + | | Failure - BadRequest |
|- | |- | ||
|valign="top" rowspan="3" | Delete network | |valign="top" rowspan="3" | Delete network | ||
| Success | | Success | ||
|- | |- | ||
− | | Failure - | + | | Failure - NetworkNotFound |
|- | |- | ||
− | | Failure - | + | | Failure - PortInUse |
|- | |- | ||
| List Ports | | List Ports | ||
Line 44: | Line 44: | ||
| Success | | Success | ||
|- | |- | ||
− | | Failure - | + | | Failure - NetworkNotFound |
|- | |- | ||
− | | Failure - | + | | Failure - PortNotFound |
|- | |- | ||
|valign="top" rowspan="3" | Create port | |valign="top" rowspan="3" | Create port | ||
| Success | | Success | ||
|- | |- | ||
− | | Failure - | + | | Failure - NetworkNotFound |
|- | |- | ||
− | | Failure - | + | | Failure - BadRequest |
|- | |- | ||
|valign="top" rowspan="4" | Delete port | |valign="top" rowspan="4" | Delete port | ||
| Success | | Success | ||
|- | |- | ||
− | | Failure - | + | | Failure - NetworkNotFound |
|- | |- | ||
− | | Failure - | + | | Failure - PortNotFound |
|- | |- | ||
− | | Failure - | + | | Failure - PortInUse |
|- | |- | ||
|valign="top" rowspan="4" | Set port state | |valign="top" rowspan="4" | Set port state | ||
| Success | | Success | ||
|- | |- | ||
− | | Failure - | + | | Failure - NetworkNotFound |
|- | |- | ||
− | | Failure - | + | | Failure - PortNotFound |
|- | |- | ||
− | | Failure - | + | | Failure - BadRequest |
|- | |- | ||
|valign="top" rowspan="3" | List Attachment details | |valign="top" rowspan="3" | List Attachment details | ||
| Success | | Success | ||
|- | |- | ||
− | | Failure - | + | | Failure - NetworkNotFound |
|- | |- | ||
− | | Failure - | + | | Failure - PortNotFound |
|- | |- | ||
|valign="top" rowspan="4" | Plug attachment | |valign="top" rowspan="4" | Plug attachment | ||
| Success | | Success | ||
|- | |- | ||
− | | Failure - | + | | Failure - NetworkNotFound |
|- | |- | ||
− | | Failure - | + | | Failure - PortNotFound |
|- | |- | ||
− | | Failure - | + | | Failure - BadRequest |
|- | |- | ||
|valign="top" rowspan="3" | Unplug attachment | |valign="top" rowspan="3" | Unplug attachment | ||
| Success | | Success | ||
|- | |- | ||
− | | Failure - | + | | Failure - NetworkNotFound |
|- | |- | ||
− | | Failure - | + | | Failure - PortNotFound |
|} | |} | ||
Revision as of 10:50, 7 July 2011
This page keeps track of the unit tests implemented for the Quantum Service.
Please note that, as of today (July 6th 2011), unit tests are not yet in trunk. The branch for unit tests can be found at lp:~netstack/quantum/quantum-unit-tests.
All unit tests have been implemented for both JSON and XML formats. Functional tests will be provided by this branch as well.
API
List networks | Success |
Show network | Success |
Failure - NetworkNotFound | |
Create network | Success |
Failure - BadRequest | |
Rename network | Success |
Failure - NetworkNotFound | |
Failure - BadRequest | |
Delete network | Success |
Failure - NetworkNotFound | |
Failure - PortInUse | |
List Ports | Success |
Show port | Success |
Failure - NetworkNotFound | |
Failure - PortNotFound | |
Create port | Success |
Failure - NetworkNotFound | |
Failure - BadRequest | |
Delete port | Success |
Failure - NetworkNotFound | |
Failure - PortNotFound | |
Failure - PortInUse | |
Set port state | Success |
Failure - NetworkNotFound | |
Failure - PortNotFound | |
Failure - BadRequest | |
List Attachment details | Success |
Failure - NetworkNotFound | |
Failure - PortNotFound | |
Plug attachment | Success |
Failure - NetworkNotFound | |
Failure - PortNotFound | |
Failure - BadRequest | |
Unplug attachment | Success |
Failure - NetworkNotFound | |
Failure - PortNotFound |