mn8 Language Reference | Index    

TestFailure

SUMMARY: NO ATTRIBUTES  ELEMENTS SUMMARY  CONSTRUCTORS SUMMARY  NO OPERATORS  METHODS SUMMARYDETAIL: NO ATTRIBUTES  ELEMENT DETAILS  CONSTRUCTOR DETAILS  NO OPERATORS  METHOD DETAILS

Description

A TestFailure collects a failed test together with the assert fail messages.

Usage

Version: 0.1
Authors:Antal Attila ()
Location:
Inherits: Concept

Element List

 fFailedTest TYPEOF Test LABEL "fFailedTest"
 fException TYPEOF String LABEL "fException"
top

Constructor List

create (Test $failedTest, String $ex)
top

Method List

TestfailedTest
StringthrownException
StringtoString
top
Methods inherited from: Concept
cloneConcept, extendsConcept, fromXML, getAllInheritedConcepts, getConceptAttribute, getConceptAttributeField, getConceptAttributeFields, getConceptAttributes, getConceptConstructors, getConceptElement, getConceptElementField, getConceptElementFields, getConceptElements, getConceptLabel, getConceptMethod, getConceptMethods, getConceptOperators, getConceptType, getErrorHandler, getInheritedConcepts, getResourceURI, hasConceptAttribute, hasConceptElement, hasConceptMethod, hasPath, isHidden, loadContent, setConceptLabel, setErrorHandler, setHidden, setShowEmpty, showEmpty, toTXT, toXML, setResourceURI

Detailed Element Info

fFailedTest

Label:fFailedTest
Type:Test
Is Static:false
Is Hidden:false
Is Multi:false
Show Empty:true

the failed test element

top

fException

Label:fException
Type:String
Is Static:false
Is Hidden:false
Is Multi:false
Show Empty:true

the assert fail message element

top

Detailed Constructor Info

create (Test $failedTest, String $ex)
Parameters:
$failedTest :the failed test
$ex :the assert fail message

Constructs a TestFailure with the given test and exception.

top

Detailed Method Info

failedTest
Returns: Test

Gets the failed test.

top
thrownException
Returns: String

Gets the assert fail message.

top
toString
Returns: String

Returns a short description of the failure.

top