- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 2,749 for should (0.03 seconds)
-
docs/en/docs/advanced/openapi-callbacks.md
In this case, you could want to document how that external API *should* look like. What *path operation* it should have, what body it should expect, what response it should return, etc. ## An app with callbacks { #an-app-with-callbacks } Let's see all this with an example. Imagine you develop an app that allows creating invoices. These invoices will have an `id`, `title` (optional), `customer`, and `total`.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 10 08:55:32 GMT 2025 - 8K 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) -
api/maven-api-core/src/test/java/org/apache/maven/api/MonotonicClockTest.java
@DisplayName("MonotonicClock singleton instance should always return the same instance") void testSingletonInstance() { MonotonicClock clock1 = MonotonicClock.get(); MonotonicClock clock2 = MonotonicClock.get(); assertSame(clock1, clock2, "Multiple calls to get() should return the same instance"); } @Test @DisplayName("MonotonicClock should always use UTC timezone") void testClockTimezone() {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jan 15 06:28:29 GMT 2025 - 5.8K bytes - Click Count (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvn/MavenOptions.java
/** * Indicates whether Maven should never fail the build, regardless of project result. * * @return an {@link Optional} containing true if the build should never fail, false if it should fail normally, or empty if not specified */ @Nonnull Optional<Boolean> failNever(); /** * Indicates whether Maven should resume from the last failed project in a previous build. *Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jun 11 13:14:09 GMT 2025 - 8K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/builder/multithreaded/SmartProjectComparatorTest.java
// Project A should have the highest weight as it's at the root assertTrue(weightA > weightB, "Project A should have weight > Project B"); assertTrue(weightA > weightC, "Project A should have weight > Project C"); assertTrue(weightB > weightX, "Project B should have weight > Project X"); assertTrue(weightC > weightX, "Project C should have weight > Project X"); } @TestCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Aug 06 12:03:40 GMT 2025 - 8.9K bytes - Click Count (0) -
tests/test_tutorial/test_configure_swagger_ui/test_tutorial003.py
"overridden configs should be preserved" ) assert '"deepLinking": true' not in response.text, ( "overridden configs should not include the old value" ) assert '"syntaxHighlight": false' not in response.text, ( "not used parameters should not be included" ) assert '"dom_id": "#swagger-ui"' in response.text, ( "default configs should be preserved" )
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 1.5K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/project/PluginConnectionSimpleTest.java
Plugin retrievedPlugin = project.getPlugin("org.apache.maven.plugins:maven-compiler-plugin"); assertNotNull(retrievedPlugin, "Plugin should be found"); assertEquals("3.8.1", retrievedPlugin.getVersion(), "Initial version should match"); // Modify the plugin version retrievedPlugin.setVersion("3.11.0"); // Verify the change persists when getting the plugin again
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jul 04 12:50:13 GMT 2025 - 5K 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) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/GAVUtilsTest.java
null, "incomplete-project", null, "Should return null for missing groupId and version"), Arguments.of("com.example", null, "1.0.0", "Should return null for missing artifactId"), Arguments.of(null, null, "1.0.0", "Should return null for missing groupId and artifactId"), Arguments.of("com.example", "test-project", null, "Should return null for missing version"),
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 17.3K bytes - Click Count (0) -
tests/test_path.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 20.5K bytes - Click Count (2)