Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 1,674 for 2test (0.07 sec)

  1. src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java

            // Test reflexivity
            assertTrue(item1.equals(item1));
    
            // Test symmetry and arrays with different order
            assertTrue(item1.equals(item2));
            assertTrue(item2.equals(item1));
    
            // Test with different inputs
            assertFalse(item1.equals(item3));
            assertFalse(item3.equals(item1));
    
            // Test with different output
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java

    import org.junit.Rule;
    import org.junit.Test;
    import org.junit.rules.ExpectedException;
    
    /**
     * @author higa
     */
    public class BeanUtilTest {
    
        /**
         * @see org.junit.rules.ExpectedException
         */
        @Rule
        public ExpectedException exception = ExpectedException.none();
    
        /**
         * @throws Exception
         */
        @Test
        public void testCopy_BeanToBean() throws Exception {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 34.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/math/DoubleMathTest.java

        }
      }
    
      /*
       * We've split testFuzzyCompare() into multiple tests so that our internal Android test runner has
       * a better chance of completing each within its per-test-method timeout.
       */
    
      public void testFuzzyCompare0() {
        runTestFuzzyCompare(0);
      }
    
      public void testFuzzyCompare1() {
        runTestFuzzyCompare(1);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.3K bytes
    - Viewed (0)
  4. okcurl/src/test/kotlin/okhttp3/curl/MainTest.kt

    import java.io.IOException
    import kotlin.test.Test
    import okhttp3.RequestBody
    import okio.Buffer
    
    class MainTest {
      @Test
      fun simple() {
        val request = fromArgs("http://example.com").createRequest()
        assertThat(request.method).isEqualTo("GET")
        assertThat(request.url.toString()).isEqualTo("http://example.com/")
        assertThat(request.body).isNull()
      }
    
      @Test
      @Throws(IOException::class)
      fun put() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  5. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

          },
          logger = logger,
        )
    
      /** Runs all tasks that are ready. Used by the test thread only. */
      fun runTasks() {
        advanceUntil(nanoTime)
      }
    
      /** Advance the simulated clock, then runs tasks that are ready. Used by the test thread only. */
      fun advanceUntil(newTime: Long) {
        taskRunner.assertLockNotHeld()
    
        taskRunner.withLock {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  6. 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)
  7. okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerKotlinTest.kt

    import org.junit.jupiter.api.Test
    
    class CertificatePinnerKotlinTest {
      @Test
      fun successfulCheckSha1Pin() {
        val certificatePinner =
          CertificatePinner
            .Builder()
            .add("example.com", "sha1/" + certA1.certificate.sha1Hash().base64())
            .build()
    
        certificatePinner.check("example.com", listOf(certA1.certificate))
      }
    
      @Test fun successfulFindMatchingPins() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/exception/JobProcessingExceptionTest.java

        }
    
        public void test_stackTrace() {
            // Test that stack trace is properly captured
            final JobProcessingException exception = new JobProcessingException("Stack trace test");
    
            assertNotNull(exception.getStackTrace());
            assertTrue(exception.getStackTrace().length > 0);
    
            // Verify the top of the stack trace points to this test method
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/exception/CommandExecutionExceptionTest.java

            // Test that serialVersionUID is properly set
            CommandExecutionException exception1 = new CommandExecutionException("Test");
            CommandExecutionException exception2 = new CommandExecutionException("Test");
    
            // Both instances should be of the same class
            assertEquals(exception1.getClass(), exception2.getClass());
    
            // Test serialization compatibility by checking class name
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/exception/WebApiExceptionTest.java

            // Test that the exception has serialVersionUID
            WebApiException exception = new WebApiException(404, "Not Found");
    
            // This test confirms the exception can be created and has standard exception properties
            assertNotNull(exception);
            assertTrue(exception instanceof java.io.Serializable);
        }
    
        public void test_stackTrace() {
            // Test that stack trace is preserved
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
Back to top