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

Class: Console_LoaderTest

Source Location: /tests/Console/LoaderTest.php

Class Overview

PHPUnit_Framework_TestCase
   |
   --Console_LoaderTest



Author(s):

Copyright:

  • Copyright (c) 2009 Sven Strittmatter

Methods



Class Details

[line 42]


Tags:

copyright:  Copyright (c) 2009 Sven Strittmatter


[ Top ]


Class Methods


static method main [line 52]

static void main( )

Runs the test methods of this class.



Tags:

access:  public


[ Top ]

method setUp [line 58]

void setUp( )



Tags:

access:  public


[ Top ]

method tearDown [line 65]

void tearDown( )



Tags:

access:  public


[ Top ]

method testFileNameIsValid [line 141]

void testFileNameIsValid( )



Tags:

access:  public


[ Top ]

method testIsFileReadable [line 117]

void testIsFileReadable( )

Tests that isReadable works



Tags:

access:  public


[ Top ]

method testLoadClass [line 77]

void testLoadClass( )

Tests that a class can be loaded from a well-formed PHP file



Tags:

access:  public


[ Top ]

method testLoadInterface [line 90]

void testLoadInterface( )



Tags:

access:  public


[ Top ]

method testThrowsExceptionOnLoadIllegalFilename [line 105]

void testThrowsExceptionOnLoadIllegalFilename( )

Tests that the security filter catches illegal characters.



Tags:

access:  public


[ Top ]

method testThrowsExceptionOnLoadNotReadableFile [line 124]

void testThrowsExceptionOnLoadNotReadableFile( )



Tags:

access:  public


[ Top ]

method testThrowsExceptionOnRequiredFileDoesNotContainType [line 132]

void testThrowsExceptionOnRequiredFileDoesNotContainType( )

With type either class or interface is ment!



Tags:

access:  public


[ Top ]


Documentation generated on Mon, 17 Aug 2009 15:52:50 +0200 by phpDocumentor 1.4.2