- Sort Score
- Result 10 results
- Languages All
Results 1301 - 1310 of 4,151 for text (0.12 sec)
-
android/guava-tests/test/com/google/common/collect/IterablesTest.java
// Test data List<String> list = new ArrayList<>(asList("a", "b")); // Test & Verify Iterator<String> i1 = Iterables.consumingIterable(list).iterator(); Iterator<String> i2 = Iterables.consumingIterable(list).iterator(); i1.next(); assertThrows(ConcurrentModificationException.class, () -> i2.next()); }Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 45.2K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvSingleHostTest.java
import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; import org.junit.jupiter.api.Test; import jcifs.Configuration; class AvSingleHostTest { /** * Test constructor AvSingleHost(byte[] raw). * Should correctly parse the raw bytes. */ @Test void testAvSingleHostRawConstructor() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/Helpers.java
Iterator<?> expectedIter = expected.iterator(); Iterator<?> actualIter = actual.iterator(); while (expectedIter.hasNext() && actualIter.hasNext()) { if (!equal(expectedIter.next(), actualIter.next())) { fail( "contents were not equal and in the same order: " + "expected = " + expected + ", actual = " + actual);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 17.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java
* unconditional {@code setCount()} method and calls to the conditional {@code setCount()} method * when the expected present count is correct. * * @author Chris Povirk */ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build") // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 13K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java
} public void testEntrySetMutationThrows() { map.putInstance(String.class, "test"); assertEquals(TypeToken.of(String.class), map.entrySet().iterator().next().getKey()); assertEquals("test", map.entrySet().iterator().next().getValue()); assertThrows( UnsupportedOperationException.class, () -> map.entrySet().iterator().next().setValue(1)); } public void testEntrySetToArrayMutationThrows() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
* stack so that it is returned by the next call to {@link Iterator#next()}. If the element is * not in {@link #nextElements}, this method throws an {@link UnknownElementException}. * * <p>This method is used when testing iterators without a known ordering. We poll the target * iterator's next element and pass it to the reference iterator through this method so it canRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 21.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/validation/CronExpressionTest.java
} // Test validation with valid cron expressions public void test_validCronExpressions() { TestBean bean = new TestBean(); // Test null value (should be valid) bean.setCronExpression(null); Set<ConstraintViolation<TestBean>> violations = validator.validate(bean); assertTrue(violations.isEmpty()); // Test empty string (should be valid)Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequestTest.java
leaseContext = new LeaseV1CreateContextRequest(testKey, testState); } @Test @DisplayName("Should have correct context name") void testContextName() { assertArrayEquals("RqLs".getBytes(), leaseContext.getName()); assertEquals("RqLs", LeaseV1CreateContextRequest.CONTEXT_NAME); } @Test @DisplayName("Should initialize with default values") void testDefaultConstructor() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 5.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapEntriesTester.java
import java.util.Map.Entry; import org.junit.Ignore; /** * Tester for {@code Multimap.entries}. * * @author Louis Wasserman */ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build") // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3")Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 21:10:54 UTC 2025 - 5.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/HashMultisetTest.java
import com.google.common.testing.SerializableTester; import java.io.Serializable; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; import org.jspecify.annotations.NullMarked; /** * Unit test for {@link HashMultiset}. * * @author Kevin Bourrillion * @author Jared Levy */ @GwtCompatible @NullMarkedRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 4.5K bytes - Viewed (0)