- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 2,098 for Try (0.8 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java
public void testContainsKey() { Map<K, V> map; K unmappedKey; try { map = makePopulatedMap(); unmappedKey = getKeyNotInPopulatedMap(); } catch (UnsupportedOperationException e) { return; } assertFalse(map.containsKey(unmappedKey)); try { assertFalse(map.containsKey(new IncompatibleKeyType())); } catch (ClassCastException tolerated) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 43.9K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/io/ContentCacheTest.java
tempFile = File.createTempFile("test", ".tmp", Curl.tmpDir); // Write test content to file try (FileOutputStream fos = new FileOutputStream(tempFile)) { fos.write(testContent.getBytes("UTF-8")); } ContentCache cache = new ContentCache(tempFile); try (InputStream stream = cache.getInputStream()) { assertNotNull(stream);
Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Nov 20 13:34:13 UTC 2025 - 11.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java
public void testContainsKey() { Map<K, V> map; K unmappedKey; try { map = makePopulatedMap(); unmappedKey = getKeyNotInPopulatedMap(); } catch (UnsupportedOperationException e) { return; } assertFalse(map.containsKey(unmappedKey)); try { assertFalse(map.containsKey(new IncompatibleKeyType())); } catch (ClassCastException tolerated) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 43.9K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/HelpersTest.java
assertContentsInOrder(list, "a", "b", "c"); try { assertContentsInOrder(list, "a", "b"); throw new Error(); } catch (AssertionFailedError expected) { } try { assertContentsInOrder(list, "a", "b", "c", "d"); throw new Error(); } catch (AssertionFailedError expected) { } try { assertContentsInOrder(list, "a", "c", "b");
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Apr 12 15:07:59 UTC 2025 - 4.9K bytes - Viewed (0) -
guava-testlib/test/com/google/common/collect/testing/HelpersTest.java
assertContentsInOrder(list, "a", "b", "c"); try { assertContentsInOrder(list, "a", "b"); throw new Error(); } catch (AssertionFailedError expected) { } try { assertContentsInOrder(list, "a", "b", "c", "d"); throw new Error(); } catch (AssertionFailedError expected) { } try { assertContentsInOrder(list, "a", "c", "b");
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Apr 12 15:07:59 UTC 2025 - 4.9K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/internal/compat/interactivity/LegacyPlexusInteractivity.java
} @Override public String readLine() throws IOException { try { return prompter.prompt(null); } catch (org.apache.maven.api.services.PrompterException e) { throw new IOException("Unable to prompt", e); } } @Override public String readPassword() throws IOException { try { return prompter.promptForPassword(null);Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Apr 03 13:48:41 UTC 2025 - 5.2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb1/SmbClientTest.java
assertNull(responseData.getResponseBody()); } try (final ResponseData responseData = smbClient.doHead(baseUrl)) { assertNull(responseData); } try (final ResponseData responseData = smbClient.doHead(baseUrl + "dir1/")) { assertNull(responseData); } try (final ResponseData responseData = smbClient.doHead(baseUrl + "dir1/dir2/")) {
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Tue Sep 23 06:42:59 UTC 2025 - 30K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb/SmbClientTest.java
assertNull(responseData.getResponseBody()); } try (final ResponseData responseData = smbClient.doHead(baseUrl)) { assertNull(responseData); } try (final ResponseData responseData = smbClient.doHead(baseUrl + "dir1/")) { assertNull(responseData); } try (final ResponseData responseData = smbClient.doHead(baseUrl + "dir1/dir2/")) {
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Tue Sep 23 06:42:59 UTC 2025 - 31.9K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/s3/S3ClientTest.java
assertNull(responseData.getMetaDataMap().get("label")); } try (final ResponseData responseData = s3Client.doHead("s3://fess/")) { assertNull(responseData); } try (final ResponseData responseData = s3Client.doHead("s3://fess/dir1/")) { assertNull(responseData); } try (final ResponseData responseData = s3Client.doHead("s3://fess/dir1/dir2/")) {
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 07:57:44 UTC 2025 - 20.5K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/gcs/GcsClientTest.java
assertNull(responseData.getMetaDataMap().get("label")); } try (final ResponseData responseData = gcsClient.doHead("gcs://fess/")) { assertNull(responseData); } try (final ResponseData responseData = gcsClient.doHead("gcs://fess/dir1/")) { assertNull(responseData); } try (final ResponseData responseData = gcsClient.doHead("gcs://fess/dir1/dir2/")) {
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 08:38:29 UTC 2025 - 19.6K bytes - Viewed (0)