public static class ScopeSelftest.ScopeSelftestResult.Builder extends Object
SelftestResult emulation profiles.| Constructor and Description |
|---|
ScopeSelftest.ScopeSelftestResult.Builder()
Creates a new builder.
|
| Modifier and Type | Method and Description |
|---|---|
Selftest.SelftestResult |
build()
Returns a newly-created
SelftestResult based on the contents of the builder. |
ScopeSelftest.ScopeSelftestResult.Builder |
setFileName(String fileName)
Sets the group this test belongs to.
|
ScopeSelftest.ScopeSelftestResult.Builder |
setGroupName(String groupName)
Sets the group this test belongs to.
|
ScopeSelftest.ScopeSelftestResult.Builder |
setLineNumber(int lineNumber)
Sets the line number where the test failed.
|
ScopeSelftest.ScopeSelftestResult.Builder |
setReason(String reason)
Sets the test reason of a FAILed or SKIPped test.
|
ScopeSelftest.ScopeSelftestResult.Builder |
setTestName(String testName)
Sets the name of this test.
|
ScopeSelftest.ScopeSelftestResult.Builder |
setTestResult(Selftest.SelftestResult.Result result)
Sets the test result.
|
public ScopeSelftest.ScopeSelftestResult.Builder()
ScopeSelftest.ScopeSelftestResult.builder().public Selftest.SelftestResult build()
SelftestResult based on the contents of the builder.public ScopeSelftest.ScopeSelftestResult.Builder setTestName(String testName)
testName - name of this testpublic ScopeSelftest.ScopeSelftestResult.Builder setGroupName(String groupName)
groupName - name of group this test belongs topublic ScopeSelftest.ScopeSelftestResult.Builder setFileName(String fileName)
fileName - filename where this test is locatedpublic ScopeSelftest.ScopeSelftestResult.Builder setTestResult(Selftest.SelftestResult.Result result)
result - result of the test Resultpublic ScopeSelftest.ScopeSelftestResult.Builder setReason(String reason)
reason - a unique description of this profilepublic ScopeSelftest.ScopeSelftestResult.Builder setLineNumber(int lineNumber)
lineNumber - in filename where a test FAILed or was SKIPped.Copyright © 2012. All Rights Reserved.