Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 115 for Child2 (0.17 sec)

  1. tests/associations_test.go

    	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}
    	DB.Save(&parent)
    
    	var children []*Child
    	DB.Where("parent_id = ?", parent.ID).Find(&children)
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Wed Feb 08 08:29:09 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  2. maven-compat/src/test/java/org/apache/maven/project/inheritance/t12scm/ProjectInheritanceTest.java

            // load the child project, which inherits from p0...
            MavenProject project1 = getProject(pom1);
    
            System.out.println("\n\n");
            System.out.println("Child SCM URL is: " + project1.getScm().getUrl());
            System.out.println("Child SCM connection is: " + project1.getScm().getConnection());
            System.out.println(
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  3. maven-core/src/test/java/org/apache/maven/project/harness/Xpp3DomNodeIterator.java

            return child != null;
        }
    
        private void filterChildren(int position) {
            for (; position > filteredChildren.size() && filteredIndex < children.size(); filteredIndex++) {
                XmlNode child = children.get(filteredIndex);
                if (testNode(child)) {
                    filteredChildren.add(child);
                }
            }
        }
    
        private boolean testNode(XmlNode node) {
            if (test == null) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 4.5K bytes
    - Viewed (0)
  4. maven-core/src/test/resources/consumer/trivial/child/pom.xml

    <project xmlns="http://maven.apache.org/POM/4.1.0">
      <parent>
        <groupId>org.my.group</groupId>
        <artifactId>parent</artifactId>
      </parent>
      <artifactId>child</artifactId>
      <packaging>jar</packaging>
    
      <properties>
        <prop-child>bar</prop-child>
      </properties>
      <dependencies>
        <dependency>
          <groupId>org.slf4j</groupId>
          <artifactId>slf4j-api</artifactId>
        </dependency>
      </dependencies>
    XML
    - Registered: Sun Apr 14 03:35:08 GMT 2024
    - Last Modified: Tue Nov 28 17:17:10 GMT 2023
    - 430 bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java

        try {
          assertThat(temp.exists()).isTrue();
          assertThat(temp.isDirectory()).isTrue();
          assertThat(temp.listFiles()).isEmpty();
          File child = new File(temp, "child");
          assertThat(child.createNewFile()).isTrue();
          assertThat(child.delete()).isTrue();
    
          if (!isAndroid() && !isWindows()) {
            PosixFileAttributes attributes =
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Oct 06 17:11:11 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  6. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

            assertEquals("CHILD-1", pom.getValue(prefix + "stringParams/stringParam[5]"));
            assertEquals("CHILD-3", pom.getValue(prefix + "stringParams/stringParam[6]"));
            assertEquals("CHILD-2", pom.getValue(prefix + "stringParams/stringParam[7]"));
            assertEquals("CHILD-4", pom.getValue(prefix + "stringParams/stringParam[8]"));
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 93.2K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionInfoProvider.kt

                    (parent.tryBlock == child || child in parent.catchClauses) && isUsed(parent)
    
                // If expressions always use their condition, and the branches are used if the
                // If itself is used as an expression.
                is KtIfExpression ->
                    parent.condition == child ||
                            ((parent.then == child ||
                                    parent.`else` == child) && isUsed(parent))
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Mon Feb 12 20:38:23 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java

        assertEquals("com", parent.toString());
    
        // These would throw an exception if leniency were not preserved during parent() and child()
        // calls.
        InternetDomainName child = parent.child(LOTS_OF_DELTAS);
        InternetDomainName unused = child.child(LOTS_OF_DELTAS);
      }
    
      public void testValidTopPrivateDomain() {
        InternetDomainName googleDomain = InternetDomainName.from("google.com");
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 17.3K bytes
    - Viewed (0)
  9. maven-core/src/test/java/org/apache/maven/project/DefaultMavenProjectBuilderTest.java

         * Check that we can build ok from the middle pom of a (parent,child,grandchild) hierarchy
         *
         * @throws Exception in case of issue
         */
        @Test
        void testBuildFromMiddlePom() throws Exception {
            File f1 = getTestFile("src/test/resources/projects/grandchild-check/child/pom.xml");
            File f2 = getTestFile("src/test/resources/projects/grandchild-check/child/grandchild/pom.xml");
    
            getProject(f1);
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Jun 19 15:04:04 GMT 2023
    - 16.5K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultInheritanceAssembler.java

            String childPath = child.getProperties().getOrDefault(CHILD_DIRECTORY_PROPERTY, child.getArtifactId());
            hints.put(CHILD_DIRECTORY, childPath);
            hints.put(MavenModelMerger.CHILD_PATH_ADJUSTMENT, getChildPathAdjustment(child, parent, childPath));
            return merger.merge(child, parent, false, hints);
        }
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 13.8K bytes
    - Viewed (0)
Back to top