Search Options

Results per page
Sort
Preferred Languages
Advance

Results 401 - 410 of 615 for verifyCn (0.03 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/AbstractExtractorTest.java

            try {
                extractor.testValidateInputStream(null);
                fail("Expected CrawlerSystemException");
            } catch (final CrawlerSystemException e) {
                // Verify it's exactly CrawlerSystemException, not a subclass
                assertEquals("Should throw CrawlerSystemException", CrawlerSystemException.class, e.getClass());
            } catch (final Exception e) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

        ByteSource source = out.asByteSource();
    
        out.write(data);
        assertThat(source.read()).isEqualTo(data);
    
        out.close();
        assertThrows(IOException.class, () -> out.write(42));
    
        // Verify that write had no effect
        assertThat(source.read()).isEqualTo(data);
        out.reset();
      }
    
      public void testReset() throws Exception {
        byte[] data = newPreFilledByteArray(100);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 30 16:30:29 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java

                    throw new AssertionError("Should not have been invoked again");
                }
              }
            };
    
        assertTrue(iter.hasNext());
        assertEquals(0, (int) iter.next());
    
        // verify idempotence of hasNext()
        assertTrue(iter.hasNext());
        assertTrue(iter.hasNext());
        assertTrue(iter.hasNext());
        assertEquals(1, (int) iter.next());
    
        assertFalse(iter.hasNext());
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/Trans2SetFileInformationResponseTest.java

        }
    
        /**
         * Test for the constructor of {@link Trans2SetFileInformationResponse}.
         * It should initialize the subCommand correctly.
         */
        @Test
        void testConstructor() {
            // Verify that the subCommand is set to TRANS2_SET_FILE_INFORMATION
            assertEquals(SmbComTransaction.TRANS2_SET_FILE_INFORMATION, response.subCommand,
                    "The subCommand should be initialized to TRANS2_SET_FILE_INFORMATION.");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/AbstractBiMapTest.java

    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@code AbstractBiMap}.
     *
     * @author Mike Bostock
     */
    @NullUnmarked
    public class AbstractBiMapTest extends TestCase {
    
      // The next two tests verify that map entries are not accessed after they're
      // removed, since IdentityHashMap throws an exception when that occurs.
      @SuppressWarnings("IdentityHashMapBoxing") // explicitly testing IdentityHashMap
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/AbstractBiMapTest.java

    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@code AbstractBiMap}.
     *
     * @author Mike Bostock
     */
    @NullUnmarked
    public class AbstractBiMapTest extends TestCase {
    
      // The next two tests verify that map entries are not accessed after they're
      // removed, since IdentityHashMap throws an exception when that occurs.
      @SuppressWarnings("IdentityHashMapBoxing") // explicitly testing IdentityHashMap
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/AccessResultImplTest.java

            responseData.setStatus(Constants.OK_STATUS);
            responseData.setExecutionTime(1000L);
            responseData.setContentLength(2048L);
    
            result.init(responseData, null);
    
            // Verify fields were copied from ResponseData
            assertEquals("https://example.com/page", result.getUrl());
            assertEquals(Integer.valueOf(200), result.getHttpStatusCode());
            assertEquals("GET", result.getMethod());
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:29:22 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/http/HandlerTest.java

            assertTrue(connection instanceof NtlmHttpURLConnection, "Connection must be wrapped in NtlmHttpURLConnection.");
    
            // Verify that our custom factory was indeed used.
            verify(mockFactory).createURLStreamHandler("http");
        }
    
        @Test
        void testOpenConnection_WithSystemPropertyHandler_SkipsJcifsPackage() throws Exception {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SecurityBlobTest.java

        @Test
        @DisplayName("Mockito spy: verify set() interaction and resulting behavior")
        void spy_verifySetInteraction() {
            // Arrange
            byte[] payload = new byte[] { 5, 6 };
    
            // Act
            spyBlob.set(payload);
    
            // Assert
            verify(spyBlob, times(1)).set(payload);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java

            assertEquals(dataOffsetFromHeader + dataLength - bodyStart, bytesRead);
            assertEquals(dataLength, response.getDataLength());
            assertEquals(dataRemaining, response.getDataRemaining());
    
            // Verify data was copied to output buffer
            byte[] copiedData = Arrays.copyOfRange(outputBuffer, 0, dataLength);
            assertArrayEquals(testData, copiedData);
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.1K bytes
    - Viewed (0)
Back to top