CorujaClassManipulationTest Class Reference

Inheritance diagram for CorujaClassManipulationTest:

PHPUnit_Framework_TestCase

List of all members.

Public Member Functions

 testGetClassNameFromClassDefinitionWithNullString ()
 testGetClassNameFromClassDefinitionWithAnyString ()
 testGetClassNameFromClassDefinitionWithNormalClassDefinition ()
 testGetNamespaceFromClassDefinitionWithNullString ()
 testGetNamespaceFromClassDefinitionWithAnyString ()
 testGetNamespaceFromClassDefinitionWithNormalClassDefinition ()

Protected Member Functions

 setUp ()
 tearDown ()


Detailed Description

Test class for CorujaClassManipulation. Generated by PHPUnit on 2008-10-24 at 22:47:23.

Definition at line 10 of file CorujaClassManipulationTest.php.


Member Function Documentation

setUp (  )  [protected]

Sets up the fixture, for example, opens a network connection. This method is called before a test is executed.

protected

Definition at line 18 of file CorujaClassManipulationTest.php.

00019     {
00020     }

tearDown (  )  [protected]

Tears down the fixture, for example, closes a network connection. This method is called after a test is executed.

protected

Definition at line 28 of file CorujaClassManipulationTest.php.

00029     {
00030     }

testGetClassNameFromClassDefinitionWithAnyString (  ) 

Todo:
Implement testGetClassNameFromClassDefintion().

Definition at line 56 of file CorujaClassManipulationTest.php.

References CorujaClassManipulation::getClassNameFromClassDefinition().

00056                                                                        {
00057 
00058         // set up
00059         $strClassDefinition = "anystring";
00060 
00061         // exercise
00062         $strClassName = CorujaClassManipulation::getClassNameFromClassDefinition( $strClassDefinition );
00063 
00064         // assert
00065         $this->assertNull( $strClassName );
00066 
00067         
00068         // Remove the following lines when you implement this test.
00069         $this->markTestIncomplete(
00070           'This test has not been implemented yet.'
00071         );
00072     }

testGetClassNameFromClassDefinitionWithNormalClassDefinition (  ) 

Definition at line 77 of file CorujaClassManipulationTest.php.

References CorujaClassManipulation::getClassNameFromClassDefinition().

00077                                                                                    {
00078 
00079         // set up
00080         $strClassDefinition = "anynamespace::anyclassname";
00081 
00082         // exercise
00083         $strClassName = CorujaClassManipulation::getClassNameFromClassDefinition( $strClassDefinition );
00084 
00085         // assert
00086         $this->assertEquals( "anyclassname", $strClassName );
00087 
00088     }

testGetClassNameFromClassDefinitionWithNullString (  ) 

Todo:
Implement testGetClassNameFromClassDefintion().

Definition at line 35 of file CorujaClassManipulationTest.php.

References CorujaClassManipulation::getClassNameFromClassDefinition().

00035                                                                         {
00036 
00037         // set up
00038         $strClassDefinition = null;
00039 
00040         // exercise
00041         $strClassName = CorujaClassManipulation::getClassNameFromClassDefinition( $strClassDefinition );
00042 
00043         // assert
00044         $this->assertNull( $strClassName );
00045 
00046         
00047         // Remove the following lines when you implement this test.
00048         $this->markTestIncomplete(
00049           'This test has not been implemented yet.'
00050         );
00051     }

testGetNamespaceFromClassDefinitionWithAnyString (  ) 

Todo:
Implement testGetNamespaceFromClassDefinition().

Definition at line 113 of file CorujaClassManipulationTest.php.

References CorujaClassManipulation::getNamespaceFromClassDefinition().

00113                                                                        {
00114 
00115         // set up
00116         $strClassDefinition = "anystring";
00117 
00118         // exercise
00119         $strNamespace = CorujaClassManipulation::getNamespaceFromClassDefinition( $strClassDefinition );
00120 
00121         // assert
00122         $this->assertNull( $strNamespace );
00123 
00124         // Remove the following lines when you implement this test.
00125         $this->markTestIncomplete(
00126           'This test has not been implemented yet.'
00127         );
00128     }

testGetNamespaceFromClassDefinitionWithNormalClassDefinition (  ) 

Definition at line 133 of file CorujaClassManipulationTest.php.

References CorujaClassManipulation::getNamespaceFromClassDefinition().

00133                                                                                    {
00134 
00135         // set up
00136         $strClassDefinition = "anynamespace::anyclassname";
00137 
00138         // exercise
00139         $strNamespace = CorujaClassManipulation::getNamespaceFromClassDefinition( $strClassDefinition );
00140 
00141         // assert
00142         $this->assertEquals( "anynamespace", $strNamespace );
00143     }

testGetNamespaceFromClassDefinitionWithNullString (  ) 

Todo:
Implement testGetNamespaceFromClassDefinition().

Definition at line 93 of file CorujaClassManipulationTest.php.

References CorujaClassManipulation::getNamespaceFromClassDefinition().

00093                                                                         {
00094 
00095         // set up
00096         $strClassDefinition = null;
00097 
00098         // exercise
00099         $strNamespace = CorujaClassManipulation::getNamespaceFromClassDefinition( $strClassDefinition );
00100 
00101         // assert
00102         $this->assertNull( $strNamespace );
00103 
00104         // Remove the following lines when you implement this test.
00105         $this->markTestIncomplete(
00106           'This test has not been implemented yet.'
00107         );
00108     }


The documentation for this class was generated from the following file:

Generated on Thu Feb 3 03:55:03 2011 for CodeToDiagram by  doxygen 1.5.9