Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for testFatal (4.96 sec)

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

         * Test that input stream content is not read (only validated).
         */
        public void test_getText_doesNotReadInputStream() throws Exception {
            final byte[] testData = "This data should not be read".getBytes();
            final InputStream in = new ByteArrayInputStream(testData);
            final Map<String, String> params = new HashMap<>();
            params.put(ExtractData.RESOURCE_NAME_KEY, "filename.txt");
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 7K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/AbstractExtractorTest.java

         */
        public void test_validateInputStream_doesNotConsumeStream() throws Exception {
            final byte[] testData = "test data for validation".getBytes();
            final ByteArrayInputStream in = new ByteArrayInputStream(testData);
            final int availableBefore = in.available();
    
            extractor.testValidateInputStream(in);
    
            final int availableAfter = in.available();
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/DcerpcBindingTest.java

            Object[][] testData = { { "\\pipe\\srvsvc", "srvsvc", "4B324FC8-1670-01D3-1278-5A47BF6EE188", 3, 0 },
                    { "\\pipe\\lsarpc", "lsarpc", "12345778-1234-ABCD-EF00-0123456789AB", 2, 1 },
                    { "\\pipe\\samr", "samr", "12345778-1234-ABCD-EF00-0123456789AC", 1, 0 } };
    
            for (Object[] data : testData) {
                String endpoint = (String) data[0];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  4. README.md

    You should see a JSON response when Fess is ready.
    
    #### 3. Clone Test Data
    
    Required for SearchApiTests:
    
        $ git clone https://github.com/codelibs/fess-testdata.git /tmp/fess-testdata
    
    #### 4. Run Integration Tests
    
        $ mvn test -P integrationTests -Dtest.fess.url="http://localhost:8080" -Dtest.search_engine.url="http://localhost:9201"
    
    To run a single test case:
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 20 00:28:33 UTC 2025
    - 7.8K bytes
    - Viewed (2)
  5. src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java

                // Test data preparation
                byte[] testData = "Test RDMA data transfer".getBytes();
                sendBuffer.getBuffer().put(testData);
                sendBuffer.getBuffer().flip();
                assertEquals(testData.length, sendBuffer.getBuffer().remaining(), "Buffer should contain test data");
    
                // Clean up
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponseTest.java

        }
    
        @Test
        void testConstructor() {
            assertNotNull(response);
            // Verify that the outputBuffer is stored properly
            byte[] testData = new byte[] { 1, 2, 3, 4, 5 };
            TransCallNamedPipeResponse testResponse = new TransCallNamedPipeResponse(mockConfig, testData);
            assertNotNull(testResponse);
        }
    
        @Test
        void testWriteSetupWireFormat() {
            byte[] dst = new byte[100];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractorTest.java

            server.stop();
            extractor.destroy();
    
            super.tearDown();
        }
    
        public void test_getText() throws Exception {
            final String testStr = "testdata";
            final String content = ATTR_NAME + "," + testStr;
            final Map<String, String> params = new HashMap<String, String>();
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/util/HMACT64Test.java

        private static final byte[] LONG_TEST_KEY = new byte[80]; // Longer than 64 bytes
        private static final byte[] SHORT_TEST_KEY = "short".getBytes();
        private static final byte[] TEST_DATA = "testdata".getBytes();
        private static final byte[] EMPTY_DATA = new byte[0];
    
        static {
            // Initialize long key with predictable data
            Arrays.fill(LONG_TEST_KEY, (byte) 0xAB);
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/util/HMACT64Test.java

        private static final byte[] LONG_TEST_KEY = "thisisalongtestkeythatislongerthan64bytesandshouldbetruncated".getBytes();
        private static final byte[] SHORT_TEST_KEY = "short".getBytes();
        private static final byte[] TEST_DATA = "testdata".getBytes();
        private static final byte[] EMPTY_DATA = new byte[0];
    
        @Mock
        private MessageDigest mockMd5;
    
        @BeforeEach
        void setUp() throws NoSuchAlgorithmException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/util/SecureCredentialStorageTest.java

            // Clean up
            Arrays.fill(plaintext, '\0');
        }
    
        @Test
        public void testDecryptWithWrongSalt() throws Exception {
            char[] plaintext = "TestData".toCharArray();
    
            // Encrypt with first storage
            byte[] encrypted = storage.encryptCredentials(plaintext);
    
            // Create new storage with different salt
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
Back to top