Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 59 for testcontent (0.08 sec)

  1. cmd/object_api_suite_test.go

    	ExecExtendedObjectLayerTest(t, testPutObject)
    }
    
    // Tests validate PutObject without prefix.
    func testPutObject(obj ObjectLayer, instanceType string, t TestErrHandler) {
    	content := []byte("testcontent")
    	length := int64(len(content))
    	readerEOF := newTestReaderEOF(content)
    	readerNoEOF := newTestReaderNoEOF(content)
    	err := obj.MakeBucket(context.Background(), "bucket", MakeBucketOptions{})
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 02 15:13:05 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  2. cmd/server_test.go

    	c.Assert(err, nil)
    	c.Assert(response.StatusCode, http.StatusOK)
    	// extract the content from response body.
    	getContent, err := io.ReadAll(response.Body)
    	c.Assert(err, nil)
    
    	// Compare putContent and getContent.
    	c.Assert(string(getContent), putContent)
    }
    
    // TestGetObjectLarge11MiB - Tests validate fetching of an object of size 11MB.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 116.3K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ExtractData.java

            return metadata.get(key);
        }
    
        public Set<String> getKeySet() {
            return metadata.keySet();
        }
    
        public String getContent() {
            return content;
        }
    
        public void setContent(final String content) {
            this.content = content;
        }
    
        @Override
        public String toString() {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/config/bsentity/BsRelatedContent.java

        //                                                                            ========
        public String getContent() {
            checkSpecifiedProperty("content");
            return convertEmptyToNull(content);
        }
    
        public void setContent(String value) {
            registerModifiedProperty("content");
            this.content = value;
        }
    
        public String getCreatedBy() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/config/bsentity/dbmeta/RelatedContentDbm.java

        //                                       ---------------
        protected final Map<String, PropertyGateway> _epgMap = newHashMap();
        {
            setupEpg(_epgMap, et -> ((RelatedContent) et).getContent(), (et, vl) -> ((RelatedContent) et).setContent(DfTypeUtil.toString(vl)),
                    "content");
            setupEpg(_epgMap, et -> ((RelatedContent) et).getCreatedBy(),
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/DocumentHelperTest.java

            assertEquals("", documentHelper.getContent(null, responseData, null, dataMap));
            assertEquals("", documentHelper.getContent(null, responseData, "", dataMap));
            assertEquals("", documentHelper.getContent(null, responseData, " ", dataMap));
            assertEquals("", documentHelper.getContent(null, responseData, "  ", dataMap));
            assertEquals("", documentHelper.getContent(null, responseData, "\t", dataMap));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 11K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/JodExtractorTest.java

            Map<String, String> params = new HashMap<String, String>();
            params.put("resourceName", "test.odt");
            ExtractData extractData = jodExtractor.getText(in, params);
            String content = extractData.getContent();
            CloseableUtil.closeQuietly(in);
            logger.info(content);
            assertTrue(content.contains("テスト"));
        }
    
        public void test_getText_ooow_as() {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/XmlExtractorTest.java

            final String content = xmlExtractor.getText(in, null).getContent();
            CloseableUtil.closeQuietly(in);
            logger.info(content);
            assertTrue(content.contains("テスト"));
        }
    
        public void test_getXml_entity() {
            final InputStream in = ResourceUtil.getResourceAsStream("extractor/test_entity.xml");
            final String content = xmlExtractor.getText(in, null).getContent();
            CloseableUtil.closeQuietly(in);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractorTest.java

            CloseableUtil.closeQuietly(in);
            logger.info(content);
            assertTrue(content.contains("テスト"));
        }
    
        public void test_getTika_hpp() {
            final InputStream in = ResourceUtil.getResourceAsStream("extractor/program/test.hpp");
            final ExtractData extractData = tikaExtractor.getText(in, null);
            final String content = extractData.getContent();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/EmlExtractor.java

                            buf.append(bodyPart.getContent().toString()).append(' ');
                        } else if (bodyPart.isMimeType("multipart/alternative") && bodyPart.getContent() instanceof Multipart) {
                            final Multipart alternativePart = (Multipart) bodyPart.getContent();
                            for (int j = 0; j < alternativePart.getCount(); j++) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 10.8K bytes
    - Viewed (0)
Back to top