Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 204 for arrange (0.14 seconds)

  1. src/test/java/jcifs/smb/NtlmUtilTest.java

            }
            return out;
        }
    
        @Test
        @DisplayName("getNTHash: known vector for 'password'")
        void testGetNTHash_knownVector() {
            // Arrange
            String password = "password";
            // Known NT hash for "password" (UTF-16LE MD4)
            // This is a well-known test vector: password -> 8846F7EAEE8FB117AD06BDD830B7586C
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 12K bytes
    - Click Count (1)
  2. src/test/java/org/codelibs/curl/CurlTest.java

        public void test_GetFactoryMethod() {
            // ## Arrange ##
            final String url = "http://example.com";
    
            // ## Act ##
            final CurlRequest request = Curl.get(url);
    
            // ## Assert ##
            assertNotNull(request);
            assertEquals(Method.GET, request.method());
        }
    
        @Test
        public void test_PostFactoryMethod() {
            // ## Arrange ##
            final String url = "http://example.com";
    
    Created: Sat Dec 20 09:13:53 GMT 2025
    - Last Modified: Thu Nov 20 13:34:13 GMT 2025
    - 16.3K bytes
    - Click Count (0)
  3. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

            // Arrange
            CliRequest request = new CliRequest(new String[] {"-Dx", "validate"}, null);
    
            // Act
            cli.cli(request);
            cli.properties(request);
    
            // Assert
            assertEquals("true", request.getUserProperties().getProperty("x"));
        }
    
        @Test
        void populatePropertiesMultiple() throws Exception {
            // Arrange
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 30.9K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

       * (so much for "black box") and try instances that both do and don't pass the check. The "don't"
       * half of that is more awkward to arrange...
       */
      private static <T> Iterable<T> iterable(Collection<T> collection) {
        // return collection::iterator;
        return new Iterable<T>() {
          @Override
          public Iterator<T> iterator() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 20.9K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

     * well as a simple framework for helping to make sure that assertions failing in generated threads
     * cause the associated test that generated them to itself fail (which JUnit does not otherwise
     * arrange). The rules for creating such tests are:
     *
     * <ol>
     *   <li>All assertions in code running in generated threads must use the forms {@link #threadFail},
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:07:52 GMT 2025
    - 37.8K bytes
    - Click Count (0)
  6. guava/src/com/google/common/util/concurrent/MoreExecutors.java

            if (cancelled) {
              // Unless it is cancelled, the delegate may continue being scheduled
              scheduledDelegate.cancel(mayInterruptIfRunning);
    
              /*
               * We'd love to also arrange for the inverse -- that is, to also automatically cancel this
               * future if scheduledDelegate is cancelled (as happens after the delegate executor is
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Oct 08 18:55:33 GMT 2025
    - 45.2K bytes
    - Click Count (0)
  7. doc/asm.html

    <code>R15</code> points to the stack frame and should typically only be accessed using the
    virtual registers <code>SP</code> and <code>FP</code>.
    </p>
    
    <p>
    Load- and store-multiple instructions operate on a range of registers.
    The range of registers is specified by a start register and an end register.
    For example, <code>LMG</code> <code>(R9),</code> <code>R5,</code> <code>R7</code> would load
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Nov 14 19:09:46 GMT 2025
    - 36.5K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/Range.java

      }
    
      private static final Range<Comparable> ALL = new Range<>(Cut.belowAll(), Cut.aboveAll());
    
      /**
       * Returns a range that contains every value of type {@code C}.
       *
       * @since 14.0
       */
      @SuppressWarnings("unchecked")
      public static <C extends Comparable<?>> Range<C> all() {
        return (Range) ALL;
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 28K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/collect/TreeRangeSetTest.java

        assertThat(rangeSet.complement().asRanges())
            .containsExactly(Range.lessThan(1), Range.greaterThan(6))
            .inOrder();
      }
    
      public void testIgnoresSmallerSharingLowerBound() {
        TreeRangeSet<Integer> rangeSet = TreeRangeSet.create();
        rangeSet.add(Range.closed(1, 6));
        rangeSet.add(Range.closed(1, 4));
        testInvariants(rangeSet);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 24.4K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/collect/AbstractRangeSetTest.java

          Range<C> range1 = asRanges.get(i);
          Range<C> range2 = asRanges.get(i + 1);
          assertFalse(range1.isConnected(range2));
        }
    
        // test that there are no empty ranges
        for (Range<C> range : asRanges) {
          assertFalse(range.isEmpty());
        }
    
        // test that the RangeSet's span is the span of all the ranges
        Iterator<Range<C>> itr = rangeSet.asRanges().iterator();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 2.7K bytes
    - Click Count (0)
Back to Top