OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:testResult
(Results
1 - 17
of
17
) sorted by null
/hardware/ril/mock-ril/src/js/
simulated_radio_tests.js
202
var
testResult
= simulatedRadio.rilRequestHangUpForegroundResumeBackground(req);
223
if (
testResult
.rilErrCode == RIL_E_GENERIC_FAILURE) {
259
var
testResult
= new Object();
260
testResult
.rilErrCode = RIL_E_SUCCESS;
261
testResult
= simulatedRadio.rilRequestConference(req);
262
if (
testResult
.rilErrCode == RIL_E_GENERIC_FAILURE) {
270
testResult
.rilErrCode = RIL_E_SUCCESS;
271
testResult
= simulatedRadio.rilRequestConference(req);
272
if (
testResult
.rilErrCode == RIL_E_GENERIC_FAILURE) {
280
testResult
.rilErrCode = RIL_E_SUCCESS
[
all
...]
/cts/tools/host/src/com/android/cts/
CtsTestResult.java
20
import junit.framework.
TestResult
;
150
* @param
testResult
The result in the form of JUnit test result.
153
public void setResult(
TestResult
testResult
) {
157
if ((
testResult
!= null) && (
testResult
.failureCount() > 0 ||
testResult
.errorCount() > 0)) {
159
Enumeration<TestFailure> failures =
testResult
.failures();
165
Enumeration<TestFailure> errors =
testResult
.errors();
HostSideOnlyTest.java
21
import junit.framework.
TestResult
;
51
TestResult
testResult
= null;
53
testResult
= runner.runTest(controller.getJarPath(),
67
mResult.setResult(
testResult
);
TestSessionBuilder.java
424
CtsTestResult
testResult
= loadTestResult(testNode);
440
if (
testResult
!= null) {
441
test.addResult(
testResult
);
479
CtsTestResult
testResult
= null;
482
testResult
= new CtsTestResult(result, failedMessage, stackTrace);
487
return
testResult
;
Test.java
273
public TimeOutTask(final Test
testResult
) {
274
mTest =
testResult
;
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
TestResult.java
28
public class
TestResult
{
51
private static Intent createResult(Activity activity, int
testResult
) {
54
data.putExtra(TEST_RESULT,
testResult
);
59
* Convert the test activity's result into a {@link
TestResult
}. Only meant to be used by
62
public static
TestResult
fromActivityResult(int resultCode, Intent data) {
65
return new
TestResult
(name, result);
68
private
TestResult
(String name, int result) {
TestResultsReport.java
87
private String getTestResultString(int
testResult
) {
89
switch (
testResult
) {
90
case
TestResult
.TEST_RESULT_PASSED:
94
case
TestResult
.TEST_RESULT_FAILED:
98
case
TestResult
.TEST_RESULT_NOT_EXECUTED:
103
throw new IllegalArgumentException("Unknown test result: " +
testResult
);
TestListActivity.java
87
TestResult
testResult
=
TestResult
.fromActivityResult(resultCode, data);
89
values.put(TestResultsProvider.COLUMN_TEST_RESULT,
testResult
.getResult());
90
values.put(TestResultsProvider.COLUMN_TEST_NAME,
testResult
.getName());
95
new String[] {
testResult
.getName()});
TestListAdapter.java
227
int
testResult
= cursor.getInt(2);
228
testResults.put(className,
testResult
);
280
:
TestResult
.TEST_RESULT_NOT_EXECUTED;
298
int
testResult
= getTestResult(position);
303
switch (
testResult
) {
304
case
TestResult
.TEST_RESULT_PASSED:
309
case
TestResult
.TEST_RESULT_FAILED:
314
case
TestResult
.TEST_RESULT_NOT_EXECUTED:
318
throw new IllegalArgumentException("Unknown test result: " +
testResult
);
/frameworks/base/core/tests/coretests/src/android/app/activity/
SubActivityTest.java
37
public void
testResult
() throws Exception {
BroadcastTest.java
271
public void
testResult
() throws Exception {
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
BluetoothTestActivity.java
21
import com.android.cts.verifier.
TestResult
;
218
TestResult
result =
TestResult
.fromActivityResult(resultCode, data);
230
TestResult
result =
TestResult
.fromActivityResult(resultCode, data);
255
TestResult
result =
TestResult
.fromActivityResult(resultCode, data);
270
int
testResult
= resultPairs[1];
274
values.put(COLUMN_TEST_RESULT,
testResult
);
309
int
testResult
= cursor.getInt(2)
[
all
...]
/frameworks/base/test-runner/src/android/test/
AndroidTestRunner.java
27
import junit.framework.
TestResult
;
36
private
TestResult
mTestResult;
130
protected
TestResult
createTestResult() {
134
return new
TestResult
();
149
public
TestResult
getTestResult() {
157
public void runTest(
TestResult
testResult
) {
158
mTestResult =
testResult
;
/prebuilt/common/tradefed/
tradefed-prebuilt.jar
/prebuilt/sdk/4/
android.jar
/prebuilt/sdk/6/
android.jar
/prebuilt/sdk/9/
android.jar
Completed in 486 milliseconds