- Sort Score
- Num 10 results
- Language All
Results 161 - 170 of 1,040 for verifyCn (0.05 seconds)
-
src/test/java/jcifs/smb/NetServerEnumIteratorTest.java
// Then: Should create successfully assertNotNull(iterator); assertFalse(iterator.hasNext()); // Empty results // Verify tree handle was acquired verify(treeHandle).acquire(); // Cleanup iterator.close(); } @Test @DisplayName("Constructor should handle workgroup type with non-empty host")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/HashingOutputStreamTest.java
out.write(b); verify(hashFunction).newHasher(); verify(hasher).putByte((byte) b); verifyNoMoreInteractions(hashFunction, hasher); } public void testWrite_putByteArray() throws Exception { byte[] buf = new byte[] {'y', 'a', 'm', 's'}; HashingOutputStream out = new HashingOutputStream(hashFunction, buffer); out.write(buf); verify(hashFunction).newHasher();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 3.2K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/ndr/NdrHyperTest.java
// Call the decode method with the mocked NdrBuffer ndrHyper.decode(mockNdrBuffer); // Verify that dec_ndr_hyper was called exactly once verify(mockNdrBuffer, times(1)).dec_ndr_hyper(); verifyNoMoreInteractions(mockNdrBuffer); // Verify that the NdrHyper object's value was updated correctlyCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbWatchHandleImplTest.java
verify(tree).send(reqCap.capture(), any(), any(), any()); assertTrue(reqCap.getValue() instanceof Smb2ChangeNotifyRequest, "SMB2 request must be used"); verify(tree, times(1)).close(); // try-with-resources must close verify(handle, never()).markClosed(); verify(tree, never()).hasCapability(anyInt()); // not checked on SMB2 }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbFileHandleImplTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserLocaleProcessProviderTest.java
RequestManager mockRequestManager = createMockRequestManager("en_US"); // Execute OptionalThing<Locale> result = provider.findBusinessLocale(null, mockRequestManager); // Verify assertTrue(result.isPresent()); assertEquals(Locale.US, result.get()); } // Test findBusinessLocale with Japanese locale @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.1K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NodeStatusResponseTest.java
} @Test void constructor_shouldInitializeFields() throws Exception { // Verify configuration is set Field configField = NameServicePacket.class.getDeclaredField("config"); configField.setAccessible(true); assertSame(mockConfig, configField.get(response)); // Verify queryAddress is set Field queryAddressField = NodeStatusResponse.class.getDeclaredField("queryAddress");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 19.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
ExecutorService service = mock(ExecutorService.class); application.addDelayedShutdownHook(service, 2, SECONDS); verify(service, never()).shutdown(); application.shutdown(); InOrder shutdownFirst = inOrder(service); shutdownFirst.verify(service).shutdown(); shutdownFirst.verify(service).awaitTermination(2, SECONDS); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 26.1K bytes - Click Count (0) -
.github/workflows/go-healing.yml
run: | sudo sysctl net.ipv6.conf.all.disable_ipv6=0 sudo sysctl net.ipv6.conf.default.disable_ipv6=0 make verify-healing make verify-healing-inconsistent-versions make verify-healing-with-root-disksCreated: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 1.2K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/TransTransactNamedPipeResponseTest.java
int result = response.readDataWireFormat(buffer, bufferIndex, len); // Verify the result assertEquals(len, result, "readDataWireFormat should return the length of data read."); // Verify that the receive method on the input stream was called exactly once verify(mockPipeIn, times(1)).receive(buffer, bufferIndex, len); } /** * Tests the toString method.
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.3K bytes - Click Count (0)