Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 591 - 600 of 1,092 for EXPECTED (0.24 seconds)

  1. compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesTest.java

            Map<String, String> expected = Map.of("a", "$\\{var}", "ab", "$\\{var}b", "abc", "$\\{var}bc");
    
            java.util.Properties props1 = new java.util.Properties();
            props1.load(new StringReader(config));
            new DefaultInterpolator().performSubstitution((Map) props1, null, true);
            assertEquals(expected, props1);
    
            MavenProperties props2 = new MavenProperties();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Mar 09 14:29:03 GMT 2026
    - 16.3K bytes
    - Click Count (0)
  2. src/main/java/jcifs/internal/smb2/Smb2EchoResponse.java

            final int start = bufferIndex;
            final int structureSize = SMBUtil.readInt2(buffer, bufferIndex);
            if (structureSize != 4) {
                throw new SMBProtocolDecodingException("Expected structureSize = 4");
            }
            return bufferIndex - start;
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/util/concurrent/ServiceTest.java

        assertLessThan(STOPPING, TERMINATED);
      }
    
      private static <T extends Comparable<? super T>> void assertLessThan(T a, T b) {
        if (a.compareTo(b) >= 0) {
          fail(String.format(Locale.ROOT, "Expected %s to be less than %s", a, b));
        }
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  4. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/DefaultProfileSelectorTest.java

            SimpleProblemCollector problems = new SimpleProblemCollector();
            List<Profile> active = selector.getActiveProfiles(profiles, context, problems);
            assertTrue(
                    active.isEmpty(), "Expected collection to be empty but had " + active.size() + " elements: " + active);
            assertEquals(1, problems.getErrors().size());
            assertEquals(
                    "Failed to determine activation for profile one: BOOM",
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/ServerTruncatesRequestTest.kt

            Request(
              url = server.url("/"),
              body = requestBody,
            ),
          )
    
        assertFailsWith<IOException> {
          callA.execute()
        }.also { expected ->
          assertThat(expected).hasMessage("boom")
        }
    
        assertThat(server.requestCount).isEqualTo(0)
    
        // Confirm that the connection pool was not corrupted by making another call. This doesn't use
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Jan 11 11:54:15 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/CompactLinkedHashMap.java

     * remove) are supported. Null keys and values are supported.
     *
     * <p>{@code containsKey(k)}, {@code put(k, v)} and {@code remove(k)} are all (expected and
     * amortized) constant time operations. Expected in the hashtable sense (depends on the hash
     * function doing a good job of distributing the elements to the buckets to a distribution not far
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 06 14:59:07 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  7. src/main/java/jcifs/pac/ASN1Util.java

        }
    
        /**
         * Read a tagged object without parsing it's contents
         *
         * BC no longer seems to allow that out of the box
         *
         * @param expectTag the expected tag number
         * @param limit the maximum length limit
         * @param in the ASN.1 input stream
         * @return coded bytes of the tagged object
         * @throws IOException if reading fails or tag mismatch
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/smb2/io/Smb2FlushResponse.java

            final int start = bufferIndex;
            final int structureSize = SMBUtil.readInt2(buffer, bufferIndex);
            if (structureSize != 4) {
                throw new SMBProtocolDecodingException("Expected structureSize = 4");
            }
            bufferIndex += 4;
    
            return bufferIndex - start;
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  9. src/test/java/jcifs/pac/kerberos/KerberosTicketTest.java

            ASN1EncodableVector encPart = new ASN1EncodableVector();
            encPart.add(new DERTaggedObject(true, 0, new ASN1Integer(encType)));
            // Add kvno (key version number) field that is optional but expected when accessing index 2
            encPart.add(new DERTaggedObject(true, 1, new ASN1Integer(1))); // kvno
            encPart.add(new DERTaggedObject(true, 2, new DEROctetString(encryptedData)));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/math/DoubleUtilsTest.java

      public void testBigToDouble() {
        for (BigInteger b : ALL_BIGINTEGER_CANDIDATES) {
          if (b.doubleValue() != DoubleUtils.bigToDouble(b)) {
            failFormat(
                "Converting %s to double: expected doubleValue %s but got bigToDouble %s",
                b, b.doubleValue(), DoubleUtils.bigToDouble(b));
          }
        }
      }
    
      public void testEnsureNonNegative() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 2.5K bytes
    - Click Count (0)
Back to Top