Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1311 - 1320 of 2,907 for 2test (0.03 sec)

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

    import com.google.common.collect.testing.features.CollectionFeature;
    import java.util.Collections;
    import java.util.List;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestResult;
    
    /**
     * @author Max Ross
     */
    @AndroidIncompatible // test-suite builders
    public class FeatureSpecificTestSuiteBuilderTest extends TestCase {
      private static final class MyTestSuiteBuilder
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 25 16:19:30 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/FrameLogTest.kt

    import okhttp3.internal.http2.Http2.formatFlags
    import okhttp3.internal.http2.Http2.frameLog
    import okhttp3.internal.http2.Http2.frameLogWindowUpdate
    import org.junit.jupiter.api.Test
    
    class FrameLogTest {
      /** Real stream traffic applied to the log format.  */
      @Test
      fun exampleStream() {
        assertThat(frameLog(false, 0, 5, TYPE_SETTINGS, FLAG_NONE))
          .isEqualTo(">> 0x00000000     5 SETTINGS      ")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/validation/CronExpressionValidatorTest.java

                // Test that validation completes without exception
                assertNotNull("Validation should return a boolean result for edge case: " + cron, Boolean.valueOf(result));
            }
        }
    
        public void test_constructorAndInitialize() {
            assertNotNull(validator);
    
            // Test initialize method doesn't throw exception
            validator.initialize(null);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  4. build.gradle.kts

    val testJavaVersion = System.getProperty("test.java.version", "21").toInt()
    
    /** Configure building for Java+Kotlin projects. */
    subprojects {
      val project = this@subprojects
      if (project.name == "okhttp-bom") return@subprojects
    
      if (project.name == "okhttp-android") return@subprojects
      if (project.name == "android-test") return@subprojects
      if (project.name == "regression-test") return@subprojects
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 01 08:06:31 UTC 2025
    - 11.3K bytes
    - Viewed (1)
  5. src/test/java/jcifs/CIFSUnsupportedCryptoExceptionTest.java

    import java.security.NoSuchAlgorithmException;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.NullAndEmptySource;
    import org.junit.jupiter.params.provider.ValueSource;
    
    /**
     * Comprehensive test suite for CIFSUnsupportedCryptoException class.
     * Tests all constructors, inheritance behavior, and crypto-specific scenarios.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbFileInputStreamTest.java

        @DisplayName("Edge and invalid inputs")
        class EdgeCases {
    
            @Test
            @DisplayName("read(null) throws NullPointerException")
            void readNullArrayThrows() throws Exception {
                SmbFileInputStream in = newStream();
                assertThrows(NullPointerException.class, () -> in.read(null));
            }
    
            @Test
            @DisplayName("readDirect with len <= 0 returns 0")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/it/CrudTestBase.java

            }
    
            // Test: number of settings.
            final Map<String, Object> searchBody = createSearchBody(SEARCH_ALL_NUM);
            checkGetMethod(searchBody, getListEndpointSuffix()).then().body(getJsonPath() + ".size()", equalTo(NUM));
            logger.info("[END] testCreate");
        }
    
        protected void testRead() {
            logger.info("[BEGIN] testRead");
            // Test: get settings api.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/MIENameTest.java

        class EqualityContract {
    
            @Test
            void equalsIgnoresCaseForName() {
                ASN1ObjectIdentifier oid = testOid();
                MIEName a = new MIEName(oid, "Alice");
                MIEName b = new MIEName(oid, "alice");
                assertEquals(a, b);
                assertEquals(a.hashCode(), b.hashCode());
            }
    
            @Test
            void equalsHandlesNullNames() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserLocaleProcessProviderTest.java

            ComponentUtil.setFessConfig(null);
            super.tearDown();
        }
    
        // Test isAcceptCookieLocale method
        public void test_isAcceptCookieLocale() {
            // Always returns false as per implementation
            assertFalse(provider.isAcceptCookieLocale());
        }
    
        // Test findBusinessLocale with valid locale parameter
        public void test_findBusinessLocale_withValidLocale() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/EnumHashBiMapTest.java

        @Override
        public String[] createValueArray(int length) {
          return new String[length];
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // suite
      @AndroidIncompatible // test-suite builders
      public static Test suite() {
        TestSuite suite = new TestSuite();
        suite.addTest(
            BiMapTestSuiteBuilder.using(new EnumHashBiMapGenerator())
                .named("EnumHashBiMap")
                .withFeatures(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.3K bytes
    - Viewed (0)
Back to top