- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 169 for setProperty (0.08 sec)
-
compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java
String revision = request.getUserProperties().getProperty("revision"); assertEquals("8.2.0", revision); assertEquals("bar ", request.getUserProperties().getProperty("foo")); assertEquals("bar two", request.getUserProperties().getProperty("foo2")); assertEquals("Apache Maven", request.getUserProperties().getProperty("label"));
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 30.3K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/PropertiesUtilTest.java
final File file = tempFolder.newFile("hoge.properties"); final Writer writer = WriterUtil.create(file); PropertiesUtil.store(outProperties, writer, "comments"); CloseableUtil.close(writer); final Properties properties = new Properties(); PropertiesUtil.load(properties, file); assertThat(properties.getProperty("a"), is("A")); } /**
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 9.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/JvmUtilTest.java
public void test_getJavaVersion() { System.setProperty("java.version", "1.4.2_19"); assertEquals(4, JvmUtil.getJavaVersion()); System.setProperty("java.version", "1.5.0_15"); assertEquals(5, JvmUtil.getJavaVersion()); System.setProperty("java.version", "1.6.0_34"); assertEquals(6, JvmUtil.getJavaVersion()); System.setProperty("java.version", "1.7.0_25");
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/job/ExecJob.java
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 7.7K bytes - Viewed (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java
// wait for yellow status runner.ensureYellow(); System.setProperty(FesenClient.HTTP_ADDRESS, "localhost:" + runner.node().settings().get("http.port", "9201")); super.setUp(); // logging System.setProperty("java.util.logging.SimpleFormatter.format", "%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS %4$s %2$s %5$s%6$s%n");
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 7.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/ResourceUtilTest.java
System.setProperty("abc", "123"); value = "${abc}"; assertEquals("123", ResourceUtil.resolve(value)); value = "xxx${abc}zzz"; assertEquals("xxx123zzz", ResourceUtil.resolve(value)); value = "${abc.xyz}"; assertEquals(value, ResourceUtil.resolve(value)); System.setProperty("abc.xyz", "789"); value = "${abc.xyz}";
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/xml/SchemaFactoryUtil.java
} return schemaFactory; } private static void disableExternalResources(final SchemaFactory schemaFactory) { try { schemaFactory.setProperty(XMLConstants.ACCESS_EXTERNAL_SCHEMA, ""); schemaFactory.setProperty(XMLConstants.ACCESS_EXTERNAL_DTD, ""); } catch (final Exception e) { if (logger.isDebugEnabled()) { logger.debug("Failed to set a property.", e);
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.6K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/OperatingSystemProfileActivatorTest.java
return p; } private Properties newProperties(String osName, String osVersion, String osArch) { Properties props = new Properties(); props.setProperty("os.name", osName); props.setProperty("os.version", osVersion); props.setProperty("os.arch", osArch); return props; } @Test void testVersionStringComparison() throws Exception {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.2K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/profiles/manager/DefaultProfileManagerTest.java
Activation syspropActivation = new Activation(); ActivationProperty syspropProperty = new ActivationProperty(); syspropProperty.setName("java.version"); syspropActivation.setProperty(syspropProperty); syspropActivated.setActivation(syspropActivation); Profile defaultActivated = new Profile(); defaultActivated.setId("defaultActivated");
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/xml/SAXParserUtil.java
* @param value * 設定されるプロパティの値 */ public static void setProperty(final SAXParser parser, final String name, final String value) { assertArgumentNotNull("parser", parser); assertArgumentNotEmpty("name", name); try { parser.setProperty(name, value); } catch (final SAXException e) { throw new SAXRuntimeException(e); }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 3.1K bytes - Viewed (0)