[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/admin/tool/health/tests/ -> healthlib_test.php (summary)

Unit tests for tool_health.

Copyright: 2013 Marko Vidberg
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 218 lines (9 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

healthlib_testcase:: (6 methods):
  provider_loop_categories()
  provider_missing_parent_categories()
  test_tool_health_category_find_loops()
  test_tool_health_category_find_missing_parents()
  test_tool_health_category_list_missing_parents()
  test_tool_health_category_list_loops()


Class: healthlib_testcase  - X-Ref

Health lib testcase.

provider_loop_categories()   X-Ref
Data provider for test_tool_health_category_find_loops.


provider_missing_parent_categories()   X-Ref
Data provider for test_tool_health_category_find_missing_parents.


test_tool_health_category_find_loops($categories, $expected)   X-Ref
Test finding loops between two items referring to each other.

param: array $categories
param: array $expected

test_tool_health_category_find_missing_parents($categories, $expected)   X-Ref
Test finding missing parent categories.

param: array $categories
param: array $expected

test_tool_health_category_list_missing_parents()   X-Ref
Test listing missing parent categories.


test_tool_health_category_list_loops()   X-Ref
Test listing loop categories.




Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1