mirror of
https://github.com/Karaka-Management/Build.git
synced 2026-01-11 03:38:40 +00:00
add tests
This commit is contained in:
parent
08861188f7
commit
4065426533
|
|
@ -1437,18 +1437,36 @@ return [
|
|||
'phpOMS\tests\Stdlib\Base\SmartDateTimeTest:testInvalidDayOfWeek' => ['description' => 'A invalid day of the week returns a negative week index', 'type' => 'framework'],
|
||||
'phpOMS\tests\Stdlib\Base\SmartDateTimeTest:testCalendarSheet' => ['description' => 'A calendar sheet is returned containing all days of the month and some days of the previous and next month', 'type' => 'framework'],
|
||||
|
||||
/** @todo Implement the graph documentation */
|
||||
'phpOMS\tests\Stdlib\Graph\GraphTest' => ['description' => 'Graph implementation'],
|
||||
'phpOMS\tests\Stdlib\Graph\GraphTest:testDefault' => ['description' => 'The graph has the expected default values after initialization', 'type' => 'framework'],
|
||||
'phpOMS\tests\Stdlib\Graph\GraphTest:testDirectedInputOutput' => ['description' => 'A graph can ge set as directed', 'type' => 'framework'],
|
||||
'phpOMS\tests\Stdlib\Graph\GraphTest:testNodeInputOutput' => ['description' => 'A node can be add to a graph and returned', 'type' => 'framework'],
|
||||
'phpOMS\tests\Stdlib\Graph\GraphTest:testNodeExists' => ['description' => 'The existence of a node in a graph can be checked', 'type' => 'framework'],
|
||||
'phpOMS\tests\Stdlib\Graph\GraphTest:testGraphWithBridge' => ['description' => 'A graph can be checked for bridges', 'type' => 'framework'],
|
||||
'phpOMS\tests\Stdlib\Graph\GraphTest:testGraphWithBridges' => ['description' => 'Multiple bridges are correctly identified in a graph', 'type' => 'framework'],
|
||||
'phpOMS\tests\Stdlib\Graph\GraphTest:testGraphWithoutBridges' => ['description' => 'A graph without bridges is correctly classified', 'type' => 'framework'],
|
||||
'phpOMS\tests\Stdlib\Graph\GraphTest:testEdgesInputOutput' => ['description' => 'Edges can be add and returned from a graph', 'type' => 'framework'],
|
||||
'phpOMS\tests\Stdlib\Graph\GraphTest:testEdgeInputOutput' => ['description' => 'An edge can be found by two edge ids', 'type' => 'framework'],
|
||||
'phpOMS\tests\Stdlib\Graph\GraphTest:testUndirectedCycle' => ['description' => 'The existence of cycles in undirected graphs can be checked', 'type' => 'framework'],
|
||||
'phpOMS\tests\Stdlib\Graph\GraphTest:testDirectedCycle' => ['description' => 'The existence of cycles in directed graphs can be checked', 'type' => 'framework'],
|
||||
'phpOMS\tests\Stdlib\Graph\GraphTest:testCost' => ['description' => 'The cost of a graph can be calculated', 'type' => 'framework'],
|
||||
'phpOMS\tests\Stdlib\Graph\GraphTest:testKruskalMinimalSpanningTree' => ['description' => 'The Kruskal minimal spanning tree can be created', 'type' => 'framework'],
|
||||
|
||||
'phpOMS\tests\Stdlib\Graph\NodeTest' => ['description' => 'Node in a graph'],
|
||||
'phpOMS\tests\Stdlib\Graph\NodeTest:testDefault' => ['description' => 'The node has the expected default values after initialization', 'type' => 'framework'],
|
||||
'phpOMS\tests\Stdlib\Graph\NodeTest:testDataInputOutput' => ['description' => 'The node data can be set and returned', 'type' => 'framework'],
|
||||
'phpOMS\tests\Stdlib\Graph\NodeTest:testNodesEqual' => ['description' => 'Two equal nodes are equal', 'type' => 'framework'],
|
||||
'phpOMS\tests\Stdlib\Graph\NodeTest:testNodesNotEqual' => ['description' => 'Two different nodes are not equal', 'type' => 'framework'],
|
||||
'phpOMS\tests\Stdlib\Graph\NodeTest:testEdgeInputOutput' => ['description' => 'An edge for a node can be defined', 'type' => 'framework'],
|
||||
'phpOMS\tests\Stdlib\Graph\NodeTest:testEdgeKeyInputOutput' => ['description' => 'An edge for a node can be defined by key', 'type' => 'framework'],
|
||||
'phpOMS\tests\Stdlib\Graph\NodeTest:testNodeRelation' => ['description' => 'A node relationship can be defined', 'type' => 'framework'],
|
||||
'phpOMS\tests\Stdlib\Graph\NodeTest:testNeighborsInputOutput' => ['description' => 'All neighbors of a node can be returned', 'type' => 'framework'],
|
||||
|
||||
'phpOMS\tests\Stdlib\Graph\EdgeTest' => ['description' => 'Edge between nodes'],
|
||||
'phpOMS\tests\Stdlib\Graph\EdgeTest:testDefault' => ['description' => 'The edge has the expected default values after initialization', 'type' => 'framework'],
|
||||
'phpOMS\tests\Stdlib\Graph\EdgeTest:testDirected' => ['description' => 'An edge can be directed', 'type' => 'framework'],
|
||||
'phpOMS\tests\Stdlib\Graph\EdgeTest:testWeight' => ['description' => 'An edge can have a weight', 'type' => 'framework'],
|
||||
'phpOMS\tests\Stdlib\Graph\EdgeTest:testWeightInputOutput' => ['description' => 'An edge weight can be set and returned', 'type' => 'framework'],
|
||||
'phpOMS\tests\Stdlib\Graph\EdgeTest:testWeightComparison' => ['description' => 'Two edge weights can be compared', 'type' => 'framework'],
|
||||
|
||||
'phpOMS\tests\Stdlib\Map\MultiMapTest' => ['description' => 'Map which associates multiple keys with the same value'],
|
||||
'phpOMS\tests\Stdlib\Map\MultiMapTest:testDefault' => ['description' => 'The map has the expected default values and functionality after initialization', 'type' => 'framework'],
|
||||
|
|
@ -2187,7 +2205,7 @@ return [
|
|||
|
||||
'phpOMS\tests\Views\ViewTest' => ['description' => 'View for response rendering', 'type' => 'framework'],
|
||||
'phpOMS\tests\Views\ViewTest:testDefault' => ['description' => 'The view has the expected default values after initialization', 'type' => 'framework'],
|
||||
'phpOMS\tests\Views\ViewTest:testHasData' => ['description' => 'The view data can be checked for existance', 'type' => 'framework'],
|
||||
'phpOMS\tests\Views\ViewTest:testHasData' => ['description' => 'The view data can be checked for existence', 'type' => 'framework'],
|
||||
'phpOMS\tests\Views\ViewTest:testGetText' => ['description' => 'The view can output text from the localization manager', 'type' => 'framework'],
|
||||
'phpOMS\tests\Views\ViewTest:testGetHtml' => ['description' => 'The view can output html escaped text from the localization manager', 'type' => 'framework'],
|
||||
'phpOMS\tests\Views\ViewTest:testGetNumeric' => ['description' => 'The numeric value can be printed based on the localization', 'type' => 'framework'],
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user