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

Class: tests_ParserClassGetSourceLocationTests

Source Location: /tests/ParserClassGetSourceLocationTests.php

Class Overview

PHPUnit_Framework_TestCase
   |
   --tests_ParserClassGetSourceLocationTests

Unit Testing of the ParserClass's getSourceLocation() method


Author(s):

  • Chuck Burgess

Methods



Class Details

[line 67]
Unit Testing of the ParserClass's getSourceLocation() method



Tags:

author:  Chuck Burgess
since:  1.4.0a1


[ Top ]


Class Methods


static method main [line 88]

static void main( )

Runs the test methods of this class.



Tags:

since:  1.4.0a1
access:  public


[ Top ]

method setUp [line 101]

void setUp( )

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

This method is called before a test is executed.




Tags:

since:  1.4.0a1
access:  protected


[ Top ]

method tearDown [line 116]

void tearDown( )

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

This method is called after a test is executed.




Tags:

since:  1.4.0a1
access:  protected


[ Top ]

method testWhenLocationNotSetAndPearizeFalse [line 149]

void testWhenLocationNotSetAndPearizeFalse( )

Shows correct behavior when

sourceLocation is not set yet with pearize explicitly false




Tags:

since:  1.4.0a1
access:  public


[ Top ]

method testWhenLocationNotSetAndPearizeNull [line 140]

void testWhenLocationNotSetAndPearizeNull( )

Shows correct behavior when

sourceLocation is not set yet with no pearize value set




Tags:

since:  1.4.0a1
access:  public


[ Top ]

method testWhenLocationNotSetAndPearizeTrue [line 158]

void testWhenLocationNotSetAndPearizeTrue( )

Shows correct behavior when

sourceLocation is not set yet with pearize explicitly true




Tags:

since:  1.4.0a1
access:  public


[ Top ]

method testWhenNonPearLocationSetAndPearizeFalse [line 178]

void testWhenNonPearLocationSetAndPearizeFalse( )

Shows correct behavior when

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




Tags:

since:  1.4.0a1
access:  public


[ Top ]

method testWhenNonPearLocationSetAndPearizeNull [line 168]

void testWhenNonPearLocationSetAndPearizeNull( )

Shows correct behavior when

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




Tags:

since:  1.4.0a1
access:  public


[ Top ]

method testWhenNonPearLocationSetAndPearizeTrue [line 188]

void testWhenNonPearLocationSetAndPearizeTrue( )

Shows correct behavior when

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




Tags:

since:  1.4.0a1
access:  public


[ Top ]

method testWhenNonPearLocationSetIncludingDotsAndPearizeFalse [line 238]

void testWhenNonPearLocationSetIncludingDotsAndPearizeFalse( )

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

with pearize explicitly false




Tags:

since:  1.4.0a1
access:  public


[ Top ]

method testWhenNonPearLocationSetIncludingDotsAndPearizeNull [line 229]

void testWhenNonPearLocationSetIncludingDotsAndPearizeNull( )

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

with pearize not set




Tags:

since:  1.4.0a1
access:  public


[ Top ]

method testWhenNonPearLocationSetIncludingDotsAndPearizeTrue [line 247]

void testWhenNonPearLocationSetIncludingDotsAndPearizeTrue( )

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

with pearize explicitly true




Tags:

since:  1.4.0a1
access:  public


[ Top ]

method testWhenNonPearRelativeLocationSetAndPearizeFalse [line 266]

void testWhenNonPearRelativeLocationSetAndPearizeFalse( )

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

with pearize explicitly false




Tags:

since:  1.4.0a1
access:  public


[ Top ]

method testWhenNonPearRelativeLocationSetAndPearizeNull [line 257]

void testWhenNonPearRelativeLocationSetAndPearizeNull( )

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

with pearize not set




Tags:

since:  1.4.0a1
access:  public


[ Top ]

method testWhenNonPearRelativeLocationSetAndPearizeTrue [line 275]

void testWhenNonPearRelativeLocationSetAndPearizeTrue( )

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

with pearize explicitly false




Tags:

since:  1.4.0a1
access:  public


[ Top ]

method testWhenPearLocationSetAndPearizeFalse [line 209]

void testWhenPearLocationSetAndPearizeFalse( )

Show correct behavior when

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




Tags:

since:  1.4.0a1
access:  public


[ Top ]

method testWhenPearLocationSetAndPearizeNull [line 199]

void testWhenPearLocationSetAndPearizeNull( )

Show correct behavior when

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




Tags:

since:  1.4.0a1
access:  public


[ Top ]

method testWhenPearLocationSetAndPearizeTrue [line 219]

void testWhenPearLocationSetAndPearizeTrue( )

Show correct behavior when

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




Tags:

since:  1.4.0a1
access:  public


[ Top ]

method testWhenPearLocationSetIncludingDotsAndPearizeFalse [line 294]

void testWhenPearLocationSetIncludingDotsAndPearizeFalse( )

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

with pearize explicitly false




Tags:

since:  1.4.0a1
access:  public


[ Top ]

method testWhenPearLocationSetIncludingDotsAndPearizeNull [line 285]

void testWhenPearLocationSetIncludingDotsAndPearizeNull( )

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

with pearize not set




Tags:

since:  1.4.0a1
access:  public


[ Top ]

method testWhenPearLocationSetIncludingDotsAndPearizeTrue [line 303]

void testWhenPearLocationSetIncludingDotsAndPearizeTrue( )

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

with pearize explicitly true




Tags:

since:  1.4.0a1
access:  public


[ Top ]

method testWhenPearRelativeLocationSetAndPearizeFalse [line 322]

void testWhenPearRelativeLocationSetAndPearizeFalse( )

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

with pearize explicitly false




Tags:

since:  1.4.0a1
access:  public


[ Top ]

method testWhenPearRelativeLocationSetAndPearizeNull [line 313]

void testWhenPearRelativeLocationSetAndPearizeNull( )

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

with pearize not set




Tags:

since:  1.4.0a1
access:  public


[ Top ]

method testWhenPearRelativeLocationSetAndPearizeTrue [line 331]

void testWhenPearRelativeLocationSetAndPearizeTrue( )

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

with pearize explicitly true




Tags:

since:  1.4.0a1
access:  public


[ Top ]

    Поддержать сайт на родительском проекте КГБ