- Sort Score
- Result 10 results
- Languages All
Results 701 - 710 of 1,423 for test2 (0.02 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapContainsValueTester.java
/** * Tester for {@link Multimap#containsValue}. * * @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") public class MultimapContainsValueTester<K, V>Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 2.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestStringSetGenerator.java
import com.google.common.collect.testing.SampleElements.Strings; import java.util.List; import java.util.Set; import org.jspecify.annotations.NullMarked; /** * Create string sets for collection tests. * * @author Kevin Bourrillion */ @GwtCompatible @NullMarked public abstract class TestStringSetGenerator implements TestSetGenerator<String> { @Override public SampleElements<String> samples() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 2.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/StandardSystemPropertyTest.java
import static com.google.common.truth.Truth.assertWithMessage; import com.google.common.annotations.GwtIncompatible; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Tests for {@link StandardSystemProperty}. * * @author Kurt Alfred Kluever */ @GwtIncompatible @NullUnmarked public class StandardSystemPropertyTest extends TestCase { public void testGetKeyMatchesString() {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.5K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/SerializableTesterTest.java
import java.io.Serializable; import junit.framework.AssertionFailedError; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; import org.jspecify.annotations.Nullable; /** * Tests for {@link SerializableTester}. * * @author Nick Kralevich */ @NullUnmarked public class SerializableTesterTest extends TestCase { public void testStringAssertions() { String original = "hello world";Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/AbstractListIndexOfTester.java
* * @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. @SuppressWarnings("JUnit4ClassUsedInJUnit3") public abstract class AbstractListIndexOfTester<E> extends AbstractListTester<E> {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.4K bytes - Viewed (0) -
src/test/java/jcifs/spnego/SpnegoConstantsTest.java
import org.junit.jupiter.api.Test; /** * Tests for SpnegoConstants interface. * Verifies constant values, modifiers, types, and structural properties. */ class SpnegoConstantsTest { // Simple OID format: numbers separated by dots (at least one dot) private static final Pattern OID_PATTERN = Pattern.compile("\\d+(?:\\.\\d+)+"); @Test @DisplayName("Constant values match expected OIDs")Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.7K bytes - Viewed (0) -
src/bytes/bytes_test.go
{"a☺b☻c☹d", "b", len("a☺")}, // non-ascii } for _, test := range testCases { actual := LastIndexByte([]byte(test.a), test.b[0]) if actual != test.i { t.Errorf("LastIndexByte(%q,%c) = %v; want %v", test.a, test.b[0], actual, test.i) } } } // test a larger buffer with different sizes and alignments func TestIndexByteBig(t *testing.T) { var n = 1024Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Jul 28 18:13:58 UTC 2025 - 62.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/action/FessUserBeanTest.java
// Test getGroups returns empty array String[] groups = emptyBean.getGroups(); assertNotNull(groups); assertEquals(0, groups.length); // Test isEditable returns false assertFalse(emptyBean.isEditable()); // Test getFessUser returns null assertNull(emptyBean.getFessUser()); // Test hasRole and hasGroup methods with null userRegistered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.6K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/NtlmMessageTest.java
message = new TestNtlmMessage(); } @Test void testGetAndSetFlags() { // Test setting and getting flags int testFlags = 0x12345678; message.setFlags(testFlags); assertEquals(testFlags, message.getFlags(), "Flags should be set and retrieved correctly."); } @Test void testGetFlag() { // Test getting individual flags
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java
} } @Test void testWriteSetupWireFormat() { // Test that writeSetupWireFormat returns 0 byte[] dst = new byte[100]; int result = response.writeSetupWireFormat(dst, 10); assertEquals(0, result); } @Test void testWriteParametersWireFormat() { // Test that writeParametersWireFormat returns 0Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.5K bytes - Viewed (0)