Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 87 for prop$2 (0.08 sec)

  1. compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesTest.java

            java.util.Properties props1 = new java.util.Properties();
            props1.load(new StringReader(config));
            new DefaultInterpolator().performSubstitution((Map) props1, null, true);
            assertEquals(expected, props1);
    
            MavenProperties props2 = new MavenProperties();
            props2.load(new StringReader(config));
            assertEquals(expected, props2);
        }
    
        /**
         * <p>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/PropertyProfileActivatorTest.java

            assertActivation(true, profile, newContext(null, newProperties("other", "")));
        }
    
        @Test
        void testWithValue_UserPropertyDominantOverSystemProperty() throws Exception {
            Profile profile = newProfile("prop", "value");
    
            Properties props1 = newProperties("prop", "value");
            Properties props2 = newProperties("prop", "other");
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. cmd/erasure-metadata.go

    					candidate = metaArr[i]
    					found = true
    				}
    				props := objProps{
    					succModTime: metaArr[i].SuccessorModTime,
    					numVersions: metaArr[i].NumVersions,
    				}
    				otherPropsMap[props]++
    			}
    		}
    	}
    
    	if found {
    		// Update candidate FileInfo with succModTime and numVersions in quorum when available
    		if props, ok := otherPropsMap.GetValueWithQuorum(quorum); ok {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenPropertiesLoader.java

                    String overrideName = name.substring(OVERRIDE_PREFIX.length());
                    props.put(overrideName, substVars(value, name, props, callback));
                } else {
                    props.put(name, substVars(value, name, props, callback));
                }
            }
            props.keySet().removeIf(k -> k.startsWith(OVERRIDE_PREFIX));
        }
    
        private static MavenProperties loadPropertiesFile(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/profiles/manager/DefaultProfileManagerTest.java

            osActivation.setOs( activationOS );
    
            osActivated.setActivation( osActivation );
    
            Properties props = System.getProperties();
            ProfileActivationContext ctx = new ProfileActivationContext( props, false );
    
            ProfileManager profileManager = new DefaultProfileManager( getContainer(), props );
    
            profileManager.addProfile( osActivated );
    
            List active = profileManager.getActiveProfiles( null );
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. compat/maven-model/src/test/java/org/apache/maven/model/v4/ModelXmlTest.java

            Map<String, String> props = new LinkedHashMap<>();
            props.put("javax.version", "3.1.0");
            props.put("mockito.version", "1.10.19");
            props.put("hamcret.version", "2.1");
            props.put("lombok.version", "1.18.6");
            props.put("junit.version", "4.12");
            Model model = Model.newBuilder(true).properties(props).build();
            String xml = toXml(model);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  7. compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilderTest.java

            Properties props = new Properties();
            props.put("key", "user_value");
            ToolchainModel toolchain = new ToolchainModel();
            toolchain.setType("TYPE");
            toolchain.setProvides(props);
            PersistedToolchains userResult = new PersistedToolchains();
            userResult.setToolchains(Collections.singletonList(toolchain));
    
            props = new Properties();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java

                    if (error != null) {
                        props.setProperty(key + ERROR_KEY_SUFFIX, error);
                    } else {
                        props.remove(key + ERROR_KEY_SUFFIX);
                    }
    
                    getLogger().debug("Writing resolution-state to: " + touchfile);
                    channel.truncate(0);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  9. android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

      /**
       * Test EqualsTester with no equals or not equals objects. This checks proper handling of null,
       * incompatible class and reflexive tests
       */
      public void testTestEqualsEmptyLists() {
        equalsTester.addEqualityGroup(reference);
        equalsTester.testEquals();
      }
    
      /**
       * Test EqualsTester after populating equalObjects. This checks proper handling of equality and
       * verifies hashCode for valid objects
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  10. guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

      /**
       * Test EqualsTester with no equals or not equals objects. This checks proper handling of null,
       * incompatible class and reflexive tests
       */
      public void testTestEqualsEmptyLists() {
        equalsTester.addEqualityGroup(reference);
        equalsTester.testEquals();
      }
    
      /**
       * Test EqualsTester after populating equalObjects. This checks proper handling of equality and
       * verifies hashCode for valid objects
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 12.9K bytes
    - Viewed (0)
Back to top