Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 191 - 200 of 740 for missing (0.12 seconds)

  1. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

      public void testGoodClass() {
        shouldPass(new PassObject());
      }
    
      private static class FailOneArgDoesntThrowNpe extends PassObject {
        @Override
        public void oneArg(String s) {
          // Fail: missing NPE for s
        }
      }
    
      public void testFailOneArgDoesntThrowNpe() {
        shouldFail(new FailOneArgDoesntThrowNpe());
      }
    
      private static class FailOneArgThrowsWrongType extends PassObject {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 47.9K bytes
    - Click Count (0)
  2. tests/test_dependency_duplicates.py

        response = client.post("/no-duplicates", json={"item": {"data": "myitem"}})
        assert response.status_code == 422, response.text
        assert response.json() == {
            "detail": [
                {
                    "type": "missing",
                    "loc": ["body", "item2"],
                    "msg": "Field required",
                    "input": None,
                }
            ]
        }
    
    
    def test_no_duplicates():
        response = client.post(
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  3. src/test/java/jcifs/ntlmssp/Type2MessageTest.java

                assertNull(parsedMessage.getContext());
                assertNull(parsedMessage.getTargetInformation());
            }
    
            @Test
            @DisplayName("parse should handle truncated message missing context")
            void testParse_InputLengthTooSmallForContext() {
                // Given
                // Create a minimal Type2 message manually
                byte[] truncatedMessage = new byte[32];
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 38.9K bytes
    - Click Count (0)
  4. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/runtimes/CheckTargetRuntimes.kt

            val start = lines.indexOfFirst {
                Regex("\\s+computedRuntimes\\s+\\{").matches(it)
            }
            if (start == -1) {
                return BuildFileMutation.Failure("Missing computedRuntimes block for $projectPath: ${buildFile.asClickableFileUrl()}")
            }
    
            val end = lines.indexOfFirst(start + 1) {
                Regex("\\s+}").matches(it)
            }
            if (end == -1) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Mar 11 22:40:18 GMT 2026
    - 13.8K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetReadsTester.java

            getMultiset().entrySet().contains(Multisets.immutableEntry(e0(), 1)));
      }
    
      public void testEntrySet_contains_count0() {
        assertFalse(
            "multiset.entrySet() contains [missing, 0]",
            getMultiset().entrySet().contains(Multisets.immutableEntry(e3(), 0)));
      }
    
      public void testEntrySet_contains_nonentry() {
        assertFalse(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 4K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/MultisetReadsTester.java

            getMultiset().entrySet().contains(Multisets.immutableEntry(e0(), 1)));
      }
    
      public void testEntrySet_contains_count0() {
        assertFalse(
            "multiset.entrySet() contains [missing, 0]",
            getMultiset().entrySet().contains(Multisets.immutableEntry(e3(), 0)));
      }
    
      public void testEntrySet_contains_nonentry() {
        assertFalse(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 4K bytes
    - Click Count (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/DefaultProjectDependenciesResolver.java

                    Collection<Artifact> missing = new HashSet<>(e.getMissingArtifacts());
    
                    for (Iterator<Artifact> it = missing.iterator(); it.hasNext(); ) {
                        String key = ArtifactUtils.key(it.next());
                        if (projectIds.contains(key)) {
                            it.remove();
                        }
                    }
    
                    if (!missing.isEmpty()) {
                        throw e;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 8.4K bytes
    - Click Count (1)
  8. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/testfixtures/TestFixtureExtension.java

            }
            if (fixtureProject.file(TestFixturesPlugin.DOCKER_COMPOSE_YML).exists() == false) {
                throw new IllegalArgumentException(
                    "Project " + path + " is not a valid test fixture: missing " + TestFixturesPlugin.DOCKER_COMPOSE_YML
                );
            }
            fixtures.add(fixtureProject);
            // Check for exclusive access
            Optional<String> otherProject = this.findOtherProjectUsingService(path);
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 4.4K bytes
    - Click Count (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/toolchain/DefaultToolchain.java

                String key = requirement.getKey();
    
                RequirementMatcher matcher = provides.get(key);
    
                if (matcher == null) {
                    getLog().debug("Toolchain {} is missing required property: {}", this, key);
                    return false;
                }
                if (!matcher.matches(requirement.getValue())) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Feb 12 13:13:28 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  10. src/test/java/jcifs/dcerpc/UUIDTest.java

            }
    
            @Test
            @DisplayName("Constructor with too short UUID string should parse available data")
            void testConstructorWithStringTooShort() {
                // Arrange - UUID string missing last two characters
                String shortUuid = "00112233-4455-6677-8899-AABBCCDDEE";
    
                // Act
                UUID uuid = new UUID(shortUuid);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.2K bytes
    - Click Count (0)
Back to Top