Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 171 for properties (0.07 seconds)

  1. impl/maven-core/src/test/java/org/apache/maven/model/PropertiesTest.java

            @Test
            void testWriteOperationBehavior() {
                // Create a Model with initial properties
                Model model = new Model();
    
                // Set initial properties using setProperties to establish the backend
                Properties initialProps = new Properties();
                initialProps.setProperty("initial.key", "initial.value");
                model.setProperties(initialProps);
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jun 12 07:26:53 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  2. impl/maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorTest.java

            Object value = ee.evaluate(expr);
    
            assertEquals(expr, value);
        }
    
        @Test
        void testPOMPropertyExtractionWithMissingProjectWithDotNotation() throws Exception {
            String key = "m2.name";
            String checkValue = "value";
    
            Properties properties = new Properties();
            properties.setProperty(key, checkValue);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Mar 26 19:31:34 GMT 2025
    - 19.4K bytes
    - Click Count (0)
  3. compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesTest.java

                entry.setValue(entry.getValue() + "x");
            }
            Object o21 = properties.get(KEY1);
            assertEquals(VALUE1 + "x", o21);
    
            baos = new ByteArrayOutputStream();
            properties.save(baos);
    
            properties = new MavenProperties();
            properties.load(new ByteArrayInputStream(baos.toByteArray()));
            Object o2 = properties.get(KEY1);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 16.4K bytes
    - Click Count (0)
  4. impl/maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4Test.java

            Object value = ee.evaluate("${" + key + "}");
    
            assertEquals(checkValue, value);
        }
    
        @Test
        public void testValueExtractionFromSystemPropertiesWithMissingProject() throws Exception {
            String sysprop = "PPEET_sysprop1";
    
            Properties executionProperties = new Properties();
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Mar 26 19:31:34 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  5. tests/test_openapi_separate_input_output_schemas.py

                        "WithComputedField-Input": {
                            "properties": {"name": {"type": "string", "title": "Name"}},
                            "type": "object",
                            "required": ["name"],
                            "title": "WithComputedField",
                        },
                        "WithComputedField-Output": {
                            "properties": {
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 26.6K bytes
    - Click Count (0)
  6. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocRendererTest.groovy

            then:
            formatTree(result) == '''<chapter>
        <section>
            <title>Properties</title>
            <section>
                <title>Properties added by the <literal>thingo</literal> plugin</title>
                <titleabbrev><literal>thingo</literal> plugin</titleabbrev>
                <table>
                    <title>Properties - <literal>thingo</literal> plugin</title>
                    <thead>
                        <tr>
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 40.8K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenProperties.java

            MavenProperties properties;
            if (props instanceof MavenProperties mavenProperties) {
                properties = mavenProperties;
            } else {
                properties = new MavenProperties();
                properties.putAll(props);
            }
            return update(properties);
        }
    
        public boolean update(MavenProperties properties) {
            boolean modified = false;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 09:03:48 GMT 2025
    - 38.5K bytes
    - Click Count (0)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

            MavenProperties properties;
            if (props instanceof MavenProperties mavenProperties) {
                properties = mavenProperties;
            } else {
                properties = new MavenProperties();
                properties.putAll(props);
            }
            return update(properties);
        }
    
        public boolean update(MavenProperties properties) {
            boolean modified = false;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 38.4K bytes
    - Click Count (0)
  9. compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilderTest.java

            assertNotNull(result.getProblems());
            assertEquals(0, result.getProblems().size());
        }
    
        @Test
        void testBuildRequestWithUserToolchains() throws Exception {
            Properties props = new Properties();
            props.put("key", "user_value");
            ToolchainModel toolchain = new ToolchainModel();
            toolchain.setType("TYPE");
            toolchain.setProvides(props);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 14K bytes
    - Click Count (0)
  10. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

            Files.createDirectories(mvn);
            Files.writeString(
                    mvn.resolve("maven-user.properties"),
                    "${includes} = env-${envName}.properties\nfro = ${bar}z\n" + "bar = chti${java.version}\n");
            Files.writeString(mvn.resolve("env-test.properties"), "\n");
    
            // Arrange
            CliRequest request = new CliRequest(
                    new String[] {
                        "-DenvName=test",
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 30.9K bytes
    - Click Count (0)
Back to Top