- Sort Score
- Result 10 results
- Languages All
Results 611 - 620 of 2,436 for exception (0.1 sec)
-
guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapRemoveTester.java
public void testRemove_nullKeyQueriesUnsupported() { try { assertFalse(getMap().remove(null, v3())); } catch (NullPointerException tolerated) { // since the operation would be a no-op, the exception is not required } expectUnchanged(); } @MapFeature.Require(value = SUPPORTS_REMOVE, absent = ALLOWS_NULL_VALUE_QUERIES) public void testRemove_nullValueQueriesUnsupported() { try {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 20:00:30 UTC 2024 - 3.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/fileconfig/ApiAdminFileconfigAction.java
body.crudMode = CrudMode.CREATE; final FileConfig fileConfig = getFileConfig(body).map(entity -> { try { fileConfigService.store(entity); } catch (final Exception e) { logger.warn("Failed to process a request.", e); throwValidationErrorApi(messages -> messages.addErrorsCrudFailedToCreateCrudTable(GLOBAL, buildThrowableMessage(e))); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 7K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashingTest.java
tester.testAllPublicStaticMethods(Hashing.class); } public void testSeedlessHashFunctionEquals() throws Exception { assertSeedlessHashFunctionEquals(Hashing.class); } public void testSeededHashFunctionEquals() throws Exception { assertSeededHashFunctionEquals(Hashing.class); } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 09 17:40:09 UTC 2024 - 26.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/TestLogHandler.java
* * <pre> * TestLogHandler handler; * * protected void setUp() throws Exception { * super.setUp(); * handler = new TestLogHandler(); * SomeClass.logger.addHandler(handler); * addTearDown(new TearDown() { * public void tearDown() throws Exception { * SomeClass.logger.removeHandler(handler); * } * }); * } * * public void test() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jun 21 20:53:25 UTC 2024 - 2.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/DoubleUtilsTest.java
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) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/DefaultVersionResolverTest.java
class DefaultVersionResolverTest extends AbstractRepositoryTestCase { @Inject private DefaultVersionResolver versionResolver; @Test void testResolveSeparateInstalledClassifiedNonUniqueVersionedArtifacts() throws Exception { VersionRequest requestB = new VersionRequest(); requestB.addRepository(newTestRepository()); Artifact artifactB =
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/PackageSanityTests.java
setDefault(EndpointPair.class, EndpointPair.ordered("A", "B")); } @Override public void testNulls() throws Exception { try { super.testNulls(); } catch (AssertionError e) { assertWithMessage("Method did not throw null pointer OR element not in graph exception.") .that(e) .hasCauseThat() .hasMessageThat() .contains(ERROR_ELEMENT_NOT_IN_GRAPH); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 3.2K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/primitives/UnsignedBytesBenchmark.java
// @Param({"4", "8", "64", "1024", "1048576", "1048577", "6710884", "6710883"}) @Param({"4", "8", "64", "1024"}) private int length; @BeforeExperiment void setUp() throws Exception { Random r = new Random(); ba1 = new byte[length]; r.nextBytes(ba1); ba2 = Arrays.copyOf(ba1, ba1.length); // Differ at the last element ba3 = Arrays.copyOf(ba1, ba1.length);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 2.8K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/resident/DefaultResidentMavenInvokerTest.java
} @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/suggest/settings/ArraySettingsTest.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 - 3.6K bytes - Viewed (0)