Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 29 for testAaa (0.04 sec)

  1. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java

            byte[] testData = "Test data with offset".getBytes();
            byte[] buffer = new byte[200];
            int offset = 50;
            System.arraycopy(testData, 0, buffer, offset, testData.length);
    
            int result = response.readDataWireFormat(buffer, offset, testData.length);
    
            assertEquals(testData.length, result);
            byte[] actualData = new byte[testData.length];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/lang/FieldUtilTest.java

            final Integer testData = Integer.valueOf(123);
            FieldUtil.set(field, this, testData);
            assertThat((Integer) FieldUtil.get(field, this), is(testData));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetIntField() throws Exception {
            final Field field = getClass().getField("intField");
            final int testData = 1234567890;
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java

            SMBUtil.writeInt4(messageLength, buffer, bufferIndex + 12);
            System.arraycopy(testData, 0, buffer, bufferIndex + 16, testData.length);
    
            // Decode
            int bytesDecoded = response.decode(buffer, bufferIndex, buffer.length);
    
            // Verify results
            assertEquals(namedPipeState, response.getNamedPipeState());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/JodExtractorTest.java

            assertTrue(content.contains("ใƒ†ใ‚นใƒˆ"));
        }
    
        public void test_getText_ooow_as() {
            InputStream in = ResourceUtil.getResourceAsStream("extractor/ooo/test_as.odt");
            Map<String, String> params = new HashMap<String, String>();
            params.put("resourceName", "test_as.odt");
            ExtractData extractData = jodExtractor.getText(in, params);
            String content = extractData.getContent();
            CloseableUtil.closeQuietly(in);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/netbios/NodeStatusResponseTest.java

            src[srcIndex + 52] = 0x20; // hex code matching mockQueryAddress
            src[srcIndex + 53] = 0x04; // flags: active
    
            // MAC address (6 bytes)
            byte[] testMac = { 0x00, 0x11, 0x22, 0x33, 0x44, 0x55 };
            System.arraycopy(testMac, 0, src, srcIndex + 55, 6);
    
            // Statistics (6 bytes)
            byte[] stats = { 0x00, 0x01, 0x02, 0x03, 0x04, 0x05 };
            System.arraycopy(stats, 0, src, srcIndex + 61, 6);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java

            SMBUtil.writeInt4(0, buffer, bodyStart + 12);
    
            // Write test data at the specified offset
            byte[] testData = new byte[dataLength];
            for (int i = 0; i < dataLength; i++) {
                testData[i] = (byte) (i & 0xFF);
            }
            System.arraycopy(testData, 0, buffer, dataOffsetFromHeader, dataLength);
    
            // Use reflection to set headerStart
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  7. 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)
  8. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

            assertNotNull(os);
            byte[] testData = "test data".getBytes();
            os.write(testData);
            os.flush();
            os.close();
    
            // Assert
            // Verify that data was written to the underlying stream through CacheStream
            verify(initialOutputStream).write(testData);
            verify(initialOutputStream).flush();
            verify(initialOutputStream).close();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top