Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 2,749 for should (0.14 seconds)

  1. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/DomUtilsTest.java

            assertTrue(nameIndex > 0, "Should contain name element");
            assertTrue(descriptionIndex > 0, "Should contain description element");
            assertTrue(propertiesIndex > 0, "Should contain properties element");
    
            // According to ELEMENT_ORDER: name should come before description, and properties should come much later
            assertTrue(nameIndex < descriptionIndex, "name should come before description");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 31.3K bytes
    - Click Count (0)
  2. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategyTest.java

                // groupId should also be removed (can be inferred from project)
                assertNull(DomUtils.findChildElement(dependency, "groupId"));
                // artifactId should remain (always required)
                assertNotNull(DomUtils.findChildElement(dependency, "artifactId"));
            }
    
            @Test
            @DisplayName("should keep dependency version for external artifact")
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 35.2K bytes
    - Click Count (0)
  3. impl/maven-core/src/test/java/org/apache/maven/project/ResourceIncludeTest.java

            assertTrue(resource.getIncludes().contains("*.xml"), "Should contain *.xml");
            assertTrue(resource.getIncludes().contains("*.properties"), "Should contain *.properties");
    
            // Verify persistence
            Resource resourceAfter = project.getResources().get(0);
            assertEquals(2, resourceAfter.getIncludes().size(), "Should still have two includes");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 07 13:11:07 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  4. docs/en/docs/management-tasks.md

    * There should be tests testing the source example.
    * Before the PR is applied, the new tests should fail.
    * After applying the PR, the new tests should pass.
    * Coverage should stay at 100%.
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/AbstractListIndexOfTester.java

            getMethodName() + "(firstElement) should return 0", 0, find(getOrderedElements().get(0)));
      }
    
      public void testFind_no() {
        assertEquals(getMethodName() + "(notPresent) should return -1", -1, find(e3()));
      }
    
      @CollectionFeature.Require(ALLOWS_NULL_VALUES)
      public void testFind_nullNotContainedButSupported() {
        assertEquals(getMethodName() + "(nullNotPresent) should return -1", -1, find(null));
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionContainsTester.java

        assertTrue("contains(present) should return true", collection.contains(e0()));
      }
    
      public void testContains_no() {
        assertFalse("contains(notPresent) should return false", collection.contains(e3()));
      }
    
      @CollectionFeature.Require(ALLOWS_NULL_QUERIES)
      public void testContains_nullNotContainedButQueriesSupported() {
        assertFalse("contains(null) should return false", collection.contains(null));
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingRequest.java

        /**
         * Gets the external profiles that should be considered for model building.
         *
         * @return The external profiles that should be considered for model building, never {@code null}.
         */
        List<Profile> getProfiles();
    
        /**
         * Sets the external profiles that should be considered for model building.
         *
         * @param profiles The external profiles that should be considered for model building, may be {@code null}.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  8. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategyTest.java

                assertTrue(result.contains("    <build>"), "Build element should be properly indented");
                assertTrue(result.contains("        <plugins>"), "Plugins element should be properly indented");
                assertTrue(result.contains("            <plugin>"), "Plugin element should be properly indented");
            }
    
            @Test
            @DisplayName("should format pluginManagement with proper indentation when added")
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 27.8K bytes
    - Click Count (0)
  9. tests/multi_primary_keys_test.go

    		t.Fatalf("Should find 1 tags after Delete")
    	}
    
    	if DB.Model(&blog).Association("Tags").Count() != 1 {
    		t.Fatalf("Blog should has three tags after Delete")
    	}
    
    	DB.Model(&blog).Association("Tags").Delete(tag3)
    	var tags4 []Tag
    	DB.Model(&blog).Association("Tags").Find(&tags4)
    	if !compareTags(tags4, []string{"tag6"}) {
    		t.Fatalf("Tag should not be deleted when Delete with a unrelated tag")
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Jul 21 02:46:58 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  10. tests/group_by_test.go

    		t.Errorf("name should be groupby, but got %v, total should be 60, but got %v", name, total)
    	}
    
    	if err := DB.Model(&User{}).Select("name, sum(age) as total").Where("name LIKE ?", "groupby%").Group("name").Having("name = ?", "groupby1").Row().Scan(&name, &total); err != nil {
    		t.Errorf("no error should happen, but got %v", err)
    	}
    
    	if name != "groupby1" || total != 660 {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Thu Jan 06 07:02:53 GMT 2022
    - 3.3K bytes
    - Click Count (0)
Back to Top