Inherits org.skia.skqp.SkQPRunner.TestExecutor.
Definition at line 138 of file SkQPRunner.java.
◆ desc()
Description org.skia.skqp.SkQPRunner.UnitTestExecutor.desc |
( |
int |
index | ) |
|
|
inline |
Definition at line 145 of file SkQPRunner.java.
145 {
146 return mUnitTestDesc[index];
147 }
◆ name()
String org.skia.skqp.SkQPRunner.UnitTestExecutor.name |
( |
int |
index | ) |
|
|
inline |
Definition at line 142 of file SkQPRunner.java.
142 {
143 return desc(index).getMethodName();
144 }
Description desc(int index)
◆ numTests()
int org.skia.skqp.SkQPRunner.UnitTestExecutor.numTests |
( |
| ) |
|
|
inline |
Definition at line 139 of file SkQPRunner.java.
139 {
140 return mUnitTestDesc.length;
141 }
◆ run()
boolean org.skia.skqp.SkQPRunner.UnitTestExecutor.run |
( |
RunNotifier |
notifier, |
|
|
int |
index |
|
) |
| |
|
inline |
Definition at line 148 of file SkQPRunner.java.
148 {
149 String[]
errors = mImpl.nExecuteUnitTest(index);
151 Log.w(TAG, String.format(
"[FAIL] Test '%s' had %d failures.",
155 Log.w(TAG, String.format(
"[FAIL] '%s': %s",
name(index),
error));
156 }
157 return false;
158 }
159
160 return true;
161 }
SkQPRunner(Class testClass)
const uint8_t uint32_t uint32_t GError ** error
void Log(const char *format,...) SK_PRINTF_LIKE(1
The documentation for this class was generated from the following file:
- third_party/skia/platform_tools/android/apps/skqp/src/main/java/org/skia/skqp/SkQPRunner.java