- Sort Score
- Num 10 results
- Language All
Results 401 - 410 of 2,793 for Bratch (0.33 seconds)
-
src/test/java/org/codelibs/fess/crawler/rule/CrawlerRuleMimeTypePatternTest.java
// Verify escaped pattern matches assertTrue("Escaped pattern should match: " + mimeType, Pattern.compile(escapedPattern).matcher(mimeType).matches()); // Verify unescaped pattern does NOT match assertFalse("Unescaped pattern should NOT match: " + mimeType, Pattern.compile(mimeType).matcher(mimeType).matches()); } } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Feb 04 14:24:39 GMT 2026 - 8.7K bytes - Click Count (0) -
src/main/java/org/codelibs/core/sql/StatementUtil.java
assertArgumentNotNull("statement", statement); assertArgumentNotEmpty("sql", sql); try { return statement.execute(sql); } catch (final SQLException ex) { throw new SQLRuntimeException(ex); } } /** * Sets the fetch size. * * @param statement
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exec/CrawlerTest.java
options.sessionId = "test-session"; try { int result = errorCrawler.doCrawl(options); // Should catch the exception and return EXIT_FAIL assertEquals(Constants.EXIT_FAIL, result); } catch (RuntimeException e) { // Expected behavior - test exception propagates assertEquals("Test exception", e.getMessage()); } }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 30.8K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/SimpleTimeLimiter.java
? future.get(timeoutDuration, timeoutUnit) : getUninterruptibly(future, timeoutDuration, timeoutUnit); } catch (InterruptedException e) { future.cancel(true); throw e; } catch (ExecutionException e) { throw throwCause(e, true /* combineStackTraces */); } catch (TimeoutException e) { future.cancel(true); throw new UncheckedTimeoutException(e); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 08 18:35:13 GMT 2025 - 9.6K bytes - Click Count (0) -
tests/test_invalid_sequence_param.py
match="Query parameter 'q' must be one of the supported types", ): app = FastAPI() class Item(BaseModel): title: str @app.get("/items/") def read_items(q: dict[str, Item] = Query(default=None)): pass # pragma: no cover def test_invalid_simple_dict(): with pytest.raises( AssertionError,
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 1.5K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java
collection.add(sampleElement); fail("add succeeded on unmodifiable collection"); } catch (UnsupportedOperationException expected) { } assertCollectionsAreEquivalent(copy, collection); try { collection.addAll(siblingCollection); fail("addAll succeeded on unmodifiable collection"); } catch (UnsupportedOperationException expected) { }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Aug 10 19:54:19 GMT 2025 - 14.8K bytes - Click Count (0) -
build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/test/rest/YamlRestCompatTestPluginFuncTest.groovy
warnings: - "warning to remove" - match: { _source.values: ["foo"] } - match: { _type: "_foo" } - match: { _source.blah: 1234 } - match: { _source.junk: true } - match: { match_.some.key_to_replace: true } - is_true: "value_to_replace" - is_false: "value_to_replace"Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Thu Sep 30 16:30:48 GMT 2021 - 16.4K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java
} catch (UnsupportedOperationException expected) { } } private void assertSetCountDecreasingFailure(E element, int count) { try { setCountNoCheckReturnValue(element, count); fail("a call to multiset.setCount() to decrease an element's count should throw"); } catch (UnsupportedOperationException expected) { } }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 13K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/KeyMatchHelperTest.java
try { keyMatchHelper.buildQuery(keywordList, functionBuilders); } catch (Exception e) { // Expected due to missing dependencies in test environment assertTrue(true); return; } assertEquals(0, functionBuilders.size()); } catch (Exception e) { // Expected due to missing dependencies in test environmentCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 10.4K bytes - Click Count (0) -
.teamcity/src/test/kotlin/PerformanceTestBuildTypeTest.kt
import java.io.File class PerformanceTestBuildTypeTest { init { DslContext.initForTest() } private val buildModel = CIBuildModel( projectId = "Gradle_Check", branch = VersionedSettingsBranch("master"), buildScanTags = listOf("Check"), subprojects = JsonBasedGradleSubprojectProvider(File("../.teamcity/subprojects.json")), ) @TestCreated: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Mar 13 05:03:56 GMT 2026 - 8.5K bytes - Click Count (0)