Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 81 for testchild (0.5 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CopyPermissionsIntegrationTest.groovy

            TestFile child = parent.createDir("testchild")
            child.file("reference.txt") << "test file"
    
            child.mode = mode
            and:
            buildFile << """
                task copy(type: Copy) {
                    from "testparent"
                    into ("build/tmp")
                }
                """
            when:
            run "copy"
            then:
            file("build/tmp/testchild").mode == mode
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 20K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java

        try {
          InternetDomainName.from("com").parent();
          fail("'com' should throw ISE on .parent() call");
        } catch (IllegalStateException expected) {
        }
      }
    
      public void testChild() {
        InternetDomainName domain = InternetDomainName.from("foo.com");
    
        assertEquals("www.foo.com", domain.child("www").toString());
    
        try {
          domain.child("www.");
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Mar 05 13:16:00 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocPropertiesBuilder.java

                    firstChild.setTextContent(firstChild.getTextContent().replaceFirst("^\\s+", ""));
                }
                Node lastChild = element.getLastChild();
                if (lastChild instanceof Text) {
                    lastChild.setTextContent(lastChild.getTextContent().replaceFirst("\\s+$", ""));
                }
                valueTitles.add(element);
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6.2K bytes
    - Viewed (0)
  4. maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilder.java

            mojo.setGoal(c.getChild("goal").getValue());
    
            mojo.setImplementation(c.getChild("implementation").getValue());
    
            PlexusConfiguration langConfig = c.getChild("language");
    
            if (langConfig != null) {
                mojo.setLanguage(langConfig.getValue());
            }
    
            PlexusConfiguration configuratorConfig = c.getChild("configurator");
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/internal/graph/GraphRenderer.java

        private boolean seenRootChildren;
        private boolean lastChild = true;
    
        public GraphRenderer(StyledTextOutput output) {
            this.output = output;
        }
    
        /**
         * Visits a node in the graph.
         */
        public void visit(Action<? super StyledTextOutput> node, boolean lastChild) {
            if (seenRootChildren) {
                output.withStyle(Info).text(prefix + (lastChild ? "\\--- " : "+--- "));
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 02 16:56:13 UTC 2016
    - 2.1K bytes
    - Viewed (0)
  6. testing/integ-test/src/integTest/groovy/org/gradle/integtests/CacheProjectIntegrationTest.groovy

        @Test
        void "caches compiled build script"() {
            createLargeBuildScript()
            testBuild("hello1", "Hello 1")
            TestFile.Snapshot classFileSnapshot = classFile.snapshot()
    
            testBuild("hello2", "Hello 2")
            classFile.assertHasNotChangedSince(classFileSnapshot)
    
            modifyLargeBuildScript()
            testBuild("newTask", "I am new")
            classFile.assertHasChangedSince(classFileSnapshot)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  7. maven-xml-impl/src/test/java/org/apache/maven/internal/xml/XmlNodeImplTest.java

            XmlNode p0 = getNthChild(mergeResult, "property", 0);
            assertEquals("LHS-ONLY", p0.getChild("name").getValue());
            assertEquals("left", p0.getChild("name").getInputLocation());
            assertEquals("LHS", p0.getChild("value").getValue());
            assertEquals("left", p0.getChild("value").getInputLocation());
    
            XmlNode p1 = getNthChild(mergeResult, "property", 1);
            assertEquals(
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenVersionRangeResolveIntegrationTest.groovy

            when:
            succeeds 'checkDeps'
    
            then:
            resolve.expectDefaultConfiguration("runtime")
            resolve.expectGraph {
                root(":", ":test:") {
                    edge("org.test:child:1.0", "org.test:child:1.0") {
                        edge("org.test:dep:2.1", "org.test:dep:2.1")
                    }
                }
            }
        }
    
        @Issue("https://github.com/gradle/gradle/issues/1898")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  9. maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/PluginsMetadataGenerator.java

                                String groupId = root.getChild("groupId").getValue();
                                String artifactId = root.getChild("artifactId").getValue();
                                String goalPrefix = root.getChild("goalPrefix").getValue();
                                String name = root.getChild("name").getValue();
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Feb 26 17:04:44 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  10. maven-core/src/test/java/org/apache/maven/project/canonical/CanonicalProjectBuilderTest.java

                    "src/conf/plexus.conf",
                    configuration.getChild("plexusConfiguration").getValue());
    
            assertEquals(
                    "src/conf/plexus.properties",
                    configuration.getChild("plexusConfigurationPropertiesFile").getValue());
    
            assertEquals(
                    "Continuum", configuration.getChild("plexusApplicationName").getValue());
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 3.5K bytes
    - Viewed (0)
Back to top