Searched refs:mFactory (Results 1 – 7 of 7) sorted by relevance
/tools/tradefederation/core/tests/src/com/android/tradefed/util/keystore/ |
D | JSONFileKeyStoreFactoryTest.java | 45 private JSONFileKeyStoreFactory mFactory; field in JSONFileKeyStoreFactoryTest 51 mFactory = new JSONFileKeyStoreFactory(); in setUp() 52 mFactory.setHostName("hostname"); in setUp() 73 OptionSetter setter = new OptionSetter(mFactory); in testLoadKeyStore_same() 75 IKeyStoreClient client = mFactory.createKeyStoreClient(); in testLoadKeyStore_same() 77 IKeyStoreClient client2 = mFactory.createKeyStoreClient(); in testLoadKeyStore_same() 84 OptionSetter setter = new OptionSetter(mFactory); in testLoadKeyStore_modified() 86 IKeyStoreClient client = mFactory.createKeyStoreClient(); in testLoadKeyStore_modified() 89 IKeyStoreClient client2 = mFactory.createKeyStoreClient(); in testLoadKeyStore_modified() 100 OptionSetter setter = new OptionSetter(mFactory); in testLoadKeyStore_null() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/ |
D | ManagedTestDeviceFactoryTest.java | 38 private ManagedTestDeviceFactory mFactory; field in ManagedTestDeviceFactoryTest 48 mFactory = new ManagedTestDeviceFactory(true, mMockDeviceManager, mMockDeviceMonitor) ; in setUp() 56 assertTrue(mFactory.isTcpDeviceSerial(input)); in testIsSerialTcpDevice() 62 assertTrue(mFactory.isTcpDeviceSerial(input)); in testIsSerialTcpDevice_localhost() 68 assertFalse(mFactory.isTcpDeviceSerial(input)); in testIsSerialTcpDevice_notTcp() 74 assertFalse(mFactory.isTcpDeviceSerial(input)); in testIsSerialTcpDevice_malformedPort() 80 assertFalse(mFactory.isTcpDeviceSerial(input)); in testIsSerialTcpDevice_nohost() 85 mFactory = in testNestedDevice() 95 IManagedTestDevice result = mFactory.createDevice(mMockIDevice); in testNestedDevice() 107 mFactory = new ManagedTestDeviceFactory(true, mMockDeviceManager, mMockDeviceMonitor) { in testFrameworkAvailable() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/config/ |
D | ConfigurationFactoryTest.java | 57 private ConfigurationFactory mFactory; field in ConfigurationFactoryTest 81 mFactory = in setUp() 300 IConfiguration config = mFactory.createConfigurationFromArgs(new String[] {name}); in assertConfigValid() 310 mFactory.createGlobalConfigurationFromArgs(new String[] {name}, unprocessed); in assertGlobalConfigValid() 323 mFactory.createConfigurationFromArgs(new String[] {"non existent"}); in testCreateConfigurationFromArgs_missing() 338 assertNotNull(mFactory.createConfigurationFromArgs(new String[] {"mandatory-config"})); in testCreateConfigurationFromArgs_mandatory() 347 mFactory.createConfigurationFromArgs(new String[] {}); in testCreateConfigurationFromArgs_empty() 359 IConfiguration config = mFactory.createConfigurationFromArgs(new String[] {TEST_CONFIG, in testCreateConfigurationFromArgs() 371 mFactory.createConfigurationFromArgs(new String[] {TEST_CONFIG, "--log-level", in testCreateConfigurationFromArgs_unprocessedArgs() 399 mFactory.printHelpForConfig(args, true, mockPrintStream); in testPrintHelpForConfig_configExists() [all …]
|
D | ConfigurationDescriptorTest.java | 35 private ConfigurationFactory mFactory; field in ConfigurationDescriptorTest 39 mFactory = in setUp() 54 IConfiguration config = mFactory.createConfigurationFromArgs(new String[] {"test-config"}); in testRejectCommandLine() 60 mFactory.createConfigurationFromArgs( in testRejectCommandLine() 74 IConfiguration config = mFactory.createConfigurationFromArgs(new String[] {"test-config"}); in testSerialization()
|
D | RetryConfigurationFactoryTest.java | 45 private RetryConfigurationFactory mFactory; field in RetryConfigurationFactoryTest 52 mFactory = new RetryConfigurationFactory(); in setUp() 66 mFactory.createConfigurationFromArgs( in testLoad_compatible() 78 mFactory = new RetryConfigurationFactory(); in testLoadRescheduler() 91 IConfiguration config = mFactory.createRetryConfiguration(retryConfig); in testLoadRescheduler()
|
D | SandboxConfigurationFactoryTest.java | 53 private SandboxConfigurationFactory mFactory; field in SandboxConfigurationFactoryTest 60 mFactory = SandboxConfigurationFactory.getInstance(); in setUp() 118 mFactory.createConfigurationFromArgs( in testCreateConfigurationFromArgs() 149 mFactory.createConfigurationFromArgs( in testCreateConfigurationFromArgs_fail() 171 IConfiguration config = mFactory.createConfigurationFromArgs(args, DumpCmd.RUN_CONFIG); in testCreateConfiguration_runConfig()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/retry/ |
D | RetryRescheduler.java | 108 private IConfigurationFactory mFactory; field in RetryRescheduler 215 if (mFactory != null) { in getFactory() 216 return mFactory; in getFactory() 223 mFactory = factory; in setConfigurationFactory()
|