public static class ScopeSelftest.ScopeSelftestResult extends Object implements Selftest.SelftestResult
| Modifier and Type | Class and Description |
|---|---|
static class |
ScopeSelftest.ScopeSelftestResult.Builder
A builder for creating
SelftestResult emulation profiles. |
Selftest.SelftestResult.Result| Constructor and Description |
|---|
ScopeSelftest.ScopeSelftestResult() |
| Modifier and Type | Method and Description |
|---|---|
static ScopeSelftest.ScopeSelftestResult.Builder |
builder()
Returns a new builder.
|
static Selftest.SelftestResult.Result |
convertProtoResult(SelftestProtos.SelftestResult.Result result) |
boolean |
equals(Object other) |
Selftest.SelftestResult |
fromJson(org.json.JSONObject json) |
String |
getFileName() |
String |
getGroupName() |
int |
getLineNumber() |
String |
getReason() |
Selftest.SelftestResult.Result |
getResult() |
String |
getTestName() |
org.json.JSONObject |
toJson() |
String |
toString() |
public String getTestName()
getTestName in interface Selftest.SelftestResultpublic String getGroupName()
getGroupName in interface Selftest.SelftestResultpublic Selftest.SelftestResult.Result getResult()
getResult in interface Selftest.SelftestResultSelftest.SelftestResult.Result.PASS, Selftest.SelftestResult.Result.FAIL or Selftest.SelftestResult.Result.SKIPpublic String getReason()
getReason in interface Selftest.SelftestResultpublic int getLineNumber()
getLineNumber in interface Selftest.SelftestResultpublic String getFileName()
getFileName in interface Selftest.SelftestResultpublic org.json.JSONObject toJson()
throws org.json.JSONException
org.json.JSONExceptionpublic Selftest.SelftestResult fromJson(org.json.JSONObject json) throws org.json.JSONException
org.json.JSONExceptionpublic static Selftest.SelftestResult.Result convertProtoResult(SelftestProtos.SelftestResult.Result result)
public static ScopeSelftest.ScopeSelftestResult.Builder builder()
ScopeSelftest.ScopeSelftestResult.Builder constructor.Copyright © 2012. All Rights Reserved.