[midcom.tests] element index

Package indexes

All elements
a b c f g h i l m n p r s t u v w _
_
top
Variable $_current_leaf
Id of current leaf
Variable $_current_node
Id of the current node.
Variable $_root_node
Id of tree_root (where applicable)
Variable $_toolbars
Pointer to the toolbarobject
Method _generate_defaults
Simple function to use the parameters from the environment to generate default settings.
Method _getCss
Paints the CSS. Add additional styles here.
Method _handler_index
Method _handler_run_test
Runs the tests defined in the $args[1] for the component defined in $args[0].
Method _handler_show_tests_for_midcom
Method _htmlEntities
Character set adjusted entity conversion.
Method _load_files
A simple wrapper to handle the situation where simpletest is missing.
Method _on_initialize
Method _prepare_local_toolbar
This internal helper adds the edit and delete links to the local toolbar.
Method _show_index
Check if simpletest exists and if so just show an index.
Method _show_run_test
Method _show_show_tests_for_midcom
a
top
Variable $aegir_config
Variable $a_prefix
Method aegir_login_test
Class aegir_login_test
aegir_login_test in login.php
Method assertAllLinks
This is a recursive function that goes through the different links and checks every pageload so that none return errors.
Method assertGetLeaf
Method assertGetLeaves
Method assertListLeaves
Method assertNavArrayCorrect
checks for values needed in both nodes and leaves.
Method assertNoHttpError
Method assertNoPhpError
Method assertPageDeliversXhtml
assert if the page starts by delivering an xml document.
Method assertPageDoesNotContainErrors
helper to run the different tests below on a page
Method assert_set_cache
Method assert_set_host
style_finder_test::assert_set_host() in test_stylefinder.php
Method assert_set_style
Method assert_set_topic
Method assert_that_toolbar_is_correctly_defined
this function takes a toolbar object and inspects that each and every array has the needed functionality.
Method assert_toolbar_item
inspect a single item array
Page aegir_handler.php
aegir_handler.php in aegir_handler.php
Page aegir_navigation.php
aegir_navigation.php in aegir_navigation.php
Page application.php
application.php in application.php
b
top
Variable $browser
Page base.php
base.php in base.php
c
top
Variable $config
Variable $config
Configuration object
Variable $config
Page config.php
config.php in config.php
f
top
Variable $finder
style_finder_test::$finder in test_stylefinder.php
g
top
Method generate_location_bar
A simple function to generate the location bar.
Method get_base_url
get the basic url for the server to test
Method get_basic_finder
Method get_basic_finder
Method get_finder
Method get_finder
style_finder_test::get_finder() in test_stylefinder.php
Method get_hostname
get the hostname of the host to check
Method get_leaf
This returns the testfile as a nav object
Method get_leaf_uplink
All leaves are linked to the root.
Method get_login_url
Method get_midcom_config
get the midcom_config array
Method get_node
Reads a node data structure from the database
Method get_node_uplink
Returns the ID of the node to which $node_id is assosiated to, false on failure. The root node's uplink is -1.
Method get_password
Get the password
Method get_request_switch
Method get_username
Get the username set above
h
top
Variable $hostname
hostname of the server you want to test
i
top
Page interfaces.php
interfaces.php in interfaces.php
l
top
Variable $leaves
Variable $leaves
Variable $leaves
Array of ids that may be used to test (get_|list_)leaf()
Method list_leaves
node_up is a midcom component path.
Method list_nodes
. There are no nodes as we do not organize them by component or type yet.
Method login
m
top
Class midcom_admin_aegir_tests_ajaxmenu_functional
midcom_admin_aegir_tests_ajaxmenu_functional in test_ajax_menu_functional.php
Class midcom_admin_aegir_tests_config
This is the configurationclass for the testing object.
Method midcom_admin_aegir_tests_config
Method midcom_admin_aegir_tests_navigation
Class midcom_admin_aegir_tests_navigation
Tests if the aegir_navigation class delivers the results it should.
Class midcom_admin_simple_content_navigation_test
Tests if the aegir_navigation class delivers the results it should.
Class midcom_admin_styleeditor_tests_navigation
Tests if the aegir_navigation class delivers the results it should.
Constant MIDCOM_ROOT
MIDCOM_ROOT in base.php
this file sets up a Midcom environment for testing.
Class midcom_tests
midcom_tests in tests.php
Created on Aug 3, 2005
Method midcom_tests
Class midcom_tests_aegir
midcom_tests_aegir in aegir_handler.php
the Aegir handler for this module.
Method midcom_tests_aegir
Class midcom_tests_aegir_navigation
midcom_tests_aegir_navigation in aegir_navigation.php
Starting Aegir nav class. I'm not sure how perfect it is.
Class midcom_tests_config
midcom_tests_config in config.php
This is the configurationclass for the testing object.
Method midcom_tests_config
Class midcom_tests_interface
midcom_tests_interface in interfaces.php
Method midcom_tests_interface
Class midcom_tests_lib_application
midcom_tests_lib_application in application.php
This is the start of a mock object of the midcom_application object.
Class midcom_tests_lib_toolbar
This is a simple helper class that you can extend. It provides some helper methods to check if you have defined your toolbar correctly.
Method midcom_tests_lib_web
Class midcom_tests_lib_web
Class midcom_tests_reporter
midcom_tests_reporter in reporter.php
Simple reporter for tests run within the testrig.
Method midcom_tests_reporter
Does nothing yet. The first output will be sent on the first test start. For use by a web browser.
n
top
Variable $nav
Instance of the navigation object
Variable $nodes
Variable $nodes
Array of ids that may be used to test (get_|list_)node
Variable $nodes
Variable $non_leaves
Array of nonexistant ids that should return false in get_ functions.
Variable $non_nodes
Variable $non_nodes
Variable $non_nodes
Array of nonexistant ids that should return false in get_ functions.
Page navigation.php
navigation.php in navigation.php
Method notestGetLeaf
p
top
Variable $pages
Variable $pages
style_finder_test::$pages in test_stylefinder.php
Variable $password
Password to connect
Variable $port
Portnumber if it's a nonstandard port'
Variable $prefix
prefix to the area you want to test
Method paintException
Paints a PHP error or exception.
Method paintFail
Paints the test failure with a breadcrumbs trail of the nesting test suites below the top level test.
Method paintFooter
Paints the end of the test with a summary of the passes and failures.
Method paintFormattedMessage
Paints formatted text such as dumped variables.
Method paintHeader
Paints the staring header (i.e. the testname )
r
top
Variable $registry
Page reporter.php
reporter.php in reporter.php
s
top
Variable $sitegroup
Sitegroup to test with
Method setUp
style_finder_test::setUp() in test_stylefinder.php
Method setUp
Method setUp
Method setUp
Method setUp
Method setUp
Class styleeditor_test_toolbar
styleeditor_test_toolbar in test_toolbar.php
This is a simple helper class that you can extend. It provides some helper methods to check if you have defined your toolbar correctly.
Method style_finder_test
Method style_finder_test
Class style_finder_test
style_finder_test in test_stylefinder.php
Created on Oct 30, 2005
t
top
Variable $topics
style_finder_test::$topics in test_stylefinder.php
Variable $topics
Page test_stylefinder.php
test_stylefinder.php in test_stylefinder.php
Page test_toolbar.php
test_toolbar.php in test_toolbar.php
Page toolbar.php
toolbar.php in toolbar.php
Page tests.php
tests.php in tests.php
Method tearDown
Method tearDown
Method tearDown
style_finder_test::tearDown() in test_stylefinder.php
Method testDeepLinksInajaxMenu
Method testGetNode
Method testIfLoginWorks
Method testIfRootReturnsNull
Method testListLeaves
Method testListRootNodes
Method testNavNotNull
Method testSimpleCallStatistics
Method test_create_style_overview
Method test_getting_style_stack
Method test_get_stylelisting
Method test_loading_style_finder
Method test_loading_style_finder
Method test_loading_toolbar
Method test_normal_toolbar
Method test_null_toolbar
Method test_render_toolbar
Method test_set_host
style_finder_test::test_set_host() in test_stylefinder.php
u
top
Variable $username
Username to connect
v
top
Variable $verbose
Variable $verbose
Variable $verbose
print some extra debugging messages? Set this in setUp() while debugging.
w
top
Page web.php
web.php in web.php
a b c f g h i l m n p r s t u v w _