Search Options

Results per page
Sort
Preferred Languages
Advance

Results 701 - 710 of 2,907 for xtest (0.03 sec)

  1. guava-testlib/test/com/google/common/collect/testing/MinimalCollectionTest.java

    import java.util.Collection;
    import junit.framework.Test;
    import junit.framework.TestCase;
    
    /**
     * Unit test for {@link MinimalCollection}.
     *
     * @author Kevin Bourrillion
     */
    @AndroidIncompatible // test-suite builders
    public class MinimalCollectionTest extends TestCase {
      public static Test suite() {
        return CollectionTestSuiteBuilder.using(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 25 16:19:30 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/util/StringUtilTest.java

    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.Arguments;
    import org.junit.jupiter.params.provider.MethodSource;
    import org.junit.jupiter.params.provider.ValueSource;
    
    /**
     * Test class for StringUtil utility methods
     */
    class StringUtilTest {
    
        @Test
        @DisplayName("Should join single element without delimiter")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/validation/CustomSizeTest.java

    public class CustomSizeTest extends UnitFessTestCase {
    
        // Test field with CustomSize annotation for testing
        @CustomSize(minKey = "test.min", maxKey = "test.max")
        private String testField;
    
        // Test field with only minKey
        @CustomSize(minKey = "test.min.only")
        private String testFieldMinOnly;
    
        // Test field with only maxKey
        @CustomSize(maxKey = "test.max.only")
        private String testFieldMaxOnly;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/convert/TimestampConversionUtilTest.java

            LocaleUtil.setDefault(null);
        }
    
        /**
         * @throws Exception
         */
        //    @Test
        //    public void testToDate_Null() throws Exception {
        //        assertThat(toDate(null, Locale.JAPAN), is(nullValue()));
        //    }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToDate_EmptyString() throws Exception {
            assertThat(toDate("", Locale.JAPAN), is(nullValue()));
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/util/ByteEncodableTest.java

    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    
    import org.junit.jupiter.api.Test;
    
    class ByteEncodableTest {
    
        @Test
        void testConstructorAndSize() {
            // Test with a basic byte array
            byte[] data = { 0x01, 0x02, 0x03, 0x04, 0x05 };
            ByteEncodable encodable = new ByteEncodable(data, 1, 3);
    
            // Verify size
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/MultisetSetCountConditionallyTester.java

    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests conditional {@code setCount()} operations on a multiset. Can't
     * be invoked directly; please see {@link MultisetTestSuiteBuilder}.
     *
     * @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 Nov 14 23:40:07 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. mockwebserver/src/test/java/mockwebserver3/MockResponseSniTest.kt

    import okhttp3.tls.internal.TlsUtil.localhost
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.RegisterExtension
    
    class MockResponseSniTest {
      @RegisterExtension
      val clientTestRule = OkHttpClientTestRule()
    
      @RegisterExtension
      val platform = PlatformRule()
    
      @StartStop
      private val server = MockWebServer()
    
      @Test
      fun clientSendsServerNameAndServerReceivesIt() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java

    /* Test class for jcifs.smb1.dcerpc.ndr.NdrShort */
    package jcifs.smb1.dcerpc.ndr;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.Mockito.spy;
    import static org.mockito.Mockito.verify;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.extension.ExtendWith;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  9. cmd/object-api-utils_test.go

    			snappyStartOffset: 0,
    		},
    	}
    	for i, test := range testCases {
    		startOffset, snappyStartOffset, firstPart, _, _ := getCompressedOffsets(test.objInfo, test.offset, nil)
    		if startOffset != test.startOffset {
    			t.Errorf("Test %d - expected startOffset %d but received %d",
    				i, test.startOffset, startOffset)
    		}
    		if snappyStartOffset != test.snappyStartOffset {
    			t.Errorf("Test %d - expected snappyOffset %d but received %d",
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/WinErrorTest.java

            // Guard to ensure test remains valid if constants change in future
            for (int c : WinError.WINERR_CODES) {
                assertNotEquals(unknownCode, c, "Chosen unknown code unexpectedly clashes with a known code");
            }
            assertTrue(lookupMessage(unknownCode).isEmpty());
        }
    
        @Test
        @DisplayName("Codes: all non-negative and unique")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.4K bytes
    - Viewed (0)
Back to top