Home
last modified time | relevance | path

Searched refs:InvocationContext (Results 1 – 25 of 134) sorted by relevance

123456

/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DSubprocessTestResultsParserTest.java26 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/
DInvocationContextTest.java28 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()
DShardMainResultForwarderTest.java66 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()
DShardListenerTest.java55 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/
DInvocationContext.java28 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/
DClusterLogSaverTest.java26 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/
DFileProtoResultReporterTest.java25 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()
DStreamProtoResultReporterTest.java24 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()
DProtoResultParserTest.java28 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()
DProtoResultReporterTest.java23 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/
DMetricsXMLResultReporterTest.java25 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()
DSubprocessResultsReporterTest.java26 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
DEmailResultReporterTest.java21 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()
DXmlResultReporterTest.java20 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()
DATestFileSystemLogSaverTest.java23 import com.android.tradefed.invoker.InvocationContext;
41 private InvocationContext mContext;
47 mContext = new InvocationContext(); in setUp()
DLegacySubprocessResultsReporterTest.java20 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()
DJsonHttpTestResultReporterTest.java27 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/
DProtoResultParser.java20 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/
DAdbStopServerPreparerTest.java25 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/
DITestSuiteIntegrationTest.java38 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/
DMetricsXmlParserTest.java30 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/
DResultsPlayerTest.java26 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/
DNoApkTestSkipperTest.java26 import com.android.tradefed.invoker.InvocationContext;
54 InvocationContext context = new InvocationContext(); in setUp()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DRunCommandTargetPreparerTest.java27 import com.android.tradefed.invoker.InvocationContext;
59 InvocationContext context = new InvocationContext(); in setUp()
/tools/tradefederation/core/tests/src/com/android/tradefed/result/suite/
DFormattedGeneratorReporterTest.java24 import com.android.tradefed.invoker.InvocationContext;
55 mContext = new InvocationContext(); in setUp()
153 IInvocationContext moduleContext = new InvocationContext(); in testFinalizeResults()

123456