Test.Console Class
Provides a specialized log console widget that's pre-configured to display YUI Test output with no extra configuration.
Item Index
Methods
_addDerivedInfoForFile
    
        - 
                    
                        
fileCoverage 
Calculates line numbers from statement coverage
Parameters:
- 
                    
                        
fileCoverageObjectJSON coverage data
 
_blankSummary
    
        ()
    
    
        
            Object
        
    
    
    
    
    
    
    
    
    Generates a generic summary object used for Istanbul conversions.
Returns:
Generic summary object
_computeBranchTotals
    
        - 
                    
                        
fileCoverage 
Noramlizes branch data from Istanbul
Parameters:
- 
                    
                        
fileCoverageObjectJSON coverage data
 
_computSimpleTotals
    
        - 
                    
                        
fileCoverage - 
                    
                        
property 
Summarize simple properties in the coverage data
_isIstanbul
    
        - 
                    
                        
json 
Scans the coverage data to determine if it's an Istanbul coverage object.
Parameters:
- 
                    
                        
jsonObjectThe coverage data to scan
 
Returns:
True if this is Istanbul Coverage
_parseCoverage
    
        ()
    
    
    
    
        private
    
    
    
    
    
    
    Parses YUITest or Istanbul coverage results if they are available and logs them.
_percent
    
        - 
                    
                        
covered - 
                    
                        
total 
Generic percent calculator
parseInstanbul
    
        - 
                    
                        
coverage 
Takes an Istanbul coverage object, normalizes it and prints a log with a summary
Parameters:
- 
                    
                        
coverageObjectThe coverage object to normalize and log
 
parseYUITest
    
        - 
                    
                        
coverage 
Parses and logs a summary of YUITest coverage data.
Parameters:
- 
                    
                        
coverageObjectThe YUITest Coverage JSON data
 
