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

Class: Documentation_tests_ParserClassGetSourceLocationTests

Source Location: /PhpDocumentor-1.4.0RC1/Documentation/tests/ParserClassGetSourceLocationTests.php

Class Overview

PHPUnit_Framework_TestCase
   |
   --Documentation_tests_ParserClassGetSourceLocationTests

Unit Testing of the ParserClass's getSourceLocation() method


Author(s):

  • Chuck Burgess

Methods


Inherited Variables

Inherited Methods


Class Details

[line 56]
Unit Testing of the ParserClass's getSourceLocation() method
  • Author: Chuck Burgess
  • Since: 1.4.0a1


[ Top ]


Method Detail

main   [line 77]

void main( )

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

[ Top ]

setUp   [line 90]

void setUp( )

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

This method is called before a test is executed.

  • Since: 1.4.0a1
  • Access: protected

[ Top ]

tearDown   [line 105]

void tearDown( )

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

This method is called after a test is executed.

  • Since: 1.4.0a1
  • Access: protected

[ Top ]

testWhenLocationNotSetAndPearizeFalse   [line 138]

void testWhenLocationNotSetAndPearizeFalse( )

Shows correct behavior when

sourceLocation is not set yet with pearize explicitly false

  • Since: 1.4.0a1
  • Access: public

[ Top ]

testWhenLocationNotSetAndPearizeNull   [line 129]

void testWhenLocationNotSetAndPearizeNull( )

Shows correct behavior when

sourceLocation is not set yet with no pearize value set

  • Since: 1.4.0a1
  • Access: public

[ Top ]

testWhenLocationNotSetAndPearizeTrue   [line 147]

void testWhenLocationNotSetAndPearizeTrue( )

Shows correct behavior when

sourceLocation is not set yet with pearize explicitly true

  • Since: 1.4.0a1
  • Access: public

[ Top ]

testWhenNonPearLocationSetAndPearizeFalse   [line 167]

void testWhenNonPearLocationSetAndPearizeFalse( )

Shows correct behavior when

sourceLocation is set to an absolute path that is not a "pear" location, with pearize explicitly false

  • Since: 1.4.0a1
  • Access: public

[ Top ]

testWhenNonPearLocationSetAndPearizeNull   [line 157]

void testWhenNonPearLocationSetAndPearizeNull( )

Shows correct behavior when

sourceLocation is set to an absolute path that is not a "pear" location, with no pearize value set

  • Since: 1.4.0a1
  • Access: public

[ Top ]

testWhenNonPearLocationSetAndPearizeTrue   [line 177]

void testWhenNonPearLocationSetAndPearizeTrue( )

Shows correct behavior when

sourceLocation is set to an absolute path that is not a "pear" location, with pearize explicitly true

  • Since: 1.4.0a1
  • Access: public

[ Top ]

testWhenNonPearLocationSetIncludingDotsAndPearizeFalse   [line 227]

void testWhenNonPearLocationSetIncludingDotsAndPearizeFalse( )

Include a ".." in an absolute, non-PEAR path,

with pearize explicitly false

  • Since: 1.4.0a1
  • Access: public

[ Top ]

testWhenNonPearLocationSetIncludingDotsAndPearizeNull   [line 218]

void testWhenNonPearLocationSetIncludingDotsAndPearizeNull( )

Include a ".." in an absolute, non-PEAR path,

with pearize not set

  • Since: 1.4.0a1
  • Access: public

[ Top ]

testWhenNonPearLocationSetIncludingDotsAndPearizeTrue   [line 236]

void testWhenNonPearLocationSetIncludingDotsAndPearizeTrue( )

Include a ".." in an absolute, non-PEAR path,

with pearize explicitly true

  • Since: 1.4.0a1
  • Access: public

[ Top ]

testWhenNonPearRelativeLocationSetAndPearizeFalse   [line 255]

void testWhenNonPearRelativeLocationSetAndPearizeFalse( )

Include a ".." in a relative, non-PEAR path,

with pearize explicitly false

  • Since: 1.4.0a1
  • Access: public

[ Top ]

testWhenNonPearRelativeLocationSetAndPearizeNull   [line 246]

void testWhenNonPearRelativeLocationSetAndPearizeNull( )

Include a ".." in a relative, non-PEAR path,

with pearize not set

  • Since: 1.4.0a1
  • Access: public

[ Top ]

testWhenNonPearRelativeLocationSetAndPearizeTrue   [line 264]

void testWhenNonPearRelativeLocationSetAndPearizeTrue( )

Include a ".." in a relative, non-PEAR path,

with pearize explicitly false

  • Since: 1.4.0a1
  • Access: public

[ Top ]

testWhenPearLocationSetAndPearizeFalse   [line 198]

void testWhenPearLocationSetAndPearizeFalse( )

Show correct behavior when

sourceLocation is set to an absolute path that IS a "pear" location, with pearize explicitly false

  • Since: 1.4.0a1
  • Access: public

[ Top ]

testWhenPearLocationSetAndPearizeNull   [line 188]

void testWhenPearLocationSetAndPearizeNull( )

Show correct behavior when

sourceLocation is set to an absolute path that IS a "pear" location, with pearize not set

  • Since: 1.4.0a1
  • Access: public

[ Top ]

testWhenPearLocationSetAndPearizeTrue   [line 208]

void testWhenPearLocationSetAndPearizeTrue( )

Show correct behavior when

sourceLocation is set to an absolute path that IS a "pear" location, with pearize explicitly true

  • Since: 1.4.0a1
  • Access: public

[ Top ]

testWhenPearLocationSetIncludingDotsAndPearizeFalse   [line 283]

void testWhenPearLocationSetIncludingDotsAndPearizeFalse( )

Include a ".." in an absolute, PEAR path,

with pearize explicitly false

  • Since: 1.4.0a1
  • Access: public

[ Top ]

testWhenPearLocationSetIncludingDotsAndPearizeNull   [line 274]

void testWhenPearLocationSetIncludingDotsAndPearizeNull( )

Include a ".." in an absolute, PEAR path,

with pearize not set

  • Since: 1.4.0a1
  • Access: public

[ Top ]

testWhenPearLocationSetIncludingDotsAndPearizeTrue   [line 292]

void testWhenPearLocationSetIncludingDotsAndPearizeTrue( )

Include a ".." in an absolute, PEAR path,

with pearize explicitly true

  • Since: 1.4.0a1
  • Access: public

[ Top ]

testWhenPearRelativeLocationSetAndPearizeFalse   [line 311]

void testWhenPearRelativeLocationSetAndPearizeFalse( )

Include a ".." in a relative, PEAR path,

with pearize explicitly false

  • Since: 1.4.0a1
  • Access: public

[ Top ]

testWhenPearRelativeLocationSetAndPearizeNull   [line 302]

void testWhenPearRelativeLocationSetAndPearizeNull( )

Include a ".." in a relative, PEAR path,

with pearize not set

  • Since: 1.4.0a1
  • Access: public

[ Top ]

testWhenPearRelativeLocationSetAndPearizeTrue   [line 320]

void testWhenPearRelativeLocationSetAndPearizeTrue( )

Include a ".." in a relative, PEAR path,

with pearize explicitly true

  • Since: 1.4.0a1
  • Access: public

[ Top ]


Documentation generated on Mon, 25 Jun 2007 14:04:01 -0400 by phpDocumentor 1.3.2. PEAR Logo Copyright © PHP Group 2004.