- Sort Score
- Num 10 results
- Language All
Results 251 - 260 of 1,026 for FAIL (0.04 seconds)
-
compat/maven-builder-support/src/test/java/org/apache/maven/building/FileSourceTest.java
@Test void testFileSource() { NullPointerException e = assertThrows( NullPointerException.class, () -> new FileSource((File) null), "Should fail, since you must specify a file"); assertEquals("file cannot be null", e.getMessage()); } @Test void testGetInputStream() throws Exception {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.2K bytes - Click Count (0) -
android/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) -
guava-gwt/test/com/google/common/collect/testing/google/Google.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 Jul 19 16:02:36 GMT 2024 - 1.7K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java
return new IteratorWithJdkBug6529795<>(iterator); } }.test(); } catch (AssertionError e) { return; } fail("Should have caught jdk6 bug in target iterator"); } private static final int STEPS = 3; static class TesterThatCountsCalls extends IteratorTester<Integer> { TesterThatCountsCalls() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 06 18:32:41 GMT 2025 - 10.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/net/UrlEscaperTesting.java
import static com.google.common.escape.testing.EscaperAsserts.assertUnicodeEscaping; import static com.google.common.truth.Truth.assertThat; import static junit.framework.Assert.fail; import com.google.common.annotations.GwtCompatible; import com.google.common.escape.UnicodeEscaper; import org.jspecify.annotations.NullUnmarked; /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 3.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/query/TermRangeQueryCommandTest.java
QueryContext context = new QueryContext("test", false); Query invalidQuery = new TermQuery(new Term("field", "value")); queryCommand.execute(context, invalidQuery, 1.0f); fail(); } catch (InvalidQueryException e) { // expected 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 - 2.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/math/DoubleUtilsTest.java
} public void testOneBits() { assertEquals(DoubleUtils.ONE_BITS, Double.doubleToRawLongBits(1.0)); } @FormatMethod private static void failFormat(String template, Object... args) { fail(String.format(template, args)); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 05:21:26 GMT 2026 - 2.5K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeResultTest.java
Set.of(pom1, pom2), // processed Set.of(pom1), // modified Set.of(pom2) // errors ); assertFalse(result.success(), "Result should fail when there are errors"); assertEquals(2, result.processedCount(), "Should have 2 processed POMs"); assertEquals(1, result.modifiedCount(), "Should have 1 modified POM");
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Jun 07 06:22:47 GMT 2025 - 9.4K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/ClassSanityTester.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 32.5K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java
* * <p>Note: This means that a test like the following will fail if {@code collection} is a {@code * Set}: * * <pre> * collection.add(existingElement); * expectAdded(existingElement);</pre> * * <p>In this case, {@code collection} was not modified as a result of the {@code add()} call, and * the test will fail because the number of occurrences of {@code existingElement} is unchanged. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 8.9K bytes - Click Count (0)