[ Index ]
 

Code source de Symfony 1.0.0

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/lib/vendor/phing/tasks/ext/phpunit2/ -> PHPUnit2Util.php (sommaire)

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. This software consists of voluntary contributions made by many individuals and is licensed under the LGPL. For more information please see <http://phing.info>.

Poids: 121 lignes (3 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

PHPUnit2Util:: (3 méthodes):
  getPackageName()
  getClassFromFileName()
  getDefinedClasses()


Classe: PHPUnit2Util  - X-Ref

Various utility functions

getPackageName($classname)   X-Ref
Returns the package of a class as defined in the docblock of the class using @package

param: string the name of the class
return: string the name of the package

getClassFromFileName($filename)   X-Ref
Derives the classname from a filename.
Assumes that there is only one class defined in that particular file, and that
the naming follows the dot-path (Java) notation scheme.

param: string the filename
return: string the name fo the class

getDefinedClasses($filename, $classpath = NULL)   X-Ref

param: string the filename
param: Path optional classpath
return: array list of classes defined in the file



Généré le : Fri Mar 16 22:42:14 2007 par Balluche grâce à PHPXref 0.7