Home
last modified time | relevance | path

Searched refs:setProperty (Results 1 – 25 of 150) sorted by relevance

123456

/external/apache-xml/src/main/java/org/apache/xml/serializer/dom3/
DLSSerializerImpl.java255 fDOMConfigProperties.setProperty(DOMConstants.S_DOM3_PROPERTIES_NS in initializeSerializerProps()
259 fDOMConfigProperties.setProperty(DOMConstants.S_DOM3_PROPERTIES_NS in initializeSerializerProps()
263 fDOMConfigProperties.setProperty(DOMConstants.S_DOM3_PROPERTIES_NS in initializeSerializerProps()
268 fDOMConfigProperties.setProperty(DOMConstants.S_DOM3_PROPERTIES_NS in initializeSerializerProps()
272 fDOMConfigProperties.setProperty(DOMConstants.S_DOM3_PROPERTIES_NS in initializeSerializerProps()
277 fDOMConfigProperties.setProperty(DOMConstants.S_DOM3_PROPERTIES_NS in initializeSerializerProps()
282 fDOMConfigProperties.setProperty(DOMConstants.S_DOM3_PROPERTIES_NS in initializeSerializerProps()
285 fDOMConfigProperties.setProperty(DOMConstants.S_XERCES_PROPERTIES_NS in initializeSerializerProps()
298 fDOMConfigProperties.setProperty(DOMConstants.S_DOM3_PROPERTIES_NS in initializeSerializerProps()
300 fDOMConfigProperties.setProperty(DOMConstants.S_DOM3_PROPERTIES_NS in initializeSerializerProps()
[all …]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowSystemProperties.java64 loadProperties().setProperty(key, val); in native_set()
108 buildProperties.setProperty("ro.build.fingerprint", "robolectric"); in setDefaults()
109 buildProperties.setProperty("ro.product.device", "robolectric"); in setDefaults()
110 buildProperties.setProperty("ro.product.name", "robolectric"); in setDefaults()
111 buildProperties.setProperty("ro.product.model", "robolectric"); in setDefaults()
112 buildProperties.setProperty("ro.hardware", "robolectric"); in setDefaults()
113 buildProperties.setProperty("ro.build.characteristics", "robolectric"); in setDefaults()
116 buildProperties.setProperty("ro.product.cpu.abi", "unknown"); in setDefaults()
117 buildProperties.setProperty("ro.product.cpu.abi2", "unknown"); in setDefaults()
118 buildProperties.setProperty("ro.product.cpu.abilist", "armeabi-v7a"); in setDefaults()
[all …]
/external/vogar/test/vogar/target/
DTestRunnerRule.java44 setProperty(TestProperties.MONITOR_PORT, testRunnerProperties.monitorPort()); in apply()
52 setProperty(TestProperties.TEST_CLASS_OR_PACKAGE, testClassOrPackage); in apply()
53 setProperty(TestProperties.RUNNER_TYPE, testRunnerProperties.runnerType().toString()); in apply()
54 setProperty(TestProperties.TIMEOUT, testRunnerProperties.timeout()); in apply()
63 private void setProperty(String key, String value) { in setProperty() method in TestRunnerRule
66 properties.setProperty(key, value); in setProperty()
70 private void setProperty(String key, boolean value) { in setProperty() method in TestRunnerRule
71 properties.setProperty(key, String.valueOf(value)); in setProperty()
74 private void setProperty(String key, int value) { in setProperty() method in TestRunnerRule
75 properties.setProperty(key, String.valueOf(value)); in setProperty()
/external/testng/src/main/java/org/testng/xml/
DLaunchSuite.java146 attrs.setProperty("parallel", XmlSuite.ParallelMode.NONE.toString()); in createContentBuffer()
147 attrs.setProperty("name", m_suiteName); in createContentBuffer()
153 paramAttrs.setProperty("name", entry.getKey()); in createContentBuffer()
154 paramAttrs.setProperty("value", entry.getValue()); in createContentBuffer()
262 testAttrs.setProperty("name", m_className); in initContentBuffer()
263 testAttrs.setProperty("verbose", String.valueOf(m_logLevel)); in initContentBuffer()
270 classAttrs.setProperty("name", m_className); in initContentBuffer()
279 methodAttrs.setProperty("name", (String) methodName); in initContentBuffer()
314 testAttrs.setProperty("name", m_projectName); in initContentBuffer()
315 testAttrs.setProperty("verbose", String.valueOf(m_logLevel)); in initContentBuffer()
[all …]
DXmlUtils.java14 public static void setProperty(Properties p, String name, String value, String def) { in setProperty() method in XmlUtils
16 p.setProperty(name, value); in setProperty()
25 paramProps.setProperty("name", para.getKey()); in dumpParameters()
26 paramProps.setProperty("value", para.getValue()); in dumpParameters()
DXmlSuite.java464 p.setProperty("name", getName()); in toXml()
466 XmlUtils.setProperty(p, "verbose", getVerbose().toString(), DEFAULT_VERBOSE.toString()); in toXml()
470 p.setProperty("parallel", parallel.toString()); in toXml()
472 XmlUtils.setProperty(p, "group-by-instances", String.valueOf(getGroupByInstances()), in toXml()
474 XmlUtils.setProperty(p, "configfailurepolicy", getConfigFailurePolicy(), in toXml()
476 XmlUtils.setProperty(p, "thread-count", String.valueOf(getThreadCount()), in toXml()
478 …XmlUtils.setProperty(p, "data-provider-thread-count", String.valueOf(getDataProviderThreadCount()), in toXml()
481 p.setProperty("junit", m_isJUnit != null ? m_isJUnit.toString() : "false"); // TESTNG-141 in toXml()
483 XmlUtils.setProperty(p, "skipfailedinvocationcounts", m_skipFailedInvocationCounts.toString(), in toXml()
486 p.setProperty("object-factory", m_objectFactory.getClass().getName()); in toXml()
[all …]
/external/testng/src/main/java/org/testng/reporters/
DXMLSuiteResultWriter.java99 attrs.setProperty(XMLReporterConfig.ATTR_URL, suiteResultName); in referenceSuiteResult()
107 attributes.setProperty(XMLReporterConfig.ATTR_NAME, tc.getName()); in getSuiteResultAttributes()
119 attributes.setProperty(XMLReporterConfig.ATTR_NAME, in addTestResults()
121 …attributes.setProperty(XMLReporterConfig.ATTR_PACKAGE, dot > -1 ? className.substring(0, dot) : "[… in addTestResults()
123 attributes.setProperty(XMLReporterConfig.ATTR_NAME, className); in addTestResults()
152 attribs.setProperty(XMLReporterConfig.ATTR_STATUS, getStatusString(testResult.getStatus())); in addTestResult()
180 attributes.setProperty(XMLReporterConfig.ATTR_IS_CONFIG, "true"); in getTestResultAttributes()
182 attributes.setProperty(XMLReporterConfig.ATTR_NAME, testResult.getMethod().getMethodName()); in getTestResultAttributes()
185 attributes.setProperty(XMLReporterConfig.ATTR_TEST_INSTANCE_NAME, testInstanceName); in getTestResultAttributes()
189 attributes.setProperty(XMLReporterConfig.ATTR_DESC, description); in getTestResultAttributes()
[all …]
DJUnitReportReporter.java87 p1.setProperty("name", cls.getName()); in generateReport()
89 p1.setProperty(XMLConstants.ATTR_TIMESTAMP, timeStamp.toGMTString()); in generateReport()
110 p2.setProperty("classname", cls.getName()); in generateReport()
111 p2.setProperty("name", getTestName(tr)); in generateReport()
117 p2.setProperty("time", "" + formatTime(time)); in generateReport()
134 p1.setProperty("failures", "" + failures); in generateReport()
135 p1.setProperty("errors", "" + errors); in generateReport()
136 p1.setProperty("name", cls.getName()); in generateReport()
137 p1.setProperty("tests", "" + testCount); in generateReport()
138 p1.setProperty("time", "" + formatTime(totalTime)); in generateReport()
[all …]
DJUnitXMLReporter.java154 attrs.setProperty(XMLConstants.ATTR_ERRORS, "0"); in generateReport()
155 attrs.setProperty(XMLConstants.ATTR_FAILURES, "" + m_numFailed); in generateReport()
157 attrs.setProperty(XMLConstants.ATTR_HOSTNAME, InetAddress.getLocalHost().getHostName()); in generateReport()
163 attrs.setProperty(XMLConstants.ATTR_NAME, context.getCurrentXmlTest().getName()); in generateReport()
167 attrs.setProperty(XMLConstants.ATTR_TESTS, "" + m_allTests.size()); in generateReport()
168 attrs.setProperty(XMLConstants.ATTR_TIME, "" in generateReport()
172 attrs.setProperty(XMLConstants.ATTR_TIMESTAMP, timeStamp.toGMTString()); in generateReport()
207 attrs.setProperty(XMLConstants.ATTR_NAME, name); in createElement()
208 attrs.setProperty(XMLConstants.ATTR_CLASSNAME, tr.getTestClass().getRealClass().getName()); in createElement()
209 attrs.setProperty(XMLConstants.ATTR_TIME, "" + (((double) elapsedTimeMillis) / 1000)); in createElement()
[all …]
DXMLReporter.java108 attrs.setProperty(XMLReporterConfig.ATTR_URL, relativePath); in referenceSuite()
131 groupAttrs.setProperty(XMLReporterConfig.ATTR_NAME, entry.getKey()); in writeSuiteGroups()
136 methodAttrs.setProperty(XMLReporterConfig.ATTR_NAME, groupMethod.getMethodName()); in writeSuiteGroups()
137 methodAttrs.setProperty(XMLReporterConfig.ATTR_METHOD_SIG, groupMethod.toString()); in writeSuiteGroups()
138 methodAttrs.setProperty(XMLReporterConfig.ATTR_CLASS, groupMethod.getRealClass().getName()); in writeSuiteGroups()
148 props.setProperty(XMLReporterConfig.ATTR_NAME, suite.getName()); in getSuiteAttributes()
187 attributes.setProperty(XMLReporterConfig.ATTR_STARTED_AT, startTime); in addDurationAttributes()
188 attributes.setProperty(XMLReporterConfig.ATTR_FINISHED_AT, endTime); in addDurationAttributes()
189 attributes.setProperty(XMLReporterConfig.ATTR_DURATION_MS, Long.toString(duration)); in addDurationAttributes()
/external/emma/ant/ant14/com/vladium/emma/report/
DReportCfg.java57 m_settings.setProperty (m_prefix.concat (UNITS_TYPE), units.getValue ()); in setUnits()
62 m_settings.setProperty (m_prefix.concat (DEPTH), depth.getValue ()); in setDepth()
67 m_settings.setProperty (m_prefix.concat (COLUMNS), columns); in setColumns()
72 m_settings.setProperty (m_prefix.concat (SORT), sort); in setSort()
77 m_settings.setProperty (m_prefix.concat (METRICS), metrics); in setMetrics()
90 m_settings.setProperty (m_prefix.concat (OUT_FILE), fileName); in setOutfile()
95 m_settings.setProperty (m_prefix.concat (OUT_ENCODING), encoding); in setEncoding()
145 m_settings.setProperty (prefixedName, value); in processGenericSettings()
352 m_settings.setProperty (PREFIX.concat (UNITS_TYPE), units.getValue ()); in setUnits()
357 m_settings.setProperty (PREFIX.concat (DEPTH), depth.getValue ()); in setDepth()
[all …]
/external/guice/core/test/com/googlecode/guice/
DOSGiContainerTest.java75 instructions.setProperty("Export-Package", "org.aopalliance.*"); in setUp()
81 instructions.setProperty("Export-Package", "javax.inject.*"); in setUp()
86 instructions.setProperty("Export-Package", "com.google.common.*"); in setUp()
87 instructions.setProperty("Import-Package", "*;resolution:=optional"); in setUp()
92 instructions.setProperty( in setUp()
101 instructions.setProperty("Bundle-Activator", OSGiTestActivator.class.getName()); in setUp()
102 instructions.setProperty("Private-Package", OSGiTestActivator.class.getPackage().getName()); in setUp()
134 properties.setProperty("org.osgi.framework.storage", BUILD_TEST_DIR + "/bundle.cache"); in testGuiceWorksInOSGiContainer()
135 properties.setProperty("org.osgi.framework.storage.clean", "onFirstInit"); in testGuiceWorksInOSGiContainer()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/
DManifestFactoryTest.java22 properties.setProperty("android_sdk_home", ""); in whenBuildSystemApiPropertiesFileIsPresent_shouldUseDefaultManifestFactory()
23 properties.setProperty("android_merged_manifest", "/path/to/MergedManifest.xml"); in whenBuildSystemApiPropertiesFileIsPresent_shouldUseDefaultManifestFactory()
24 properties.setProperty("android_merged_resources", "/path/to/merged-resources"); in whenBuildSystemApiPropertiesFileIsPresent_shouldUseDefaultManifestFactory()
25 properties.setProperty("android_merged_assets", "/path/to/merged-assets"); in whenBuildSystemApiPropertiesFileIsPresent_shouldUseDefaultManifestFactory()
66 properties.setProperty("android_sdk_home", ""); in whenConfigSpecified_overridesValuesFromFile()
67 properties.setProperty("android_merged_manifest", "/path/to/MergedManifest.xml"); in whenConfigSpecified_overridesValuesFromFile()
68 properties.setProperty("android_merged_resources", "/path/to/merged-resources"); in whenConfigSpecified_overridesValuesFromFile()
69 properties.setProperty("android_merged_assets", "/path/to/merged-assets"); in whenConfigSpecified_overridesValuesFromFile()
/external/vogar/src/vogar/target/
DTestEnvironment.java83 System.setProperty("java.io.tmpdir", tmpDir); in TestEnvironment()
114 System.setProperty("java.io.tmpdir", tmpDir); in reset()
123 System.setProperty("java.runtime.version", JAVA_RUNTIME_VERSION); in reset()
126 System.setProperty("java.vm.info", JAVA_VM_INFO); in reset()
129 System.setProperty("java.vm.version", JAVA_VM_VERSION); in reset()
132 System.setProperty("java.vm.vendor", JAVA_VM_VENDOR); in reset()
135 System.setProperty("java.vm.name", JAVA_VM_NAME); in reset()
142 System.setProperty("user.home", userHome); in reset()
259 System.setProperty(property, value); in setPropertyIfNull()
/external/apache-xml/src/main/java/org/apache/xalan/processor/
DProcessorOutputElem.java64 m_outputProperties.setProperty(OutputKeys.DOCTYPE_PUBLIC, newValue); in setDoctypePublic()
74 m_outputProperties.setProperty(OutputKeys.DOCTYPE_SYSTEM, newValue); in setDoctypeSystem()
84 m_outputProperties.setProperty(OutputKeys.ENCODING, newValue); in setEncoding()
104 m_outputProperties.setProperty(OutputKeys.MEDIA_TYPE, newValue); in setMediaType()
144 m_outputProperties.setProperty(OutputKeys.VERSION, newValue); in setVersion()
154 m_outputProperties.setProperty(key, attrValue); in setForeignAttr()
164 m_outputProperties.setProperty(key, attrValue); in addLiteralResultAttribute()
/external/jacoco/org.jacoco.agent.rt.test/src/org/jacoco/agent/rt/internal/
DConfigLoaderTest.java47 system.setProperty("jacoco-agent.output", "mbean"); in testSystemProperties()
48 system.setProperty("output", "tcpserver"); // no prefix in testSystemProperties()
49 system.setProperty("jacoco-agent.sessionid", "testid"); in testSystemProperties()
61 system.setProperty("user.home", "/home/jacoco"); in testSubstituteProperties()
62 system.setProperty("java.version", "1.5.0"); in testSubstituteProperties()
/external/ksoap2/ksoap2-base/src/main/java/org/ksoap2/serialization/
DMarshalHashtable.java61 item.setProperty(0, key); in readInstance()
66 item.setProperty(1, value); in readInstance()
82 item.setProperty(0, key); in writeInstance()
83 item.setProperty(1, h.get(key)); in writeInstance()
101 public void setProperty(int index, Object value) { in setProperty() method in MarshalHashtable.ItemSoapObject
103 super.setProperty(index, value); in setProperty()
/external/guice/core/test/com/google/inject/name/
DNamesTest.java58 teams.setProperty("SanJose", "Sharks"); in testBindPropertiesUsingProperties()
59 teams.setProperty("Edmonton", "Oilers"); in testBindPropertiesUsingProperties()
93 defaults.setProperty("Edmonton", "Eskimos"); in testBindPropertiesIncludesInheritedProperties()
94 defaults.setProperty("Regina", "Pats"); in testBindPropertiesIncludesInheritedProperties()
97 teams.setProperty("SanJose", "Sharks"); in testBindPropertiesIncludesInheritedProperties()
98 teams.setProperty("Edmonton", "Oilers"); in testBindPropertiesIncludesInheritedProperties()
/external/testng/src/test/java/test/distributed/
DDistributedTest.java52 p.setProperty("testng.hosts", "localhost:" + m_ports[0] + " localhost:" + m_ports[1]); in createMasterProperties()
53 p.setProperty("testng.master.strategy", strategy); in createMasterProperties()
54 p.setProperty("testng.verbose", "0"); in createMasterProperties()
55 p.setProperty("testng.master.adpter", "org.testng.remote.adapter.DefaultMastertAdapter"); in createMasterProperties()
71 p.setProperty("testng.verbose", "0"); in createSlaveProperties()
72 p.setProperty("slave.port", port); in createSlaveProperties()
73 p.setProperty("testng.slave.adpter", "org.testng.remote.adapter.DefaultWorkerAdapter"); in createSlaveProperties()
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
DExcludedProxyTest.java47 System.setProperty("http.proxyHost", in test_usingProxy()
56 System.setProperty("http.proxyPort", "81"); in test_usingProxy()
65 System.setProperty("http.proxyPort", "80"); in test_usingProxy()
121 System.setProperty("socksProxyHost", in test_Constructor()
123 System.setProperty("socksProxyPort", String in test_Constructor()
135 System.setProperty("socksProxyHost", in test_Constructor()
138 .setProperty( in test_Constructor()
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
DXMPMetaImpl.java771 setProperty(schemaNS, propName, propValue ? TRUESTR : FALSESTR, options);
781 setProperty(schemaNS, propName, propValue ? TRUESTR : FALSESTR, null);
800 setProperty(schemaNS, propName, new Integer(propValue), options);
810 setProperty(schemaNS, propName, new Integer(propValue), null);
829 setProperty(schemaNS, propName, new Long(propValue), options);
839 setProperty(schemaNS, propName, new Long(propValue), null);
858 setProperty(schemaNS, propName, new Double(propValue), options);
868 setProperty(schemaNS, propName, new Double(propValue), null);
888 setProperty(schemaNS, propName, propValue, options);
898 setProperty(schemaNS, propName, propValue, null);
[all …]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/
DTestOptions.java186 setProperty("jpda.settings.transportAddress", address); in setTransportAddress()
271 setProperty("jpda.settings.debuggeeClassName", className); in setDebuggeeClassName()
301 setProperty("jpda.settings.debuggeeSuspend", mode); in setDebuggeeSuspend()
368 setProperty("jpda.settings.connectorKind", kind); in setConnectorKind()
510 protected void setProperty(String name, String value) { in setProperty() method in TestOptions
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/internal/
DBuckManifestFactoryTest.java34 System.setProperty("buck.robolectric_manifest", "buck/AndroidManifest.xml"); in setUp()
54 System.setProperty("buck.robolectric_res_directories", "buck/res1:buck/res2"); in multiple_res_dirs()
55 System.setProperty("buck.robolectric_assets_directories", "buck/assets1:buck/assets2"); in multiple_res_dirs()
77 System.setProperty( in pass_multiple_res_dirs_in_file()
83 System.setProperty( in pass_multiple_res_dirs_in_file()
/external/snakeyaml/src/test/java/examples/collections/
DTypeSafeMapImplementationsTest.java41 props.setProperty("key1", "value1"); in testDumpMap()
42 props.setProperty("key2", "value2"); in testDumpMap()
112 props.setProperty("key1", "value1"); in testNoJavaBeanMap()
113 props.setProperty("key2", "value2"); in testNoJavaBeanMap()
162 props.setProperty("key1", "value1"); in testRecursiveNoJavaBeanProperties2()
163 props.setProperty("key2", "value2"); in testRecursiveNoJavaBeanProperties2()
/external/opencensus-java/contrib/log_correlation/stackdriver/src/test/java/io/opencensus/contrib/logcorrelation/stackdriver/
DOpenCensusTraceLoggingEnhancerTest.java219 System.setProperty(GOOGLE_CLOUD_PROJECT, "my-project-id"); in setProjectIdWithGoogleCloudJava()
229 System.setProperty( in overrideProjectIdWithSystemProperty()
232 System.setProperty(GOOGLE_CLOUD_PROJECT, "GOOGLE_CLOUD_PROJECT project ID"); in overrideProjectIdWithSystemProperty()
246 System.setProperty(OpenCensusTraceLoggingEnhancer.SPAN_SELECTION_PROPERTY_NAME, "NO_SPANS"); in setSpanSelectionWithSystemProperty()
262 System.setProperty(GOOGLE_CLOUD_PROJECT, "GOOGLE_CLOUD_PROJECT project ID"); in overrideProjectIdWithLoggingProperty()
295 System.setProperty( in loggingPropertyTakesPrecedenceOverSystemProperty()
314 System.setProperty( in useDefaultValueForInvalidSpanSelection()

123456