Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 86 for getParent (0.2 sec)

  1. maven-core/src/test/java/org/apache/maven/project/DefaultMavenProjectBuilderTest.java

            assertEquals(childProject.getParentArtifact().getVersion(), "1");
            assertNotNull(childProject.getParent());
            assertEquals(childProject.getParent().getVersion(), "1");
            assertNotNull(childProject.getModel().getParent());
            assertEquals(childProject.getModel().getParent().getVersion(), "[1,10]");
        }
    
        /**
         * Tests whether local version range parent references are build correctly.
    Registered: 2024-06-12 09:55
    - Last Modified: 2023-06-19 15:04
    - 16.5K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/api/internal/project/DefaultProjectStateRegistry.java

            }
    
            @Nullable
            @Override
            public ProjectState getParent() {
                return identityPath.getParent() == null ? null : projectsByPath.get(identityPath.getParent());
            }
    
            @Nullable
            @Override
            public ProjectState getBuildParent() {
                if (descriptor.getParent() != null) {
    Registered: 2024-06-12 18:38
    - Last Modified: 2023-12-11 13:37
    - 21K bytes
    - Viewed (0)
  3. platforms/software/build-init/src/main/java/org/gradleinternal/buildinit/plugins/internal/maven/Maven2Gradle.java

                Optional<MavenProject> parentIsPartOfThisBuild = projects.stream().filter(proj ->
                    project.getParent() == null || (project.getParent() != null && proj.getArtifactId().equals(project.getParent().getArtifactId()) && proj.getGroupId().equals(project.getParent().getGroupId()))
                ).findFirst();
    Registered: 2024-06-12 18:38
    - Last Modified: 2024-03-14 15:23
    - 27.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/FileLocationTest.java

        public void testParentRoot () throws MalformedURLException, CIFSException {
            try ( SmbFile p = new SmbFile("smb://", getContext());
                  SmbResource pp = new SmbFile(p.getParent(), getContext()) ) {
                assertEquals("smb://", p.getLocator().getParent());
                assertEquals(SmbConstants.TYPE_WORKGROUP, pp.getLocator().getType());
                assertNull(pp.getLocator().getServer());
    Registered: 2024-06-12 15:45
    - Last Modified: 2020-01-08 13:16
    - 23K bytes
    - Viewed (0)
  5. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/internal/configurer/HierarchicalElementDeduplicator.java

                    return newNames.get(element);
                } else {
                    return getOriginalName(element);
                }
            }
    
            private T getParent(T parent) {
                return adapter.getParent(parent);
            }
    
            private boolean hasBeenRenamed(T element) {
                return newNames.containsKey(element);
            }
    
            private void sortElementsByDepth() {
    Registered: 2024-06-12 18:38
    - Last Modified: 2023-12-11 13:37
    - 10.6K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java

            assertEquals("123.123.123.123:9999", ftpInfo.getCacheKey());
            assertEquals("123.123.123.123", ftpInfo.getHost());
            assertEquals(9999, ftpInfo.getPort());
            assertEquals("/", ftpInfo.getParent());
            assertNull(ftpInfo.getName());
    
            value = "ftp://123.123.123.123/test.txt";
            ftpInfo = new FtpClient.FtpInfo(value);
            assertEquals(value, ftpInfo.toUrl());
    Registered: 2024-06-12 15:17
    - Last Modified: 2024-02-22 01:36
    - 16.3K bytes
    - Viewed (0)
  7. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/AbstractTestEnvironmentIntegrationTest.groovy

                        assertTrue(ClassLoader.getSystemClassLoader() instanceof MySystemClassLoader);
                        assertEquals(getClass().getClassLoader(), ClassLoader.getSystemClassLoader().getParent());
                    }
                }
            """.stripIndent()
            buildFile << """
                test {
                    systemProperties 'java.system.class.loader':'org.gradle.MySystemClassLoader'
                }
    Registered: 2024-06-12 18:38
    - Last Modified: 2023-09-18 20:52
    - 11.5K bytes
    - Viewed (0)
  8. platforms/jvm/testing-junit-platform/src/main/java/org/gradle/api/internal/tasks/testing/junitplatform/JUnitPlatformTestClassProcessor.java

                return descriptor.getParent()
                    .flatMap(this::className)
                    .filter(className -> matcher.matchesTest(className, methodName))
                    .isPresent();
            }
    
            private boolean classMatch(TestDescriptor descriptor) {
                while (true) {
                    Optional<TestDescriptor> parent = descriptor.getParent();
                    if (!parent.isPresent()) {
    Registered: 2024-06-12 18:38
    - Last Modified: 2024-05-28 15:59
    - 13.9K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/timeout/JavaProcessStackTracesMonitor.java

                Path javaPath = Paths.get(javaCommand);
                if (javaPath.getParent().getFileName().toString().equals("bin") && javaPath.getParent().getParent().getFileName().toString().equals("jre")) {
                    return javaPath.resolve("../../../bin/jstack").normalize().toString();
                } else {
    Registered: 2024-06-12 18:38
    - Last Modified: 2024-04-04 07:21
    - 10.2K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/ReactorReader.java

                        }
                    }
                    try {
                        Files.delete(artifactPath);
                        Files.delete(artifactPath.getParent());
                        Files.delete(artifactPath.getParent().getParent());
                    } catch (DirectoryNotEmptyException e) {
                        // ignore
                    }
                }
            } catch (IOException e) {
    Registered: 2024-06-12 09:55
    - Last Modified: 2024-05-02 16:33
    - 21.3K bytes
    - Viewed (0)
Back to top