- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 190 for IsFull (0.03 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/ResponseCommonTest.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3 import assertk.assertThat import assertk.assertions.isEqualTo import assertk.assertions.isNull import kotlin.test.Test import kotlin.test.assertFailsWith import okhttp3.ResponseBody.Companion.asResponseBody import okio.Buffer import okio.ByteString.Companion.EMPTY import okio.Source import okio.Timeout
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/FunctionsTest.java
@GwtCompatible @NullMarked public class FunctionsTest extends TestCase { public void testIdentity_same() { Function<@Nullable String, @Nullable String> identity = Functions.identity(); assertThat(identity.apply(null)).isNull(); assertSame("foo", identity.apply("foo")); } public void testIdentity_notSame() { Function<Long, Long> identity = Functions.identity();Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 16K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbResourceLocatorInternalTest.java
import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; import static org.mockito.ArgumentMatchers.any; import static org.mockito.ArgumentMatchers.isNull; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.verifyNoMoreInteractions; import static org.mockito.Mockito.when; import java.lang.reflect.Method;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt
assertThat(request.header("User-Agent")).isNull() assertThat(request.header("Host")).isNull() assertThat(request.header("Accept-Encoding")).isNull() // No extra headers in the application's response. val response = client.newCall(request).execute() assertThat(request.header("Content-Encoding")).isNull() assertThat(response.body.string()).isEqualTo("abcabcabc") }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 16:11:23 UTC 2025 - 28.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeHandleImplTest.java
.thenReturn(resp); CommonServerMessageBlockResponse out = handle.send(req, RequestParam.NO_RETRY); assertSame(resp, out); verify(treeConnection, times(1)).send(eq(resourceLoc), eq((CommonServerMessageBlockRequest) req), isNull(), any(RequestParam[].class)); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt
import assertk.all import assertk.assertThat import assertk.assertions.contains import assertk.assertions.containsExactly import assertk.assertions.isEqualTo import assertk.assertions.isNotNull import assertk.assertions.isNull import assertk.assertions.isTrue import assertk.assertions.prop import java.io.IOException import java.net.HttpURLConnection import java.net.ProtocolException import java.util.concurrent.BlockingQueue
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 19:13:52 UTC 2025 - 25.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
when(mockTransport.unwrap(SmbTransportInternal.class)).thenReturn(internal); when(internal.getSmbSession(eq(ctx), eq("server.test"), isNull())).thenReturn(session); when(session.unwrap(SmbSessionInternal.class)).thenReturn(session); when(session.getSmbTree(eq("IPC$"), isNull())).thenReturn(tree); when(tree.unwrap(SmbTreeInternal.class)).thenReturn(tree);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 19.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MoreCollectorsTest.java
assertThat(Stream.of(1).collect(onlyElement())).isEqualTo(1); } public void testOnlyElementNull() { assertThat(Stream.<@Nullable Object>of((Object) null).collect(onlyElement())).isNull(); } public void testOnlyElementMultiple() { IllegalArgumentException expected = assertThrows(IllegalArgumentException.class, () -> Stream.of(1, 2).collect(onlyElement()));
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu May 15 21:47:56 UTC 2025 - 3.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/DoublesTest.java
} public void testStringConverter_nullConversions() { assertThat(Doubles.stringConverter().convert(null)).isNull(); assertThat(Doubles.stringConverter().reverse().convert(null)).isNull(); } @GwtIncompatible // Double.toString returns different value in GWT. public void testStringConverter_reverse() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 30.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/FilesTest.java
File file = root(); assertThat(file.getParentFile()).isNull(); assertThat(file.getCanonicalFile().getParentFile()).isNull(); Files.createParentDirs(file); } public void testCreateParentDirs_relativePath() throws IOException { File file = file("nonexistent.file"); assertThat(file.getParentFile()).isNull(); assertThat(file.getCanonicalFile().getParentFile()).isNotNull();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:44:53 UTC 2025 - 22.1K bytes - Viewed (0)