Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 287 for parent (0.15 seconds)

  1. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

            // Verify filter interactions: not called for '.' and '..', called for others
            verify(nameFilter, never()).accept(parent, ".");
            verify(nameFilter, never()).accept(parent, "..");
            ArgumentCaptor<String> nameCaptor = ArgumentCaptor.forClass(String.class);
            verify(nameFilter, atLeast(1)).accept(eq(parent), nameCaptor.capture());
            assertTrue(nameCaptor.getAllValues().contains(acceptedName));
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  2. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategyTest.java

                // Verify correct behavior for external parent:
                // - groupId should NOT be removed (external parents need groupId to be located)
                // - artifactId should NOT be removed (external parents need artifactId to be located)
                // - version should NOT be removed (external parents need version to be located)
                // This prevents the "parent.groupId is missing" error reported in issue #7934
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 35.2K bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategy.java

            // Walk up the parent hierarchy
            Model currentModel = effectiveModel;
            while (currentModel.getParent() != null) {
                Parent parent = currentModel.getParent();
    
                // Check if this parent is in our local pomMap
                Path parentPath = findParentInPomMap(parent, pomMap);
                if (parentPath != null) {
                    // Parent is local, so it becomes our new candidate
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 37K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/reflect/ClassPathTest.java

            .inOrder();
      }
    
      @AndroidIncompatible // Android forbids null parent ClassLoader
      public void testClassPathEntries_duplicateUri_parentWins() throws Exception {
        URL url = new URL("file:/a");
        URLClassLoader parent = new URLClassLoader(new URL[] {url}, null);
        URLClassLoader child = new URLClassLoader(new URL[] {url}, parent) {};
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 25.8K bytes
    - Click Count (0)
  5. tests/associations_test.go

    	DB.First(&parent1, parent.ID)
    	AssertObjEqual(t, parent, parent1, "ID", "FavChildID")
    }
    
    func TestSaveHasManyCircularReference(t *testing.T) {
    	parent := Parent{}
    	DB.Create(&parent)
    
    	child := Child{ParentID: &parent.ID, Parent: &parent, Name: "HasManyCircularReference"}
    	child1 := Child{ParentID: &parent.ID, Parent: &parent, Name: "HasManyCircularReference1"}
    
    	parent.Children = []*Child{&child, &child1}
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Fri Sep 12 04:33:27 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/Project.java

        Path getRootDirectory();
    
        /**
         * Returns project parent project, if any.
         * <p>
         * Note that the model may have a parent defined, but an empty parent
         * project may be returned if the parent comes from a remote repository,
         * as a {@code Project} must refer to a buildable project.
         *
         * @return an optional containing the parent project
         * @see Model#getParent()
         */
        @Nonnull
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Nov 07 13:11:07 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/NetServerEnumIteratorTest.java

            assertTrue(exception.getMessage().contains("invalid"));
            verify(treeHandle, never()).acquire();
        }
    
        @Test
        @DisplayName("Constructor should handle null parent")
        void testConstructor_NullParent_ThrowsNPE() {
            // When & Then: Null parent should cause NullPointerException
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb/SmbEnumerationUtil.java

                return doShareEnum(parent, wildcard, searchAttributes, fnf, ff);
            }
    
            try (SmbTreeHandleImpl th = parent.ensureTreeConnected()) {
                if (th.isSMB2()) {
                    return new DirFileEntryAdapterIterator(parent, new DirFileEntryEnumIterator2(th, parent, wildcard, fnf, searchAttributes),
                            ff);
                }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategy.java

                        context.detail("Removed: parent artifactId (can be inferred from relativePath)");
                        hasChanges = true;
                    }
                }
            }
    
            return hasChanges;
        }
    
        /**
         * Determines if the parent is part of the same reactor (multi-module project)
         * vs. an external parent POM by checking if the parent exists in the pomMap.
         */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 27.6K bytes
    - Click Count (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java

         * Calculates the relative path from the base directory of the parent to the parent directory of the base directory
         * of the child. The general idea is to adjust inherited URLs to match the project layout (in SCM).
         *
         * <p>This calculation is only a heuristic based on our conventions.
         * In detail, the algo relies on the following assumptions: <ul>
         * <li>The parent uses aggregation and refers to the child via the modules section</li>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 13.4K bytes
    - Click Count (0)
Back to Top