Namespace: OpenEdge.ABLUnit.Results
Class
TestTypeResult
Parent classes:
Inherits: Progress.Lang.Object

Copyright (c) 2013-2016, 2020 by Progress Software Corporation. All rights reserved.
File:TestTypeResult
Author(s):hgarapat
Created:Tue Aug 14 16:43:04 IST 2012
Notes:class that stores the test results (TestTestResult) for each of its methods similarly for procedure for each of its internal procs
/* The number of tests (independent of the other counts).
A single test may have more than one failure associated with it (eg the 'after each' methods fail).




Method Summary
Options Name Purpose
Add (TestTestResult) /* Increments the relevant counter for a test result @param TestTestResult The input result */
Add (TestTypeResult) /* Adds a child result to this result @param TestTypeResult The child/additive result */
INTEGER GetErrorCount ()
INTEGER GetFailureCount ()
INTEGER GetIgnoreCount ()
INTEGER GetSuccessCount ()
INTEGER getTestCount () /* Returns all the test methods for a particular test class */
IncrementError ()
IncrementFailure ()
IncrementIgnore ()
IncrementSuccess ()

Property Summary
Options Name Purpose
INTEGER errorCount
INTEGER failureCount
INTEGER ignoreCount
INTEGER successCount
INTEGER TestCount


Method Detail
Top

PUBLIC Add (TestTestResult)

/* Increments the relevant counter for a test result
Parameters:
pResult OpenEdge.ABLUnit.Results.TestTestResult
Top

PUBLIC Add (TestTypeResult)

/* Adds a child result to this result
Parameters:
pValue OpenEdge.ABLUnit.Results.TestTypeResult
Top

PUBLIC INTEGER GetErrorCount ()

Returns INTEGER
Top

PUBLIC INTEGER GetFailureCount ()

Returns INTEGER
Top

PUBLIC INTEGER GetIgnoreCount ()

Returns INTEGER
Top

PUBLIC INTEGER GetSuccessCount ()

Returns INTEGER
Top

PUBLIC INTEGER getTestCount ()

/*
Returns all the test methods for a particular test class
Returns INTEGER
Top

PUBLIC IncrementError ()

Top

PUBLIC IncrementFailure ()

Top

PUBLIC IncrementIgnore ()

Top

PUBLIC IncrementSuccess ()



Property Detail
Top

PUBLIC INTEGER errorCount

Returns INTEGER
Top

PUBLIC INTEGER failureCount

Returns INTEGER
Top

PUBLIC INTEGER ignoreCount

Returns INTEGER
Top

PUBLIC INTEGER successCount

Returns INTEGER
Top

PUBLIC INTEGER TestCount

Returns INTEGER


Copyright © 2020 Progress Software Corporation. All rights Reserved.

Progress® OpenEdge® Release 12.2.0