- Sort Score
- Num 10 results
- Language All
Results 141 - 150 of 993 for fail (0.02 seconds)
-
impl/maven-core/src/test/java/org/apache/maven/project/RepositoryLeakageTest.java
import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue; import static org.junit.jupiter.api.Assertions.fail; /** * Test to verify that repositories from one project don't leak to sibling projects. */ @PlexusTest public class RepositoryLeakageTest extends AbstractMavenProjectTestCase { @Test
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Oct 16 06:12:36 GMT 2025 - 9.3K bytes - Click Count (0) -
compat/maven-builder-support/src/test/java/org/apache/maven/building/UrlSourceTest.java
class UrlSourceTest { @Test void testUrlSource() { NullPointerException e = assertThrows( NullPointerException.class, () -> new UrlSource(null), "Should fail, since you must specify a url"); assertEquals("url cannot be null", e.getMessage()); } @Test void testGetInputStream() throws Exception {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/CancelCall.kt
System.out.printf("%.2f Executing call.%n", (System.nanoTime() - startNanos) / 1e9f) try { call.execute().use { response -> System.out.printf( "%.2f Call was expected to fail, but completed: %s%n", (System.nanoTime() - startNanos) / 1e9f, response, ) } } catch (e: IOException) { System.out.printf( "%.2f Call failed as expected: %s%n",Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 2K bytes - Click Count (0) -
guava-gwt/src/com/google/common/cache/Cache.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 Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Jul 19 16:02:36 GMT 2024 - 1.6K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/CommonsCliUpgradeOptions.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Sep 29 14:48:39 GMT 2025 - 7K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinderTest.kt
plan0.tcpConnectThrowable = IOException("boom!") val plan1 = routePlanner.addPlan() plan1.tcpConnectDelayNanos = 270.ms // Connect fail at time = 520 ms. plan1.tcpConnectThrowable = IOException("boom!") val plan2 = routePlanner.addPlan() plan2.tcpConnectDelayNanos = 30.ms // Connect fail at time = 530 ms. plan2.tcpConnectThrowable = IOException("boom!") val plan3 = routePlanner.addPlan()
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 20.9K bytes - Click Count (0) -
.github/workflows/maven.yml
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Dec 16 04:24:24 GMT 2025 - 12.2K bytes - Click Count (0) -
impl/maven-cli/src/test/resources/mavenHome/conf/maven-user.properties
# # Comma-separated list of files to include. # Each item may be enclosed in quotes to gracefully include spaces. Items are trimmed before being loaded. # If the first character of an item is a question mark, the load will silently fail if the file does not exist. ${includes} = ?"${maven.user.conf}/maven-user.properties", \Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Jul 03 14:18:26 GMT 2025 - 1.3K bytes - Click Count (0) -
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 Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.2K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/plugin/PluginManagerTest.java
import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.fail; class PluginManagerTest extends AbstractCoreMavenComponentTestCase { @Inject private DefaultBuildPluginManager pluginManager; protected String getProjectsDirectory() {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sun Mar 30 23:08:36 GMT 2025 - 8.3K bytes - Click Count (0)