- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 525 for should (0.04 seconds)
-
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/StrategyOrchestratorTest.java
assertTrue(result.success(), "Orchestrator should succeed"); assertEquals(2, result.processedPoms().size(), "Should aggregate processed POMs"); assertEquals(2, result.modifiedPoms().size(), "Should aggregate modified POMs"); assertEquals(0, result.errorPoms().size(), "Should have no errors"); } @Test @DisplayName("should handle strategy failures gracefully")Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 12.3K bytes - Click Count (0) -
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) -
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) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/PluginUpgradeCliTest.java
assertFalse(options.all().isPresent(), "--all should not be present by default"); assertFalse(options.infer().isPresent(), "--infer should not be present by default"); assertFalse(options.model().isPresent(), "--fix-model should not be present by default"); assertFalse(options.model().isPresent(), "--model should not be present by default"); // But the goal should be present
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Sep 29 14:48:39 GMT 2025 - 9.9K bytes - Click Count (0) -
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) -
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) -
tests/transaction_test.go
t.Fatalf("Should find saved record") } return nil }); err != nil { t.Fatalf("no error should return, but got %v", err) } if err := DB.First(&User{}, "name = ?", user.Name).Error; err != nil { t.Fatalf("Should find saved record") } if err := DB.First(&User{}, "name = ?", user1.Name).Error; err == nil { t.Fatalf("Should not find rollbacked record") }
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Mon Sep 08 09:19:22 GMT 2025 - 13.3K bytes - Click Count (0) -
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) -
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) -
tests/lru_test.go
t.Fatalf("value differs from expected") } if !ok { t.Fatalf("should be true") } if !lc.Contains("key1") { t.Fatalf("should contain key1") } if lc.Contains("key2") { t.Fatalf("should not contain key2") } v, ok = lc.Peek("key2") if v != "" { t.Fatalf("should be empty") } if ok { t.Fatalf("should be false") } if !reflect.DeepEqual(lc.Keys(), []string{"key1"}) {
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Mon Sep 08 09:19:22 GMT 2025 - 10.4K bytes - Click Count (0)