- Sort Score
- Num 10 results
- Language All
Results 241 - 250 of 1,160 for cases (0.02 seconds)
-
src/test/java/jcifs/NetbiosNameTest.java
} } @Test @DisplayName("Should handle case sensitivity") void testCaseSensitivity() { // Given String upperCase = "SERVER"; String lowerCase = "server"; String mixedCase = "Server"; // Test different cases when(mockNetbiosName.getName()).thenReturn(upperCase);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8K bytes - Click Count (0) -
cmd/streaming-signature-v4_test.go
nil, nil, }, // Test - 4 - parse the chunk reader properly. { bufio.NewReader(readers[3]), nil, []byte("1000"), []byte("111123333333333333334444211"), }, } // Valid test cases for each chunk line. for i, tt := range testCases { chunkSize, chunkSignature, err := readChunkLine(tt.reader) if err != tt.expectedErr { t.Errorf("Test %d: Expected %s, got %s", i+1, tt.expectedErr, err) }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 5.7K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverResult.java
* * <p>{@link #getModuleName(Path)} is preferred when only the module name is desired, * because a name may be present even if the descriptor is absent. This method is for * cases when more information is desired, such as the set of exported packages.</p> * * @param dependency path to the dependency for which to get the module nameCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Mar 05 14:29:21 GMT 2025 - 6.3K bytes - Click Count (0) -
internal/hash/checksum_test.go
{"ChecksumSHA256-full-object", ChecksumSHA256, true, true}, // SHA256 does not support full object } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { // Skip invalid cases where SHA1 or SHA256 is used with full object if (tt.checksum.Is(ChecksumSHA1) || tt.checksum.Is(ChecksumSHA256)) && tt.fullobj { // Validate that NewChecksumType correctly marks these as invalid alg := tt.checksum.String()Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 22 14:15:21 GMT 2025 - 7.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java
SettableFuture<String> f = SettableFuture.create(); MockCallback callback = new MockCallback("foo"); Futures.addCallback(f, callback, ex); f.set("foo"); assertEquals(1, ex.runCount); } // Error cases public void testSameThreadExecutionException() { SettableFuture<String> f = SettableFuture.create(); Exception e = new IllegalArgumentException("foo not found"); MockCallback callback = new MockCallback(e);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 6.7K bytes - Click Count (0) -
docs/en/docs/advanced/security/http-basic-auth.md
# HTTP Basic Auth { #http-basic-auth } For the simplest cases, you can use HTTP Basic Auth. In HTTP Basic Auth, the application expects a header that contains a username and a password. If it doesn't receive it, it returns an HTTP 401 "Unauthorized" error. And returns a header `WWW-Authenticate` with a value of `Basic`, and an optional `realm` parameter. That tells the browser to show the integrated prompt for a username and password.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 5K bytes - Click Count (0) -
src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java
* create a lightweight concrete subclass only to exercise the inherited * behaviour. The tests cover flag manipulation, byte‑buffer operations and * static helpers. Edge cases such as null or short arrays and negative * values are verified to ensure proper exception handling and byte * conversion. */ @ExtendWith(MockitoExtension.class) class NtlmMessageTest {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/witness/WitnessIntegrationTest.java
// 5. Verify heartbeat fails after unregistration assertFalse(mockService.processHeartbeat(regId, 4)); } /** * Test error conditions and edge cases */ @Test void testErrorConditions() { // Test operations on empty service assertEquals(0, mockService.getRegistrationCount());Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 09:06:40 GMT 2025 - 9.8K bytes - Click Count (0) -
docs/en/docs/fastapi-cli.md
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Mar 07 09:29:03 GMT 2026 - 5.8K bytes - Click Count (0) -
build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/info/GitInfo.java
* * There are two cases to consider: * - a plain repository with .git directory at the root of the working tree * - a worktree with a plain text .git file at the root of the working tree * * In each case, our goal is to parse the HEAD file to get either a ref or a bare revision (in the case of being in detached * HEAD state). *Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 7.8K bytes - Click Count (0)