- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 882 for verifyCn (0.04 sec)
-
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/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/org/codelibs/fess/mylasta/direction/sponsor/FessJsonResourceProviderTest.java
public void test_allMethodsReturnExpectedValues() { // Comprehensive test to verify all methods return expected values FessJsonResourceProvider testProvider = new FessJsonResourceProvider(); // Verify nulls suppression is enabled assertTrue("Nulls should be suppressed", testProvider.isNullsSuppressed()); // Verify pretty print is enabled
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.9K 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/jcifs/http/NtlmHttpURLConnectionTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java
// Assert: delegate interactions occur when usage transitions happen verify(delegate, times(1)).acquire(); verify(delegate, times(1)).release(); } @Test @DisplayName("finalize() invokes checkRelease exactly once") void finalize_invokes_checkRelease() throws Throwable { // Arrange: spy to verify internal interaction with checkRelease() CIFSContext ctx = mock(CIFSContext.class);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.7K 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) -
src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java
System.arraycopy(testData, 0, buffer, bufferIndex + 16, testData.length); // Decode int bytesDecoded = response.decode(buffer, bufferIndex, buffer.length); // Verify results assertEquals(namedPipeState, response.getNamedPipeState()); assertEquals(readDataAvailable, response.getReadDataAvailable()); assertEquals(numberOfMessages, response.getNumberOfMessages());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0)