- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 4,281 for should (0.27 sec)
-
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"}) {
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Mon Sep 08 09:19:22 UTC 2025 - 10.4K bytes - Viewed (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"),
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 17.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/MimeMapTest.java
@Nested @DisplayName("Edge cases and special scenarios") class EdgeCases { @Test @DisplayName("Should handle multiple extensions for same mime type") void testMultipleExtensionsForSameMimeType() throws IOException { // Both jpg and jpeg should map to image/jpeg String jpgMime = mimeMap.getMimeType("jpg"); String jpegMime = mimeMap.getMimeType("jpeg");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java
// Should still not be expired assertFalse(auth.isExpired()); // Wait for original TTL to pass Thread.sleep(600); // Should still not be expired because we reset assertFalse(auth.isExpired()); // Wait for the full TTL since reset Thread.sleep(500); // Now it should be expired assertTrue(auth.isExpired());Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.3K bytes - Viewed (0) -
src/test/java/jcifs/ACETest.java
assertEquals(0x00000008, ACE.FILE_READ_EA, "FILE_READ_EA should be 0x00000008"); assertEquals(0x00000010, ACE.FILE_WRITE_EA, "FILE_WRITE_EA should be 0x00000010"); assertEquals(0x00000020, ACE.FILE_EXECUTE, "FILE_EXECUTE should be 0x00000020"); assertEquals(0x00000040, ACE.FILE_DELETE, "FILE_DELETE should be 0x00000040");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java
@DisplayName("Should setup response correctly") void testSetupResponse() { // Given Response resp = mock(Response.class); // When response.setupResponse(resp); // Then - nothing should happen (empty implementation) verifyNoInteractions(resp); } @Test @DisplayName("Should read valid negotiate response from wire format")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 32.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java
@Test @DisplayName("Should get chunksWritten value") void testGetChunksWritten() { // Initial value should be 0 assertEquals(0, response.getChunksWritten()); } @Test @DisplayName("Should get chunkBytesWritten value") void testGetChunkBytesWritten() { // Initial value should be 0Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java
} @Test @DisplayName("Should handle null path") void testNullPath() { // When creating with null path Smb2TreeConnectRequest reqWithNull = new Smb2TreeConnectRequest(mockConfig, null); // Then - should not throw during construction assertNotNull(reqWithNull);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
src/test/java/jcifs/http/HandlerTest.java
assertNotNull(connection1, "First connection should not be null."); assertNotNull(connection2, "Second connection should not be null."); assertTrue(connection1 instanceof NtlmHttpURLConnection, "First connection should be wrapped."); assertTrue(connection2 instanceof NtlmHttpURLConnection, "Second connection should be wrapped."); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.1K bytes - Viewed (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")
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 27.8K bytes - Viewed (0)