goog.testing.TestCase.Result
Classgoog.testing.TestCase.Result(testCase)
A class for representing test results. A bag of public properties.
testCase
{goog.testing.TestCase
}
.errors
{Array
.<goog.testing.TestCase.Error
>}Errors encountered while running the test.
.getSummary()
string
}
.isStrict()
Determines whether the test result should report failure if no tests are run.
boolean
}
.isSuccess()
boolean
}
.messages
{Array
.<string
>}Messages to show the user after running the test.
.numFilesLoaded
{number
}The number of files loaded to run this test.
.runCount
{number
}Total number of tests that were actually run.
.runTime
{number
}The amount of time the tests took to run.
.successCount
{number
}Number of successful tests.
.testSuppressed
{boolean
}Whether this test case was suppressed by shouldRunTests() returning false.
.totalCount
{number
}Total number of tests that should have been run.