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

File: TestClass.php

Source Location: /PHPUnit2-3.0.0alpha11/Util/Skeleton/TestClass.php

Classes:

Test class for {className}.

Page Details:

Includes:

require_once("{classFile}") [line 10]
require_once("PHPUnit2/Framework/TestCase.php") [line 7]
require_once("PHPUnit2/Framework/TestSuite.php") [line 8]

main [line 23]

void main( )

Runs the test methods of this class.
  • Access: public


[ Top ]



setUp [line 36]

void setUp( )

Sets up the fixture, for example, open a network connection.

This method is called before a test is executed.

  • Access: protected


[ Top ]



tearDown [line 45]

void tearDown( )

Tears down the fixture, for example, close a network connection.

This method is called after a test is executed.

  • Access: protected


[ Top ]



Documentation generated on Mon, 11 Mar 2019 14:40:40 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.