/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | SubprocessTestResultsParserTest.java | 26 import com.android.tradefed.invoker.InvocationContext; 121 new SubprocessTestResultsParser(mockRunListener, new InvocationContext()); in testParse_randomEvents() 163 new SubprocessTestResultsParser(mockRunListener, new InvocationContext()); in testParse_invalidEventOrder() 192 new SubprocessTestResultsParser(mockRunListener, new InvocationContext()); in testParse_testNotStarted() 231 new SubprocessTestResultsParser(mockRunListener, new InvocationContext()); in testParse_noTimeStamp() 266 new SubprocessTestResultsParser(mockRunListener, new InvocationContext()); in testParse_invocationFailed() 307 new SubprocessTestResultsParser(mockRunListener, true, new InvocationContext()); in testParser_receiveFromSocket() 342 new SubprocessTestResultsParser(mockRunListener, true, new InvocationContext()); in testParser_failToJoin() 356 new SubprocessTestResultsParser(listener, true, new InvocationContext())) { in testParser_noConnection() argument 367 InvocationContext context = new InvocationContext(); in testParse_testTag() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/ |
D | InvocationContextTest.java | 28 import com.android.tradefed.invoker.proto.InvocationContext.Context; 48 private InvocationContext mContext; 52 mContext = new InvocationContext(); in setUp() 134 InvocationContext deserialized = in testSerialize() 135 (InvocationContext) SerializationUtil.deserialize(ser, true); in testSerialize() 154 InvocationContext context = new InvocationContext(); in testProtoSerialize() 167 InvocationContext deserialized = InvocationContext.fromProto(protoContext); in testProtoSerialize() 175 InvocationContext context = new InvocationContext(); in testProtoSerialize_moduleContext() 180 InvocationContext moduleContext = new InvocationContext(); in testProtoSerialize_moduleContext() 189 InvocationContext deserialized = InvocationContext.fromProto(protoContext); in testProtoSerialize_moduleContext()
|
D | ShardMainResultForwarderTest.java | 66 IInvocationContext main = new InvocationContext(); in testForwardBuildInfo() 72 InvocationContext shard1 = new InvocationContext(); in testForwardBuildInfo() 78 InvocationContext shard2 = new InvocationContext(); in testForwardBuildInfo() 100 IInvocationContext main = new InvocationContext(); in testForwardBuildInfo_multiDevice() 111 InvocationContext shard1 = new InvocationContext(); in testForwardBuildInfo_multiDevice() 122 InvocationContext shard2 = new InvocationContext(); in testForwardBuildInfo_multiDevice() 160 IInvocationContext main = new InvocationContext(); in testForward_Sharded()
|
D | ShardListenerTest.java | 55 mContext = new InvocationContext(); in setUp() 122 IInvocationContext module1 = new InvocationContext(); in testBufferAndReplay_withModule() 123 IInvocationContext module2 = new InvocationContext(); in testBufferAndReplay_withModule() 175 IInvocationContext module1 = new InvocationContext(); in testBufferAndReplay_withModule_attempts() 176 IInvocationContext module2 = new InvocationContext(); in testBufferAndReplay_withModule_attempts()
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/ |
D | InvocationContext.java | 28 import com.android.tradefed.invoker.proto.InvocationContext.Context; 47 public class InvocationContext implements IInvocationContext { class 75 public InvocationContext() { in InvocationContext() method in InvocationContext 416 public static InvocationContext fromProto(Context protoContext) { in fromProto() 417 InvocationContext context = new InvocationContext(); in fromProto() 437 context.mModuleContext = InvocationContext.fromProto(protoContext.getModuleContext()); in fromProto()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/cluster/ |
D | ClusterLogSaverTest.java | 26 import com.android.tradefed.invoker.InvocationContext; 219 final InvocationContext invocationContext = new InvocationContext(); in testInvocationEnded() 262 final InvocationContext invocationContext = new InvocationContext(); in testInvocationEnded_uploadError() 308 InvocationContext invocationContext = new InvocationContext(); in testInvocationEnded_duplicateUpload()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/result/proto/ |
D | FileProtoResultReporterTest.java | 25 import com.android.tradefed.invoker.InvocationContext; 26 import com.android.tradefed.invoker.proto.InvocationContext.Context; 77 IInvocationContext context = new InvocationContext(); in testWriteResults() 91 InvocationContext.fromProto(anyDescription.unpack(Context.class)); in testWriteResults() 101 IInvocationContext context = new InvocationContext(); in testWriteResults_periodic() 161 IInvocationContext context = new InvocationContext(); in createModuleContext()
|
D | StreamProtoResultReporterTest.java | 24 import com.android.tradefed.invoker.InvocationContext; 57 mInvocationContext = new InvocationContext(); in setUp() 58 mMainInvocationContext = new InvocationContext(); in setUp() 254 IInvocationContext context = new InvocationContext(); in createModuleContext()
|
D | ProtoResultParserTest.java | 28 import com.android.tradefed.invoker.InvocationContext; 125 mMainInvocationContext = new InvocationContext(); in setUp() 129 mInvocationContext = new InvocationContext(); in setUp() 716 IInvocationContext context = new InvocationContext(); in createModuleContext()
|
D | ProtoResultReporterTest.java | 23 import com.android.tradefed.invoker.InvocationContext; 64 mInvocationContext = new InvocationContext(); in setUp() 184 IInvocationContext context = new InvocationContext(); in createModuleContext()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/result/ |
D | MetricsXMLResultReporterTest.java | 25 import com.android.tradefed.invoker.InvocationContext; 60 IInvocationContext context = new InvocationContext(); in testEmptyGeneration() 77 IInvocationContext context = new InvocationContext(); in testRunMetrics() 104 IInvocationContext context = new InvocationContext(); in testTestMetrics() 129 IInvocationContext context = new InvocationContext(); in testTestFailMetrics()
|
D | SubprocessResultsReporterTest.java | 26 import com.android.tradefed.invoker.InvocationContext; 124 new SubprocessTestResultsParser(mMockListener, true, new InvocationContext()); in testPrintEvent_printToSocket() 162 new SubprocessTestResultsParser(mMockListener, true, new InvocationContext()); in testPrintEvent_printToSocket_StructuredFailures() 237 new SubprocessTestResultsParser(mMockListener, true, new InvocationContext())) { in testTestLog() argument 266 new SubprocessTestResultsParser(mMockListener, true, new InvocationContext())) { in testTestLog_disabled() argument
|
D | EmailResultReporterTest.java | 21 import com.android.tradefed.invoker.InvocationContext; 52 IInvocationContext context = new InvocationContext(); in testInvocationEnded() 71 IInvocationContext context = new InvocationContext(); in testInvocationEnded_multiBuild() 93 IInvocationContext context = new InvocationContext(); in testNullFlavorAndBranch()
|
D | XmlResultReporterTest.java | 20 import com.android.tradefed.invoker.InvocationContext; 106 IInvocationContext context = new InvocationContext(); in testEmptyGeneration() 120 IInvocationContext context = new InvocationContext(); in testSinglePass() 144 IInvocationContext context = new InvocationContext(); in testSingleFail()
|
D | ATestFileSystemLogSaverTest.java | 23 import com.android.tradefed.invoker.InvocationContext; 41 private InvocationContext mContext; 47 mContext = new InvocationContext(); in setUp()
|
D | LegacySubprocessResultsReporterTest.java | 20 import com.android.tradefed.invoker.InvocationContext; 69 new SubprocessTestResultsParser(mMockListener, true, new InvocationContext()); in testPrintEvent_printToSocket() 101 new SubprocessTestResultsParser(mMockListener, true, new InvocationContext()); in testPrintEvent_legacyMethodCalls()
|
D | JsonHttpTestResultReporterTest.java | 27 import com.android.tradefed.invoker.InvocationContext; 60 mContext = new InvocationContext(); in setUp() 101 Mockito.doReturn(null).when(mReporter).getDevice(any(InvocationContext.class)); in testIncludeAdditionalTestDetails()
|
/tools/tradefederation/core/src/com/android/tradefed/result/proto/ |
D | ProtoResultParser.java | 20 import com.android.tradefed.invoker.InvocationContext; 24 import com.android.tradefed.invoker.proto.InvocationContext.Context; 275 receivedContext = InvocationContext.fromProto(anyDescription.unpack(Context.class)); in handleInvocationStart() 303 InvocationContext.fromProto(anyDescription.unpack(Context.class)); in handleInvocationEnded() 364 InvocationContext.fromProto(anyDescription.unpack(Context.class)); in handleModuleStart() 585 Method unlock = InvocationContext.class.getDeclaredMethod("unlock"); in mergeInvocationContext()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/adb/ |
D | AdbStopServerPreparerTest.java | 25 import com.android.tradefed.invoker.InvocationContext; 85 InvocationContext context = new InvocationContext(); in setUp() 170 InvocationContext context = new InvocationContext(); in testNoAdb()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/ |
D | ITestSuiteIntegrationTest.java | 38 import com.android.tradefed.invoker.InvocationContext; 167 mContext = new InvocationContext(); in setUp() 523 mContext = new InvocationContext(); in testRun_sharding_firstModuleRunsAll() 565 mContext = new InvocationContext(); in testRun_sharding_parallelRun() 614 mContext = new InvocationContext(); in testRun_sharding_withIndex() 694 mContext = new InvocationContext(); in helperTestShardIndex()
|
/tools/tradefederation/contrib/tests/src/com/android/regression/tests/ |
D | MetricsXmlParserTest.java | 30 import com.android.tradefed.invoker.InvocationContext; 88 IInvocationContext context = new InvocationContext(); in testSimpleParse() 116 IInvocationContext context = new InvocationContext(); in testParse() 151 IInvocationContext context = new InvocationContext(); in testParseBlacklist()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/retry/ |
D | ResultsPlayerTest.java | 26 import com.android.tradefed.invoker.InvocationContext; 59 mContext = new InvocationContext(); in setUp() 108 IInvocationContext module1 = new InvocationContext(); in testReplayModules() 110 IInvocationContext module2 = new InvocationContext(); in testReplayModules()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/app/ |
D | NoApkTestSkipperTest.java | 26 import com.android.tradefed.invoker.InvocationContext; 54 InvocationContext context = new InvocationContext(); in setUp()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/ |
D | RunCommandTargetPreparerTest.java | 27 import com.android.tradefed.invoker.InvocationContext; 59 InvocationContext context = new InvocationContext(); in setUp()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/result/suite/ |
D | FormattedGeneratorReporterTest.java | 24 import com.android.tradefed.invoker.InvocationContext; 55 mContext = new InvocationContext(); in setUp() 153 IInvocationContext moduleContext = new InvocationContext(); in testFinalizeResults()
|