- Sort Score
- Result 10 results
- Languages All
Results 2141 - 2150 of 2,652 for throw (0.07 sec)
-
mockwebserver/README.md
[Mockito](https://github.com/mockito/mockito): 1. Script the mocks. 2. Run application code. 3. Verify that the expected requests were made. Here's a complete example: ```java public void test() throws Exception { // Create a MockWebServer. These are lean enough that you can create a new // instance for every unit test. MockWebServer server = new MockWebServer(); // Schedule some responses.
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Dec 17 15:34:10 UTC 2023 - 5K bytes - Viewed (0) -
guava/src/com/google/common/math/PairedStatsAccumulator.java
* * <p>If the dataset contains any non-finite values ({@link Double#POSITIVE_INFINITY}, {@link * Double#NEGATIVE_INFINITY}, or {@link Double#NaN}) then the result is {@link Double#NaN}. * * @throws IllegalStateException if the dataset is empty */ public double populationCovariance() { checkState(count() != 0); return sumOfProductsOfDeltas / count(); } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 12 17:02:53 UTC 2023 - 10.3K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/local/DefaultLocalMavenInvokerTest.java
return new DefaultMavenParser(); } @Test void defaultFs(@TempDir(cleanup = CleanupMode.ON_SUCCESS) Path tempDir) throws Exception { invoke(tempDir, Arrays.asList("clean", "verify")); } @Disabled("Until we move off fully from File") @Test void jimFs() throws Exception { try (FileSystem fs = Jimfs.newFileSystem(Configuration.unix())) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/GsaConfigParserTest.java
private static final Logger logger = LogManager.getLogger(GsaConfigParserTest.class); @Override public void setUp() throws Exception { super.setUp(); ComponentUtil.register(new SystemHelper(), "systemHelper"); } public void test_parse() throws IOException { GsaConfigParser parser = new GsaConfigParser();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 3.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/DoubleUtilsTest.java
@AndroidIncompatible // no FpUtils and no Math.nextDown in old versions public void testNextDown() throws Exception { Method jdkNextDown = getJdkNextDown(); for (double d : FINITE_DOUBLE_CANDIDATES) { assertEquals(jdkNextDown.invoke(null, d), DoubleUtils.nextDown(d)); } } private static Method getJdkNextDown() throws Exception { try { return Math.class.getMethod("nextDown", double.class);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 03 18:10:55 UTC 2024 - 3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/PeekingIterator.java
* * <p>Calls to {@code peek()} should not change the state of the iteration, except that it * <i>may</i> prevent removal of the most recent element via {@link #remove()}. * * @throws NoSuchElementException if the iteration has no more elements according to {@link * #hasNext()} */ @ParametricNullness E peek(); /** * {@inheritDoc} *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jan 24 17:47:51 UTC 2022 - 2.5K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/UnsignedInteger.java
/** * Returns the result of dividing this by {@code val}. * * @throws ArithmeticException if {@code val} is zero * @since 14.0 */ public UnsignedInteger dividedBy(UnsignedInteger val) { return fromIntBits(UnsignedInts.divide(value, checkNotNull(val).value)); } /** * Returns this mod {@code val}. * * @throws ArithmeticException if {@code val} is zero * @since 14.0 */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 23 18:45:50 UTC 2023 - 8.3K bytes - Viewed (0) -
guava/src/com/google/common/primitives/UnsignedInteger.java
/** * Returns the result of dividing this by {@code val}. * * @throws ArithmeticException if {@code val} is zero * @since 14.0 */ public UnsignedInteger dividedBy(UnsignedInteger val) { return fromIntBits(UnsignedInts.divide(value, checkNotNull(val).value)); } /** * Returns this mod {@code val}. * * @throws ArithmeticException if {@code val} is zero * @since 14.0 */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 23 18:45:50 UTC 2023 - 8.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/settings/BadWordSettingsTest.java
runner.ensureYellow(); } @AfterClass public static void afterClass() throws Exception { runner.close(); runner.clean(); } @Before public void before() throws Exception { try { runner.admin().indices().prepareDelete("_all").execute().actionGet(); } catch (IndexNotFoundException ignore) {
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 4.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/ndr/NdrSmall.java
public int value; public NdrSmall(int value) { this.value = value & 0xFF; } public void encode(NdrBuffer dst) throws NdrException { dst.enc_ndr_small(value); } public void decode(NdrBuffer src) throws NdrException { value = src.dec_ndr_small(); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 1.3K bytes - Viewed (0)