Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 930 for expect (0.41 sec)

  1. src/test/java/jcifs/tests/PACTest.java

            String expect = "9121D44B1AD560C7A3152B3CAC453AB4";
            testRC4HMac(5, data, key, expect);
        }
    
    
        /**
         * @param data
         * @param key
         * @param expect
         * @throws GeneralSecurityException
         * @throws PACDecodingException
         */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Oct 01 12:01:17 GMT 2023
    - 22.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/StreamsTest.java

                        .spliterator())
            .expect(ImmutableList.of());
        SpliteratorTester.of(
                () ->
                    Streams.mapWithIndex(
                            collectionImpl.apply(ImmutableList.of("a", "b", "c", "d", "e")),
                            (str, i) -> str + ":" + i)
                        .spliterator())
            .expect("a:0", "b:1", "c:2", "d:3", "e:4");
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 20K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/base/ThrowablesTest.java

                  throw Throwables.propagate(t);
                }
              }
            };
    
        // Expect the undeclared exception to have been chained inside another
        RuntimeException expected = assertThrows(RuntimeException.class, () -> sample.noneDeclared());
        assertThat(expected).hasCauseThat().isInstanceOf(SomeCheckedException.class);
      }
    
      @GwtIncompatible // throwIfInstanceOf
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/base/ThrowablesTest.java

                  throw Throwables.propagate(t);
                }
              }
            };
    
        // Expect the undeclared exception to have been chained inside another
        RuntimeException expected = assertThrows(RuntimeException.class, () -> sample.noneDeclared());
        assertThat(expected).hasCauseThat().isInstanceOf(SomeCheckedException.class);
      }
    
      @GwtIncompatible // throwIfInstanceOf
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

        this.spliteratorSuppliers = checkNotNull(spliteratorSuppliers);
      }
    
      @SafeVarargs
      @CanIgnoreReturnValue
      public final Ordered expect(Object... elements) {
        return expect(Arrays.asList(elements));
      }
    
      @CanIgnoreReturnValue
      public final Ordered expect(Iterable<?> elements) {
        List<List<E>> resultsForAllStrategies = new ArrayList<>();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 18:19:31 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/ByteStreamsTest.java

        out.write(bytes, 4, 2);
        byte[] expected = {bytes[4], bytes[5]};
        assertThat(out.toByteArray()).isEqualTo(expected);
      }
    
      public void testNewDataOutput_writeBoolean() {
        ByteArrayDataOutput out = ByteStreams.newDataOutput();
        out.writeBoolean(true);
        out.writeBoolean(false);
        byte[] expected = {(byte) 1, (byte) 0};
        assertThat(out.toByteArray()).isEqualTo(expected);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.9K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/collection/ArrayMapTest.java

        }
    
        /**
         * Test method for {@link org.seasar.util.collection.ArrayIterator#remove()}
         * .
         */
        @Test
        public void testArrayIteratorRemoveException() {
            exception.expect(ClIllegalStateException.class);
            exception.expectMessage(is("last == -1"));
            ArrayMap<String, String> m = new ArrayMap<String, String>();
            Iterator<Map.Entry<String, String>> i = m.entrySet().iterator();
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

      private static final long SMALL_TIMEOUT_MILLIS = 10;
    
      /** How long to wait when determining that a thread is blocked if we expect it to be blocked. */
      private static final long EXPECTED_HANG_DELAY_MILLIS = 75;
    
      /**
       * How long to wait when determining that a thread is blocked if we DON'T expect it to be blocked.
       */
      private static final long UNEXPECTED_HANG_DELAY_MILLIS = 10000;
    
      /**
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 14:48:57 GMT 2023
    - 27.4K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/ThreadOutputMuxer.java

                running = false;
            }
    
            /*
            Wait until we are sure the print-stream thread is running.
             */
    
            public void waitUntilRunning(boolean expect) {
                while (!running == expect) {
                    try {
                        Thread.sleep(10);
                    } catch (InterruptedException e) {
                        throw new RuntimeException(e);
                    }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 12.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/MultimapBuilder.java

       */
    
      private MultimapBuilder() {}
    
      private static final int DEFAULT_EXPECTED_KEYS = 8;
    
      /** Uses a hash table to map keys to value collections. */
      public static MultimapBuilderWithKeys<@Nullable Object> hashKeys() {
        return hashKeys(DEFAULT_EXPECTED_KEYS);
      }
    
      /**
       * Uses a hash table to map keys to value collections, initialized to expect the specified number
       * of keys.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 17.5K bytes
    - Viewed (0)
Back to top