- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 3,003 for _shouldn (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/jcifs/CIFSContextTest.java
verify(mockContext).getPipe(url, pipeType); } @Test @DisplayName("Should close context") void testClose() throws CIFSException { // When mockContext.close(); // Then verify(mockContext).close(); } @Test @DisplayName("Should get Configuration") void testGetConfig() { // Given
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.8K bytes - Click Count (0) -
src/test/java/jcifs/NetbiosNameTest.java
@DisplayName("Should handle various NetBIOS name types") void testVariousNameTypes(int nameType) { // Given when(mockNetbiosName.getNameType()).thenReturn(nameType); // When int result = mockNetbiosName.getNameType(); // Then assertEquals(nameType, result); } @Test @DisplayName("Should handle null name") void testNullName() {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8K 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) -
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");Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.1K bytes - Click Count (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");
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.4K bytes - Click Count (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")Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 32.5K bytes - Click Count (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);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.6K bytes - Click Count (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."); }Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.1K 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)