Home
last modified time | relevance | path

Searched refs:mFactory (Results 1 – 8 of 8) sorted by relevance

/tools/tradefederation/core/javatests/com/android/tradefed/util/keystore/
DJSONFileKeyStoreFactoryTest.java45 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/javatests/com/android/tradefed/config/
DConfigurationFactoryTest.java74 private ConfigurationFactory mFactory; field in ConfigurationFactoryTest
94 mFactory = in setUp()
308 IConfiguration config = mFactory.createConfigurationFromArgs(new String[] {name}); in assertConfigValid()
318 mFactory.createGlobalConfigurationFromArgs(new String[] {name}, unprocessed); in assertGlobalConfigValid()
332 mFactory.createConfigurationFromArgs(new String[] {"non existent"}); in testCreateConfigurationFromArgs_missing()
348 assertNotNull(mFactory.createConfigurationFromArgs(new String[] {"mandatory-config"})); in testCreateConfigurationFromArgs_mandatory()
358 mFactory.createConfigurationFromArgs(new String[] {}); in testCreateConfigurationFromArgs_empty()
369 IConfiguration config = mFactory.createConfigurationFromArgs(new String[] {TEST_CONFIG, in testCreateConfigurationFromArgs()
382 mFactory.createConfigurationFromArgs(new String[] {TEST_CONFIG, "--log-level", in testCreateConfigurationFromArgs_unprocessedArgs()
410 mFactory.printHelpForConfig(args, true, mockPrintStream); in testPrintHelpForConfig_configExists()
[all …]
DConfigurationDescriptorTest.java35 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()
DRetryConfigurationFactoryTest.java49 private RetryConfigurationFactory mFactory; field in RetryConfigurationFactoryTest
58 mFactory = new RetryConfigurationFactory(); in setUp()
71 mFactory.createConfigurationFromArgs( in testLoad_compatible()
83 mFactory = new RetryConfigurationFactory(); in testLoadRescheduler()
92 IConfiguration config = mFactory.createRetryConfiguration(retryConfig); in testLoadRescheduler()
DSandboxConfigurationFactoryTest.java55 private SandboxConfigurationFactory mFactory; field in SandboxConfigurationFactoryTest
64 mFactory = SandboxConfigurationFactory.getInstance(); in setUp()
113 mFactory.createConfigurationFromArgs( in testCreateConfigurationFromArgs()
144 mFactory.createConfigurationFromArgs( in testCreateConfigurationFromArgs_fail()
176 IConfiguration config = mFactory.createConfigurationFromArgs(args, DumpCmd.RUN_CONFIG); in testCreateConfiguration_runConfig()
/tools/tradefederation/core/javatests/com/android/tradefed/auth/
DServiceAccountKeyCredentialFactoryTest.java52 private ServiceAccountKeyCredentialFactory mFactory; field in ServiceAccountKeyCredentialFactoryTest
58 mFactory = new ServiceAccountKeyCredentialFactory(); in setUp()
59 mOptionSetter = new OptionSetter(mFactory); in setUp()
73 Map<String, String> info = mFactory.getInfo(); in testGetInfo()
84 Map<String, String> info = mFactory.getInfo(); in testGetInfo_error()
/tools/tradefederation/core/javatests/com/android/tradefed/device/
DManagedTestDeviceFactoryTest.java38 private ManagedTestDeviceFactory mFactory; field in ManagedTestDeviceFactoryTest
48 mFactory = new ManagedTestDeviceFactory(true, mMockDeviceManager, mMockDeviceMonitor) ; in setUp()
85 mFactory = in testNestedDevice()
95 IManagedTestDevice result = mFactory.createDevice(mMockIDevice); in testNestedDevice()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/retry/
DRetryRescheduler.java101 private IConfigurationFactory mFactory; field in RetryRescheduler
192 if (mFactory != null) { in getFactory()
193 return mFactory; in getFactory()
200 mFactory = factory; in setConfigurationFactory()