- Sort Score
- Num 10 results
- Language All
Results 371 - 380 of 1,653 for fail (0.02 seconds)
-
guava-tests/test/com/google/common/util/concurrent/ClosingFutureFinishToValueAndCloserTest.java
assertThatFutureFailsWithException(closingFuture.statusFuture()); ValueAndCloser<?> valueAndCloser = finishToValueAndCloser(closingFuture); try { valueAndCloser.get(); fail(); } catch (ExecutionException expected) { assertThat(expected).hasCauseThat().isSameInstanceAs(exception); } valueAndCloser.closeAsync(); } @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 5.2K bytes - Click Count (0) -
.github/workflows/codeql-analysis.yml
contents: read # for actions/checkout to fetch code security-events: write # for github/codeql-action/analyze to upload SARIF results runs-on: ubuntu-latest strategy: fail-fast: false matrix: # Override automatic language detection by changing the below list # Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python'] language: ['java', 'javascript']Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Dec 11 22:12:03 GMT 2025 - 4K bytes - Click Count (0) -
guava-gwt/src/com/google/common/net/Net.gwt.xml
writing it has test supersource but no prod supersource. GWT happens to use the prod .gwt.xml, so it looks for no supersource for tests, either. This causes it to fail to find AtomicLongMapTest. Our workaround is to tell GWT that util.concurrent and all other packages have prod supersource, even if they have none. GWT is happy to ignore us when we specify a nonexistent path.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Feb 21 16:12:41 GMT 2025 - 1.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ServiceTest.java
assertLessThan(STOPPING, FAILED); assertLessThan(STOPPING, TERMINATED); } private static <T extends Comparable<? super T>> void assertLessThan(T a, T b) { if (a.compareTo(b) >= 0) { fail(String.format(Locale.ROOT, "Expected %s to be less than %s", a, b)); } }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 2.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/query/TermQueryCommandTest.java
assertQueryBuilder("{\"timestamp\":{\"order\":\"desc\"}}", "sort:timestamp.desc"); try { assertQueryBuilder("", "sort:xxx"); fail(); } catch (InvalidQueryException e) { // nothing } } @Test public void test_convertTermQuery_dismax() throws Exception { setQueryType("dismax");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 20.4K bytes - Click Count (0) -
.github/workflows/build.yml
run: ./gradlew check -PgraalBuild=true -x jvmTest -x test -x allTests -x java9Test jvm: permissions: checks: write # for mikepenz/action-junit-report runs-on: ubuntu-latest strategy: fail-fast: false matrix: java-version: - 8 - 11 - 17 - 21 steps: - name: Checkout uses: actions/checkout@v6Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 16:19:02 GMT 2026 - 11.6K bytes - Click Count (0) -
src/test/java/org/codelibs/core/io/ResourceUtilTest.java
assertNotNull(ResourceUtil.getResource("java/lang/String.class", "class")); assertNotNull(ResourceUtil.getResource("org/codelibs")); try { ResourceUtil.getResource("hoge", "xml"); fail("2"); } catch (final ResourceNotFoundRuntimeException e) { System.out.println(e); assertEquals("3", "hoge.xml", e.getPath()); } System.out.println(ResourceUtil.getResource("."));
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 4.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/script/groovy/GroovyEngineTest.java
params.put("score", 85); assertEquals("pass", groovyEngine.evaluate("return score >= 60 ? 'pass' : 'fail'", params)); params.put("score", 45); assertEquals("fail", groovyEngine.evaluate("return score >= 60 ? 'pass' : 'fail'", params)); } /** * Test that loops work */ @Test public void test_evaluate_loops() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Mar 15 06:03:38 GMT 2026 - 29.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/query/PhraseQueryCommandTest.java
Query termQuery = new TermQuery(new Term("field", "value")); QueryContext context = new QueryContext("test", false); try { queryCommand.execute(context, termQuery, 1.0f); fail("Should throw InvalidQueryException for non-phrase query"); } catch (InvalidQueryException e) { assertTrue(e.getMessage().contains("Unknown q:")); } } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 9.3K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Verify.java
* except that they are always enabled. These methods should be used instead of Java assertions * whenever there is a chance the check may fail "in real life". Example: * * {@snippet : * Bill bill = remoteService.getLastUnpaidBill(); * * // In case bug 12345 happens again we'd rather just die * Verify.verify(bill.status() == Status.UNPAID,
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Dec 29 17:36:00 GMT 2025 - 18.5K bytes - Click Count (0)