- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 133 for 12341 (0.03 seconds)
-
android/guava-tests/test/com/google/common/collect/MoreCollectorsTest.java
assertThrows( IllegalArgumentException.class, () -> Stream.of(1, 2, 3, 4, 5, 6).collect(toOptional())); assertThat(expected).hasMessageThat().contains("1, 2, 3, 4, 5, ..."); } public void testOnlyElement() { assertThrows(NoSuchElementException.class, () -> Stream.empty().collect(onlyElement())); } public void testOnlyElementSingleton() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu May 15 21:47:56 GMT 2025 - 3.2K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/HostnamesTest.kt
assertThat( inet4AddressToAscii( byteArrayOf(0, 0, 0, 0), ), ).isEqualTo("0.0.0.0") assertThat( inet4AddressToAscii( byteArrayOf(1, 2, 3, 4), ), ).isEqualTo("1.2.3.4") assertThat( inet4AddressToAscii( byteArrayOf(127, 0, 0, 1), ), ).isEqualTo("127.0.0.1") assertThat( inet4AddressToAscii(
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 5.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ArrayListMultimapTest.java
ListMultimap<String, Integer> multimap = create(); multimap.putAll("foo", asList(1, 2, 3, 4, 5)); List<Integer> list = multimap.get("foo"); assertThat(multimap.get("foo")).containsExactly(1, 2, 3, 4, 5).inOrder(); List<Integer> sublist = list.subList(0, 5); assertThat(sublist).containsExactly(1, 2, 3, 4, 5).inOrder(); sublist.clear(); assertTrue(sublist.isEmpty()); multimap.put("foo", 6);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6.6K bytes - Click Count (0) -
src/test/java/jcifs/pac/PacSidAttributesTest.java
import org.junit.jupiter.api.Test; import jcifs.smb.SID; class PacSidAttributesTest { private SID sidMock; private PacSidAttributes pacSidAttributes; private final int attributes = 12345; @BeforeEach void setUp() { // Mock the SID object sidMock = mock(SID.class); // Create a new PacSidAttributes instance before each testCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 1.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/math/LinearTransformationTest.java
assertThrows( IllegalArgumentException.class, () -> LinearTransformation.mapping(1.2, 3.4).and(Double.NEGATIVE_INFINITY, 7.8)); } public void testMappingAnd_infiniteY2() { assertThrows( IllegalArgumentException.class, () -> LinearTransformation.mapping(1.2, 3.4).and(5.6, Double.POSITIVE_INFINITY)); } public void testMapping_nanX1() { assertThrows(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 7.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/math/LinearTransformationTest.java
assertThrows( IllegalArgumentException.class, () -> LinearTransformation.mapping(1.2, 3.4).and(Double.NEGATIVE_INFINITY, 7.8)); } public void testMappingAnd_infiniteY2() { assertThrows( IllegalArgumentException.class, () -> LinearTransformation.mapping(1.2, 3.4).and(5.6, Double.POSITIVE_INFINITY)); } public void testMapping_nanX1() { assertThrows(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 7.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java
Kerb5Authenticator auth = new Kerb5Authenticator((Subject) null); // Build a token with an arbitrary non-kerberos mechanism OID ASN1ObjectIdentifier unsupported = new ASN1ObjectIdentifier("1.2.3.4.5"); byte[] init = spnegoInitWithMechs(unsupported); // Host is a FQDN to pass the short-name check SmbUnsupportedOperationException ex =
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.9K bytes - Click Count (0) -
src/test/java/org/codelibs/core/exception/SQLRuntimeExceptionTest.java
final SQLRuntimeException sqlRuntimeException = new SQLRuntimeException(sqlException); // ## Act ## final String message = sqlRuntimeException.getMessage(); // ## Assert ## System.out.println(message); assertContains(message, "ErrorCode=1234"); assertContains(message, "SQLState=barState");Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 3.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSetInformationResponseTest.java
private SmbComSetInformationResponse response; @BeforeEach void setUp() { // Setup mock configuration to avoid NPE when(mockConfig.getPid()).thenReturn(12345); response = new SmbComSetInformationResponse(mockConfig); } @Test @DisplayName("Constructor accepts valid config") void constructorValid() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 4.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/hash/AbstractByteHasherTest.java
hasher.assertBytes(new byte[] {1, 2}); } public void testInt() { TestHasher hasher = new TestHasher(); hasher.putInt(0x04030201); hasher.assertBytes(new byte[] {1, 2, 3, 4}); } public void testLong() { TestHasher hasher = new TestHasher(); hasher.putLong(0x0807060504030201L); hasher.assertBytes(new byte[] {1, 2, 3, 4, 5, 6, 7, 8}); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 21:52:12 GMT 2025 - 3.9K bytes - Click Count (0)