- Sort Score
- Result 10 results
- Languages All
Results 251 - 260 of 2,154 for _shouldn (0.03 sec)
-
src/test/java/jcifs/dcerpc/DcerpcMessageTest.java
class ResultManagementTests { @Test @DisplayName("getResult should return null for success (result=0)") void testGetResultSuccess() { message.result = 0; assertNull(message.getResult()); } @Test @DisplayName("getResult should return DcerpcException for non-zero result") void testGetResultError() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 18.3K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/net/protocol/gcs/HandlerTest.java
// All threads should fail with the same IOException (project ID is blank) // But importantly, there should be no race condition errors assertEquals(threadCount, failureCount.get()); assertEquals(0, successCount.get()); // All exceptions should be about project ID being blank for (Exception e : exceptions) {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 08:38:29 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java
void testToStringFormat() { String str = response.toString(); // Should start with the class name assertTrue(str.startsWith("Trans2SetFileInformationResponse[")); // Should end with closing bracket assertTrue(str.endsWith("]")); // Should contain parent toString content // Note: The parent toString might include various fields
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbUnsupportedOperationExceptionTest.java
"Default message should match the class contract"); assertNull(ex.getCause(), "No cause expected from default constructor"); assertTrue(ex instanceof SmbException, "Should be an SmbException"); // toString should include the class name and the message String ts = ex.toString();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/MultiChannelManagerBasicTest.java
MultiChannelManager.class.getDeclaredMethod("createChannelTransport", InetAddress.class, InetAddress.class); method.setAccessible(true); // This should fail because localhost doesn't support SMB multi-channel // but the method should not throw NullPointerException try { method.invoke(multiChannelManager, localhost, loopback); // If it doesn't throw, that's unexpected for localhost
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbSessionTest.java
}).when(transport).send(any(ServerMessageBlock.class), any(ServerMessageBlock.class)); session.send(req, resp); // Response state should be reset assertFalse(resp.received, "Response flag should be reset"); // transport.send should be called at least once (for sessionSetup and the actual request) verify(transport, atLeastOnce()).send(any(ServerMessageBlock.class), any(ServerMessageBlock.class));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapContainsKeyTester.java
assertTrue("containsKey(present) should return true", getMap().containsKey(k0())); } public void testContains_no() { assertFalse("containsKey(notPresent) should return false", getMap().containsKey(k3())); } @MapFeature.Require(ALLOWS_NULL_KEY_QUERIES) public void testContains_nullNotContainedButAllowed() { assertFalse("containsKey(null) should return false", getMap().containsKey(null)); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Feb 26 21:06:36 UTC 2025 - 3.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java
// Verify the object is created with expected configuration // totalParameterCount should be 2 // totalDataCount should be 0 // maxParameterCount should be 0 // maxDataCount should be 800 // maxSetupCount should be 0 assertNotNull(trans2QueryFSInfo); // Since these are protected fields, we can't access them directlyRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.9K bytes - Viewed (0) -
fess-crawler/src/test/resources/org/codelibs/fess/crawler/helper/robots_malformed.txt
# This file contains various malformed directives that should be handled gracefully # Case 1: Directives before any User-agent (should be ignored) Disallow: /orphaned1/ Allow: /orphaned2/ # Case 2: Valid user-agent with various malformed directives User-agent: GoodBot Disallow: /admin/ InvalidDirective: some-value unknown-field: test Disallow /missing-colon Disallow: # empty value (should be treated as allowing all) Allow: /public/
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Fri Nov 14 12:52:01 UTC 2025 - 2.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapContainsValueTester.java
assertTrue("containsValue(present) should return true", getMap().containsValue(v0())); } public void testContains_no() { assertFalse("containsValue(notPresent) should return false", getMap().containsValue(v3())); } @MapFeature.Require(ALLOWS_NULL_VALUE_QUERIES) public void testContains_nullNotContainedButAllowed() { assertFalse("containsValue(null) should return false", getMap().containsValue(null)); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 3.3K bytes - Viewed (0)