PhpMyObject
[ class tree: PhpMyObject ] [ index: PhpMyObject ] [ all elements ]

Class: PMO_MyConfig_Test

Source Location: /fichiers/v0.15/PMO_tests/tests/PMO_MyConfig_Test.php

Class Overview

UnitTestCase
   |
   --PMO_MyConfig_Test

This tests the PMO_MyConfig class.


Methods



Class Details

[line 53]
This tests the PMO_MyConfig class.



[ Top ]


Class Methods


constructor PMO_MyConfig_Test [line 56]

PMO_MyConfig_Test PMO_MyConfig_Test( )

constructor calls parent contructor.



[ Top ]

method setUp [line 62]

void setUp( )

called before each test



[ Top ]

method tearDown [line 69]

void tearDown( )

called after each test



Tags:

todo:  will probably need this later to reset the config or something


[ Top ]

method test_get_empty_var_name [line 111]

void test_get_empty_var_name( )

this make sure PMO_MyConfig will throw an exception if we try to get an unsuported var.



[ Top ]

method test_get_unsupported_var [line 147]

void test_get_unsupported_var( )

this make sure PMO_MyConfig will throw an exception of we ask for an unsuported var.



[ Top ]

method test_MyConfig_default_values [line 201]

void test_MyConfig_default_values( )

this tests that all PMO standard vars are correcly initialized



[ Top ]

method test_setup_MyConfig [line 233]

void test_setup_MyConfig( )



[ Top ]

method test_set_empty_var_name [line 91]

void test_set_empty_var_name( )

this make sure we get an exception if we don't provide a parameter

just to make sure ;)




[ Top ]

method test_set_unsupported_var [line 129]

void test_set_unsupported_var( )

this make sure PMO_MyConfig will throw an exception if we try to set an unsuported var.



[ Top ]


Documentation generated on Wed, 15 Oct 2008 09:16:55 -0400 by phpDocumentor 1.4.1