Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 417 for explicit (0.07 seconds)

  1. tests/test_dump_json_fast_path.py

    
    def test_explicit_response_class_uses_json_dumps():
        """When response_class is explicitly set to JSONResponse, the normal path
        is used and json.dumps is called via JSONResponse.render()."""
        with patch(
            "starlette.responses.json.dumps", wraps=__import__("json").dumps
        ) as mock_dumps:
            response = client.get("/explicit")
        assert response.status_code == 200
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 22 16:07:19 GMT 2026
    - 1.4K bytes
    - Click Count (0)
  2. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategyTest.java

                            <relativePath>../pom.xml</relativePath>
                        </parent>
                        <artifactId>child-project</artifactId>
                        <!-- No explicit groupId - will inherit from parent -->
                        <!-- No explicit version - will inherit from parent -->
                    </project>
                    """;
    
                Document parentDoc = Document.of(parentPomXml);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 35.2K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/collect/MultimapBuilderTest.java

     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @NullMarked
    public class MultimapBuilderTest extends TestCase {
    
      @J2ktIncompatible
      @GwtIncompatible // doesn't build without explicit type parameters on build() methods
      public void testGenerics() {
        ListMultimap<String, Integer> unusedA = MultimapBuilder.hashKeys().arrayListValues().build();
        SortedSetMultimap<String, Integer> unusedB =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

                    + "If the class is better tested explicitly, you can add %s() to %sTest",
                description,
                cls,
                explicitTestNames.get(0),
                cls.getName());
        return new AssertionError(message, e);
      }
    
      /**
       * Finds the classes not ending with a test suffix and not covered by an explicit test whose name
       * is {@code explicitTestNames}.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 17.9K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/escape/EscapersTest.java

        assertThat(builder.build().escape("The Quick Brown Fox!")).isEqualTo("XheXXuickXXrownXXoxX");
        // Explicit replacements take priority over unsafe characters.
        builder.addEscape(' ', "_");
        builder.addEscape('!', "_");
        assertThat(builder.build().escape("The Quick Brown Fox!")).isEqualTo("Xhe_Xuick_Xrown_Xox_");
        // Explicit replacements take priority over safe characters.
        builder.setSafeRange(' ', '~');
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  6. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoalTest.java

            @DisplayName("should prioritize explicit model over --all option")
            void shouldPrioritizeExplicitModelOverAllOption() {
                UpgradeContext context =
                        createMockContext(tempDir, TestUtils.createOptions(true, null, null, null, "4.0.0"));
                String result = upgradeGoal.testDoUpgradeLogic(context, "4.0.0");
    
                assertEquals("4.0.0", result, "Explicit model should take precedence over --all");
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 13.7K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/SmbTreeInternalTest.java

            verify(tree).send((Request<CommonServerMessageBlockResponse>) isNull());
        }
    
        @Test
        @DisplayName("send with explicit null varargs propagates exception from implementation")
        void send_nullVarargsArray_throws() throws Exception {
            // Arrange: passing explicit null vararg array is edge scenario
            when(tree.send(eq(request), isNull())).thenThrow(new CIFSException("null params"));
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/escape/EscapersTest.java

        assertThat(builder.build().escape("The Quick Brown Fox!")).isEqualTo("XheXXuickXXrownXXoxX");
        // Explicit replacements take priority over unsafe characters.
        builder.addEscape(' ', "_");
        builder.addEscape('!', "_");
        assertThat(builder.build().escape("The Quick Brown Fox!")).isEqualTo("Xhe_Xuick_Xrown_Xox_");
        // Explicit replacements take priority over safe characters.
        builder.setSafeRange(' ', '~');
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  9. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

                    + "If the class is better tested explicitly, you can add %s() to %sTest",
                description,
                cls,
                explicitTestNames.get(0),
                cls.getName());
        return new AssertionError(message, e);
      }
    
      /**
       * Finds the classes not ending with a test suffix and not covered by an explicit test whose name
       * is {@code explicitTestNames}.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 17.9K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoal.java

     *   <li><strong>Parent Element Trimming</strong>:
     *     <ul>
     *       <li>Removes parent {@code <groupId>} when child has no explicit groupId</li>
     *       <li>Removes parent {@code <version>} when child has no explicit version</li>
     *       <li>Removes parent {@code <artifactId>} when it can be inferred from relativePath</li>
     *     </ul>
     *   </li>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 12.5K bytes
    - Click Count (0)
Back to Top