blueshoes php application framework and cms            core_lang
[ class tree: core_lang ] [ index: core_lang ] [ all elements ]

Class: Bs_TestFailure

Source Location: /core/lang/phpunit/Bs_TestFailure.class.php

Class Overview

Bs_Object
   |
   --Bs_TestFailure

Record failure of a single TestCase, associating it with the exception(s) that occurred


Author(s):

Version:

  • 4.3.$Revision: 1.2 $ $Date: 2003/08/09 15:17:48 $

Copyright:

  • blueshoes.org

Variables

Methods


Inherited Variables

Inherited Methods

Class: Bs_Object

Bs_Object::Bs_Object()
Bs_Object::getErrors()
Basic error handling: Get *all* errors as string array from the global Bs_Error-error stack.
Bs_Object::getLastError()
Basic error handling: Get last error string from the global Bs_Error-error stack.
Bs_Object::getLastErrors()
Basic error handling: Get last errors string array from the global Bs_Error-error stack sinc last call of getLastErrors().
Bs_Object::persist()
Persists this object by serializing it and saving it to a file with unique name.
Bs_Object::setError()
Basic error handling: Push an error string on the global Bs_Error-error stack.
Bs_Object::toHtml()
Dumps the content of this object to a string using PHP's var_dump().
Bs_Object::toString()
Dumps the content of this object to a string using PHP's var_dump().
Bs_Object::unpersist()
Fetches an object that was persisted with persist()

Class Details

[line 16]
Record failure of a single TestCase, associating it with the exception(s) that occurred

PHP framework for testing, based on the version from the design of "JUnit".




Tags:

copyright:  blueshoes.org
pattern:  singleton: (pseudostatic)
access:  public
version:  4.3.$Revision: 1.2 $ $Date: 2003/08/09 15:17:48 $
author:  andrej arn <at blueshoes dot org>


[ Top ]


Class Variables

$_fExceptions =

[line 30]


Type:   mixed


[ Top ]

$_fFailedTestName =

[line 23]


Type:   mixed


[ Top ]



Class Methods


constructor Bs_TestFailure [line 39]

void Bs_TestFailure( mixed &$test, ? &$exceptions, object &$text)

Constructor.



Parameters:

object   &$text  
?   &$exceptions  

[ Top ]

method getExceptions [line 46]

void getExceptions( )



[ Top ]

method getTestName [line 51]

void getTestName( )



[ Top ]


Documentation generated on Mon, 29 Dec 2003 21:13:06 +0100 by phpDocumentor 1.2.3