- Sort Score
- Result 10 results
- Languages All
Results 1561 - 1570 of 1,808 for Try (0.03 sec)
-
src/test/java/org/codelibs/fess/util/DocumentUtilTest.java
assertEquals("hello.world", DocumentUtil.encodeUrl("hello.world")); } public void test_encodeUrl_empty_and_null() { assertEquals("", DocumentUtil.encodeUrl("")); try { DocumentUtil.encodeUrl(null); fail("Should throw NullPointerException"); } catch (NullPointerException e) { // Expected } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 11.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/query/BooleanQueryCommandTest.java
public void test_execute_withNonBooleanQuery() { TermQuery termQuery = new TermQuery(new Term("field", "value")); QueryContext context = new QueryContext("test", false); try { booleanQueryCommand.execute(context, termQuery, 1.0f); fail("Should throw InvalidQueryException"); } catch (InvalidQueryException e) { assertTrue(e.getMessage().contains("Unknown q:"));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 14.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/HashCodeTest.java
hash.writeBytesTo(bb, 0, bb.length); assertTrue(Arrays.equals(expectedHashCode.bytes, bb)); assertEquals(expectedHashCode.asInt, hash.asInt()); if (expectedHashCode.asLong == null) { try { hash.asLong(); fail(); } catch (IllegalStateException expected) { } } else { assertEquals(expectedHashCode.asLong.longValue(), hash.asLong()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 13.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java
assertThrows( NumberFormatException.class, () -> UnsignedLongs.parseUnsignedLong("0", Character.MAX_RADIX + 1)); // The radix is used as an array index, so try a negative value. assertThrows(NumberFormatException.class, () -> UnsignedLongs.parseUnsignedLong("0", -1)); } public void testToString() { String[] tests = { "0", "ffffffffffffffff",Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 12.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java
throws ConflictingRequirementsException { Class<? extends Annotation> annotationClass = testerAnnotation.annotationType(); Feature<?>[] presentFeatures; Feature<?>[] absentFeatures; try { presentFeatures = (Feature<?>[]) annotationClass.getMethod("value").invoke(testerAnnotation); absentFeatures = (Feature<?>[]) annotationClass.getMethod("absent").invoke(testerAnnotation); } catch (Exception e) {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 12.4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/XpathTransformerTest.java
accessResultDataImpl.setData(value.getBytes(Constants.UTF_8)); accessResultDataImpl.setEncoding(Constants.UTF_8); accessResultDataImpl.setTransformerName("transformer"); try { final Object obj = xpathTransformer.getData(accessResultDataImpl); fail(); } catch (final CrawlerSystemException e) {} }
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java
// Since the real method will propagate the exception from handle.close(), // we need to catch it to verify that pipe.close() was still called try { handle.close(); fail("Expected IOException to be thrown"); } catch (IOException e) { assertEquals("Handle close failed", e.getMessage()); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0) -
compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java
} @Test void testLocaleIndependent() { Locale orig = Locale.getDefault(); Locale[] locales = {Locale.ENGLISH, new Locale("tr"), Locale.getDefault()}; try { for (Locale locale : locales) { Locale.setDefault(locale); checkVersionsEqual("1-abcdefghijklmnopqrstuvwxyz", "1-ABCDEFGHIJKLMNOPQRSTUVWXYZ"); } } finally {Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 17.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java
* @param q The query string. * @param fields The fields to search in. * @return The QueryBuilder instance. */ protected QueryBuilder buildQuery(final String q, final List<String> fields) { try { final QueryBuilder queryBuilder; if (Strings.isNullOrEmpty(q)) { queryBuilder = QueryBuilders.matchAllQuery(); } else {Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 17.8K bytes - Viewed (0) -
README.md
* The interactive API documentation will be automatically updated, including the new body:  * Click on the button "Try it out", it allows you to fill the parameters and directly interact with the API: 
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 15:19:49 UTC 2025 - 24.3K bytes - Viewed (0)