HomeSort by relevance Sort by last modified time
    Searched refs:mMockConfig (Results 1 - 6 of 6) sorted by null

  /tools/tradefederation/core/tests/src/com/android/tradefed/sandbox/
TradefedSandboxTest.java 56 private IConfiguration mMockConfig;
71 mMockConfig = EasyMock.createMock(IConfiguration.class);
72 EasyMock.expect(mMockConfig.getConfigurationObject(Configuration.SANBOX_OPTIONS_TYPE_NAME))
126 EasyMock.replay(mMockConfig, mMockListener, mMockRunUtil);
127 Exception res = mSandbox.prepareEnvironment(mMockContext, mMockConfig, mMockListener);
128 EasyMock.verify(mMockConfig, mMockListener, mMockRunUtil);
162 EasyMock.replay(mMockConfig, mMockListener, mMockRunUtil);
163 Exception res = mSandbox.prepareEnvironment(mMockContext, mMockConfig, mMockListener);
164 EasyMock.verify(mMockConfig, mMockListener, mMockRunUtil);
178 EasyMock.expect(mMockConfig.getCommandLine()).andReturn("empty --arg 1")
    [all...]
  /tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
TestInvocationMultiTest.java 54 private IConfiguration mMockConfig;
70 mMockConfig = EasyMock.createMock(IConfiguration.class);
115 EasyMock.expect(mMockConfig.getDeviceConfigByName("device1")).andStubReturn(holder1);
126 EasyMock.expect(mMockConfig.getDeviceConfigByName("device2")).andStubReturn(holder2);
143 EasyMock.expect(mMockConfig.getTestInvocationListeners())
146 EasyMock.expect(mMockConfig.getLogSaver()).andReturn(mMockLogSaver);
147 EasyMock.expect(mMockConfig.getLogOutput()).andReturn(mMockLogger).times(4);
148 EasyMock.expect(mMockConfig.getConfigurationDescription()).andReturn(mConfigDesc);
156 EasyMock.expect(mMockConfig.getCommandLine()).andStubReturn("empty");
157 EasyMock.expect(mMockConfig.getCommandOptions()).andStubReturn(new CommandOptions())
    [all...]
  /tools/tradefederation/core/tests/src/com/android/tradefed/command/
CommandSchedulerStressApp.java 39 private IConfiguration mMockConfig;
44 mMockConfig = EasyMock.createNiceMock(IConfiguration.class);
50 EasyMock.expect(mMockConfig.getCommandOptions()).andStubReturn(mCommandOptions);
51 EasyMock.expect(mMockConfig.getDeviceRequirements()).andStubReturn(
82 .andReturn(mMockConfig).anyTimes();
84 EasyMock.replay(mMockConfig, mMockConfigFactory);
CommandSchedulerFuncTest.java 75 private IDeviceConfiguration mMockConfig;
81 mMockConfig = new DeviceConfigurationHolder("device");
82 mMockConfig.addSpecificConfig(mDeviceOptions);
83 mMockConfig.addSpecificConfig(new TestDeviceOptions());
84 mMockDeviceConfig.add(mMockConfig);
107 .andStubReturn(mMockConfig);
110 .andStubReturn(mMockConfig);
268 mMockConfig.addSpecificConfig(testDeviceOptions);
318 mMockConfig.addSpecificConfig(testDeviceOptions);
  /tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
VersionedTfLauncherTest.java 75 private IConfiguration mMockConfig;
83 mMockConfig = EasyMock.createMock(IConfiguration.class);
89 mVersionedTfLauncher.setConfiguration(mMockConfig);
157 EasyMock.expect(mMockConfig.getCommandOptions()).andReturn(new CommandOptions());
158 EasyMock.replay(mMockTestDevice, mMockBuildInfo, mMockRunUtil, mMockListener, mMockConfig);
160 EasyMock.verify(mMockTestDevice, mMockBuildInfo, mMockRunUtil, mMockListener, mMockConfig);
212 EasyMock.expect(mMockConfig.getCommandOptions()).andReturn(new CommandOptions());
213 EasyMock.replay(mMockTestDevice, mMockBuildInfo, mMockRunUtil, mMockListener, mMockConfig);
215 EasyMock.verify(mMockTestDevice, mMockBuildInfo, mMockRunUtil, mMockListener, mMockConfig);
267 EasyMock.expect(mMockConfig.getCommandOptions()).andReturn(new CommandOptions())
    [all...]
TfTestLauncherTest.java 61 private IConfiguration mMockConfig;
68 mMockConfig = EasyMock.createMock(IConfiguration.class);
74 mTfTestLauncher.setConfiguration(mMockConfig);
142 EasyMock.replay(mMockBuildInfo, mMockRunUtil, mMockListener, mMockConfig);
144 EasyMock.verify(mMockBuildInfo, mMockRunUtil, mMockListener, mMockConfig);

Completed in 298 milliseconds