Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 13 for testcontent (0.05 seconds)

  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 {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 34.5K bytes
    - Click Count (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.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 118.1K bytes
    - Click Count (0)
  3. tests/test_tutorial/test_custom_response/test_tutorial009.py

    
    def test_get(tmp_path: Path):
        file_path: Path = tmp_path / "large-video-file.mp4"
        tutorial009_py39.some_file_path = str(file_path)
        test_content = b"Fake video bytes"
        file_path.write_bytes(test_content)
        response = client.get("/")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 502 bytes
    - Click Count (0)
  4. tests/test_tutorial/test_custom_response/test_tutorial008.py

    
    def test_get(tmp_path: Path):
        file_path: Path = tmp_path / "large-video-file.mp4"
        tutorial008_py39.some_file_path = str(file_path)
        test_content = b"Fake video bytes"
        file_path.write_bytes(test_content)
        response = client.get("/")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 502 bytes
    - Click Count (0)
  5. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategyTest.java

                assertEquals(0, moduleElements.size());
                assertEquals(2, subprojectElements.size());
    
                assertEquals("module1", subprojectElements.get(0).textContent());
                assertEquals("module2", subprojectElements.get(1).textContent());
            }
        }
    
        @Nested
        @DisplayName("Strategy Description")
        class StrategyDescriptionTests {
    
            @Test
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 38.8K bytes
    - Click Count (0)
  6. tests/test_tutorial/test_custom_response/test_tutorial009b.py

    
    def test_get(tmp_path: Path):
        file_path: Path = tmp_path / "large-video-file.mp4"
        tutorial009b_py39.some_file_path = str(file_path)
        test_content = b"Fake video bytes"
        file_path.write_bytes(test_content)
        response = client.get("/")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 505 bytes
    - Click Count (0)
  7. docs/en/docs/js/termynal.js

         */
        async type(line) {
            const chars = [...line.textContent];
            line.textContent = '';
            this.container.appendChild(line);
    
            for (let char of chars) {
                const delay = line.getAttribute(`${this.pfx}-typeDelay`) || this.typeDelay;
                await this._wait(delay);
                line.textContent += char;
            }
        }
    
        /**
         * Animate a progress bar.
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 10:32:57 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/DomUtils.java

     *
     * // Get child text content
     * String version = parent.child("version")
     *     .map(Element::textContent)
     *     .orElse(null);
     *
     * // Get trimmed text content
     * String trimmedVersion = parent.child("version")
     *     .map(Element::textContentTrimmed)
     *     .orElse(null);
     *
     * // Set text content (fluent API)
     * element.textContent("4.0.0");
     * }</pre>
     *
     * <h2>When to Use DomUtils</h2>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategy.java

                        if (phaseElement != null) {
                            String currentPhase = phaseElement.textContent().trim();
                            String newPhase = phaseUpgrades.get(currentPhase);
                            if (newPhase != null) {
                                phaseElement.textContent(newPhase);
                                context.detail("Upgraded phase: " + currentPhase + " → " + newPhase);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  10. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/AbstractVersionsUpdateTask.kt

            }.newDocumentBuilder()
                .parse(url)
                .getElementsByTagName("version").let { versions ->
                    (0 until versions.length)
                        .map { idx -> (versions.item(idx) as Element).textContent }
                        .reversed()
                }
    
        protected
        fun updateProperties(populateProperties: Properties.() -> Unit) =
            PropertiesUtils.store(
                Properties().apply(populateProperties),
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Oct 24 09:10:28 GMT 2025
    - 3.4K bytes
    - Click Count (0)
Back to Top