- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 878 for Verify (0.04 sec)
-
android/guava-testlib/src/com/google/common/util/concurrent/testing/MockFutureListener.java
} /** * Verify that the listener completes in a reasonable amount of time, and Asserts that the future * returns the expected data. * * @throws Throwable if the listener isn't called or if it resulted in a throwable or if the * result doesn't match the expected value. */ public void assertSuccess(Object expectedData) throws Throwable {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri May 12 18:12:42 UTC 2023 - 3K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameQueryRequestTest.java
doReturn(10).when((NameServicePacket) request).writeQuestionSectionWireFormat(any(byte[].class), anyInt()); int result = request.writeBodyWireFormat(dst, dstIndex); // Verify that writeQuestionSectionWireFormat was called verify((NameServicePacket) request, times(1)).writeQuestionSectionWireFormat(dst, dstIndex); assertEquals(10, result); } @Test void testReadBodyWireFormat() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.8K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrSmallTest.java
NdrSmall ndrSmall = new NdrSmall(0); // Call the decode method ndrSmall.decode(mockNdrBuffer); // Verify that dec_ndr_small was called verify(mockNdrBuffer, times(1)).dec_ndr_small(); // Verify that the value field was updated correctly assertEquals(decodedValue, ndrSmall.value, "Value should be updated after decoding.");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.2K bytes - Viewed (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 public void test_findBusinessLocale_withJapaneseLocale() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbResourceLocatorInternalTest.java
when(locator.handleDFSReferral(referral, reqPath)).thenReturn(resolved); String out = locator.handleDFSReferral(referral, reqPath); assertEquals(resolved, out); // Verify exact argument interaction verify(locator, times(1)).handleDFSReferral(referral, reqPath); verifyNoMoreInteractions(locator); } // Edge / invalid: null referral or empty/blank path @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelFailoverTest.java
failover.handleFailure(failedChannel, error); // Verify pending operations were cleared from failed channel assertEquals(0, failedChannel.getRequestsPending()); // Verify alternative channel was selected and operation added verify(mockLoadBalancer).selectChannel(mockOperation); verify(alternativeChannel).addPendingOperation(mockOperation); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 7.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/entity/QueryContextTest.java
getMockRequest().setAttribute(Constants.FIELD_LOGS, new HashMap<String, List<String>>()); queryContext = new QueryContext("test", true); assertEquals("test", queryContext.getQueryString()); // Verify that highlighting and field log are initialized assertNotNull(getMockRequest().getAttribute(Constants.HIGHLIGHT_QUERIES)); assertNotNull(getMockRequest().getAttribute(Constants.FIELD_LOGS)); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java
try { ThreadDumpUtil.writeThreadDump(tempFile.toString()); // Verify the file was created and contains content assertTrue("Thread dump file should exist", Files.exists(tempFile)); assertTrue("Thread dump file should not be empty", Files.size(tempFile) > 0); // Verify the content contains thread information
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 15.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java
// Verify bytes written assertTrue(bytesWritten > 0); assertEquals(19, bytesWritten); // 2 + 13 + 2 + 2 // Verify NET_SHARE_ENUM command (2 bytes) assertEquals(SmbComTransaction.NET_SHARE_ENUM, dst[0]); assertEquals(0, dst[1]); // Verify descriptor (WrLeh\0B13BWz\0 in ASCII - 13 bytes)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/AllocInfoTest.java
// Verify that AllocInfo extends FileSystemInformation assertTrue(FileSystemInformation.class.isAssignableFrom(AllocInfo.class)); } @Test @DisplayName("Should implement Decodable interface through FileSystemInformation") void shouldImplementDecodableInterface() { // Verify that AllocInfo indirectly implements Decodable
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.8K bytes - Viewed (0)