Home
last modified time | relevance | path

Searched refs:setProperty (Results 1 – 25 of 126) 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/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 …]
DXmlTest.java460 p.setProperty("name", getName()); in toXml()
462 XmlUtils.setProperty(p, "junit", m_isJUnit.toString(), XmlSuite.DEFAULT_JUNIT.toString()); in toXml()
465 … XmlUtils.setProperty(p, "parallel", m_parallel.toString(), XmlSuite.DEFAULT_PARALLEL.toString()); in toXml()
468 XmlUtils.setProperty(p, "verbose", m_verbose.toString(), XmlSuite.DEFAULT_VERBOSE.toString()); in toXml()
471 p.setProperty("time-out", m_timeOut.toString()); in toXml()
474 p.setProperty("preserve-order", m_preserveOrder.toString()); in toXml()
477 p.setProperty("thread-count", Integer.toString(m_threadCount)); in toXml()
480 XmlUtils.setProperty(p, "group-by-instances", String.valueOf(getGroupByInstances()), in toXml()
509 metaGroupProp.setProperty("name", metaGroupName); in toXml()
515 includeProps.setProperty("name", groupName); 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.java81 instructions.setProperty("Export-Package", "org.aopalliance.*"); in setUp()
87 instructions.setProperty("Export-Package", "javax.inject.*"); in setUp()
92 instructions.setProperty("Export-Package", "com.google.common.*"); in setUp()
93 instructions.setProperty("Import-Package", "*;resolution:=optional"); in setUp()
98 instructions.setProperty("Import-Package", "org.osgi.framework," in setUp()
105 instructions.setProperty("Bundle-Activator", OSGiTestActivator.class.getName()); in setUp()
106 instructions.setProperty("Private-Package", OSGiTestActivator.class.getPackage().getName()); in setUp()
139 properties.setProperty("org.osgi.framework.storage", BUILD_TEST_DIR + "/bundle.cache"); in testGuiceWorksInOSGiContainer()
140 properties.setProperty("org.osgi.framework.storage.clean", "onFirstInit"); in testGuiceWorksInOSGiContainer()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/util/
DPropertiesHelperTest.java12 System.setProperty("blinfiddle.ox.heart", "orange juice"); in shouldDoVariableSubstitutionUsingSystemProperties()
13 System.setProperty("ornithopter.defenestration", "nickel"); in shouldDoVariableSubstitutionUsingSystemProperties()
21 properties.setProperty("result", "{${first.value} + ${system.value.xbf5547}}"); in shouldDoVariableSubstitutionOnProperties()
22 System.setProperty("system.value.xbf5547", "system"); in shouldDoVariableSubstitutionOnProperties()
23 properties.setProperty("first.value", "first"); in shouldDoVariableSubstitutionOnProperties()
/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/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/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/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.java60 teams.setProperty("SanJose", "Sharks"); in testBindPropertiesUsingProperties()
61 teams.setProperty("Edmonton", "Oilers"); in testBindPropertiesUsingProperties()
89 defaults.setProperty("Edmonton", "Eskimos"); in testBindPropertiesIncludesInheritedProperties()
90 defaults.setProperty("Regina", "Pats"); in testBindPropertiesIncludesInheritedProperties()
93 teams.setProperty("SanJose", "Sharks"); in testBindPropertiesIncludesInheritedProperties()
94 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/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/
DTestOptions.java174 setProperty("jpda.settings.transportAddress", address); in setTransportAddress()
250 setProperty("jpda.settings.debuggeeClassName", className); in setDebuggeeClassName()
280 setProperty("jpda.settings.debuggeeSuspend", mode); in setDebuggeeSuspend()
347 setProperty("jpda.settings.connectorKind", kind); in setConnectorKind()
489 protected void setProperty(String name, String value) { in setProperty() method in TestOptions
/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/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/jacoco/org.jacoco.ant.test/src/org/jacoco/ant/
DReportTaskTest.java26 System.setProperty("org.jacoco.ant.reportTaskTest.classes.dir", in suite()
28 System.setProperty("org.jacoco.ant.reportTaskTest.sources.dir", in suite()
DInstrumentTaskTest.java28 System.setProperty("org.jacoco.ant.instrumentTaskTest.classes.dir", in suite()
30 System.setProperty("org.jacoco.ant.instrumentTaskTest.agent.file", in suite()

123456