- Sort Score
- Num 10 results
- Language All
Results 301 - 310 of 1,063 for Assert (0.09 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
guava-tests/test/com/google/common/io/ByteStreamsTest.java
import static java.nio.charset.StandardCharsets.UTF_16; import static java.nio.charset.StandardCharsets.UTF_16BE; import static java.nio.charset.StandardCharsets.UTF_8; import static org.junit.Assert.assertThrows; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.EOFException; import java.io.File; import java.io.FileOutputStream; import java.io.FilterInputStream;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 22K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java
i += 16; SMBUtil.writeInt4(0, body, i); // CreateContextsOffset i += 4; SMBUtil.writeInt4(0, body, i); // CreateContextsLength i += 4; assert i == body.length; return body; } /** * Build a CREATE response body with a single, unrecognized create context. * The parser should iterate it but produce an empty contexts array. */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbSessionImplTest.java
SmbTreeImpl tree = mock(SmbTreeImpl.class); doReturn(tree).when(session).getSmbTree(eq("LOGON$"), isNull()); // Act session.treeConnectLogon(); // Assert: treeConnect invoked once with null params verify(tree, times(1)).treeConnect(isNull(), isNull()); // Close of try-with-resources should call close on the mock verify(tree, times(1)).close(); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.5K bytes - Click Count (0) -
guava/src/com/google/common/base/Converter.java
// TODO(kevinb): we shouldn't be checking for a null result at runtime. Assert? return a == null ? null : checkNotNull(doForward(a)); } else { return unsafeDoForward(a); } } @Nullable A correctedDoBackward(@Nullable B b) { if (handleNullAutomatically) { // TODO(kevinb): we shouldn't be checking for a null result at runtime. Assert? return b == null ? null : checkNotNull(doBackward(b));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jun 18 21:43:06 GMT 2025 - 22.8K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/info/GlobalBuildInfoPlugin.java
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Aug 17 10:02:58 GMT 2021 - 18.1K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java
if (supportsIteratorRemove) { int initialSize = map.size(); iterator.next(); iterator.remove(); assertEquals(initialSize - 1, map.size()); // (We can't assert that the values collection no longer contains the // removed value, because the underlying map can have multiple mappings // to the same value.) assertInvariants(map);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 43.9K bytes - Click Count (0) -
build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/test/rest/YamlRestCompatTestPluginFuncTest.groovy
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Thu Sep 30 16:30:48 GMT 2021 - 16.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/MoreFilesTest.java
import static java.nio.charset.StandardCharsets.UTF_8; import static java.nio.file.LinkOption.NOFOLLOW_LINKS; import static java.util.concurrent.Executors.newSingleThreadExecutor; import static org.junit.Assert.assertThrows; import com.google.common.collect.ObjectArrays; import com.google.common.jimfs.Configuration; import com.google.common.jimfs.Feature; import com.google.common.jimfs.Jimfs; import java.io.IOException;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 27.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/ByteStreamsTest.java
import static java.nio.charset.StandardCharsets.UTF_16; import static java.nio.charset.StandardCharsets.UTF_16BE; import static java.nio.charset.StandardCharsets.UTF_8; import static org.junit.Assert.assertThrows; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.EOFException; import java.io.File; import java.io.FileOutputStream; import java.io.FilterInputStream;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 22K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/BaseEncodingTest.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 24.7K bytes - Click Count (0)