- Sort Score
- Result 10 results
- Languages All
Results 221 - 230 of 876 for Fail (0.04 sec)
-
src/test/java/jcifs/smb/SmbSessionImplTest.java
void testReauthenticatePropagates() throws Exception { SmbSessionImpl session = newSession(); // Cause the inner reauthenticate to fail at first transport call when(transport.getNegotiateResponse()).thenThrow(new SmbException("fail")); assertThrows(CIFSException.class, session::reauthenticate); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ListsTest.java
try { list.add("5"); fail("transformed list is addable"); } catch (UnsupportedOperationException expected) { } list.remove(0); assertEquals(asList("2", "3", "4"), list); list.remove("3"); assertEquals(asList("2", "4"), list); try { list.set(0, "5"); fail("transformed list is setable");
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 35.4K bytes - Viewed (0) -
okhttp-coroutines/src/test/kotlin/okhttp3/coroutines/ExecuteAsyncTest.kt
import okhttp3.ResponseBody import okio.Buffer import okio.ForwardingSource import okio.buffer import org.junit.jupiter.api.Test import org.junit.jupiter.api.extension.RegisterExtension import org.junit.jupiter.api.fail class ExecuteAsyncTest { @RegisterExtension val clientTestRule = OkHttpClientTestRule() private var client = clientTestRule.newClientBuilder().build() @StartStop
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 5.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
import static com.google.common.base.Preconditions.checkNotNull; import static com.google.common.base.Throwables.throwIfUnchecked; import static junit.framework.Assert.assertEquals; import static junit.framework.Assert.fail; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import com.google.common.base.Function; import com.google.common.base.Throwables;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 9.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/eventbus/outside/OutsideEventBusTest.java
/* * If you do this test from common.eventbus.EventBusTest, it doesn't actually test the behavior. * That is, even if exactly the same method works from inside the common.eventbus package tests, * it can fail here. */ public void testAnonymous() { AtomicReference<String> holder = new AtomicReference<>(); AtomicInteger deliveries = new AtomicInteger(); EventBus bus = new EventBus(); bus.register(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 1.8K bytes - Viewed (0) -
guava-gwt/src/com/google/common/escape/Escape.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.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 19 16:02:36 UTC 2024 - 1.5K bytes - Viewed (0) -
guava-gwt/test/com/google/common/escape/testing/Testing.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.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 19 16:02:36 UTC 2024 - 1.5K bytes - Viewed (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()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 20.9K bytes - Viewed (0) -
src/bufio/net_test.go
import ( "bufio" "io" "net" "path/filepath" "strings" "sync" "testing" ) // TestCopyUnixpacket tests that we can use bufio when copying // across a unixpacket socket. This used to fail due to an unnecessary // empty Write call that was interpreted as an EOF. func TestCopyUnixpacket(t *testing.T) { tmpDir := t.TempDir() socket := filepath.Join(tmpDir, "unixsock") // Start a unixpacket server.
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Feb 07 19:37:07 UTC 2025 - 1.9K bytes - Viewed (0) -
apache-maven/src/assembly/maven/conf/maven-system.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-system.properties", \ ?"${maven.project.conf}/maven-system.properties" # # Settings # # Define the default three levels for settings.
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Jul 03 14:18:26 UTC 2025 - 2.6K bytes - Viewed (0)