- Sort Score
- Result 10 results
- Languages All
Results 1631 - 1640 of 3,758 for null (0.02 sec)
-
guava-tests/test/com/google/common/base/EquivalenceTest.java
.addEqualityGroup( LENGTH_EQUIVALENCE.<@Nullable String>wrap(null), LENGTH_EQUIVALENCE.<@Nullable String>wrap(null)) .addEqualityGroup(Equivalence.equals().wrap("hello")) .addEqualityGroup(Equivalence.equals().<@Nullable Object>wrap(null)) .testEquals(); } public void testWrap_get() { String test = "test";
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.5K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/ResponseTest.java
Long expiration = 123456789L; when(mockResponse.getExpiration()).thenReturn(expiration); assertEquals(expiration, mockResponse.getExpiration()); // Test null expiration when(mockResponse.getExpiration()).thenReturn(null); assertNull(mockResponse.getExpiration()); // Verify the method was called verify(mockResponse, times(2)).getExpiration(); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationTest.java
void testReadMethodsReturnZero() { Trans2QueryFSInformation cmd = new Trans2QueryFSInformation(10); assertEquals(0, cmd.readSetupWireFormat(null, 0, 0)); assertEquals(0, cmd.readParametersWireFormat(null, 0, 0)); assertEquals(0, cmd.readDataWireFormat(null, 0, 0)); } @Test @DisplayName("toString includes information level in hex") void testToString() { int level = 0xABC;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CloserTest.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 11.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/TestLockingTest.java
} @Test @DisplayName("run method handles null URL gracefully") void testRunWithNullUrl() { TestLocking t = new TestLocking(); t.url = null; // Null URL t.numIter = 0; // No iterations to avoid NPE // Should not throw exception assertDoesNotThrow(() -> t.run(), "run() should handle null URL gracefully");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java
assertThrows(NullPointerException.class, () -> future.addListener(null, directExecutor())); } public void testNullExecutor() { assertThrows(NullPointerException.class, () -> future.addListener(doNothing(), null)); } public void testNullTimeUnit() throws Exception { future.set(1); assertThrows(NullPointerException.class, () -> future.get(0, null)); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 15.4K bytes - Viewed (0) -
docs/smb3-features/05-rdma-smb-direct-design.md
// Clean up all pooled regions RdmaMemoryRegion region; while ((region = availableSendRegions.poll()) != null) { region.close(); totalReleased.incrementAndGet(); } while ((region = availableReceiveRegions.poll()) != null) { region.close(); totalReleased.incrementAndGet(); } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 35.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/JobNotFoundExceptionTest.java
} public void test_constructorWithScheduledJob_nullToString() { // Test with scheduled job that returns null from toString ScheduledJob scheduledJob = new ScheduledJob() { @Override public String toString() { return null; } }; JobNotFoundException exception = new JobNotFoundException(scheduledJob);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/EquivalenceTesterTest.java
super.setUp(); this.equivalenceMock = new MockEquivalence(); this.tester = EquivalenceTester.of(equivalenceMock); } /** Test null reference yields error */ public void testOf_nullPointerException() { assertThrows(NullPointerException.class, () -> EquivalenceTester.of(null)); } public void testTest_noData() { tester.test(); } public void testTest() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Dec 27 16:19:35 UTC 2024 - 8.4K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/EquivalenceTesterTest.java
super.setUp(); this.equivalenceMock = new MockEquivalence(); this.tester = EquivalenceTester.of(equivalenceMock); } /** Test null reference yields error */ public void testOf_nullPointerException() { assertThrows(NullPointerException.class, () -> EquivalenceTester.of(null)); } public void testTest_noData() { tester.test(); } public void testTest() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Dec 27 16:19:35 UTC 2024 - 8.4K bytes - Viewed (0)