Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1391 - 1400 of 1,669 for testInt (0.03 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/AbstractRuleTest.java

     * Test class for AbstractRule.
     * Tests the abstract rule implementation and its common functionality.
     */
    public class AbstractRuleTest extends PlainTestCase {
    
        /**
         * Concrete implementation of AbstractRule for testing
         */
        public static class TestAbstractRule extends AbstractRule {
            private static final long serialVersionUID = 1L;
    
            private boolean matchResult = true;
            private int matchCallCount = 0;
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/auth/chain/AuthenticationChainTest.java

            User user = new User();
            user.setName(username);
            user.setDisplayName(displayName);
            return user;
        }
    
        // Test implementation of AuthenticationChain for testing
        private static class TestAuthenticationChain implements AuthenticationChain {
            // Track method calls
            List<User> updateCalls = new ArrayList<>();
            List<User> deleteCalls = new ArrayList<>();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java

                fail("printThreadDumpAsError() should not throw exceptions: " + e.getMessage());
            }
        }
    
        public void test_writeThreadDump() throws IOException {
            // Create a temporary file for testing
            Path tempFile = Files.createTempFile("test-thread-dump", ".txt");
    
            try {
                ThreadDumpUtil.writeThreadDump(tempFile.toString());
    
                // Verify the file was created and contains content
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  4. okhttp-tls/src/test/java/okhttp3/tls/HeldCertificateTest.kt

    import java.math.BigInteger
    import java.security.KeyFactory
    import java.security.spec.PKCS8EncodedKeySpec
    import java.security.spec.X509EncodedKeySpec
    import java.util.concurrent.TimeUnit
    import okhttp3.testing.PlatformRule
    import okhttp3.tls.HeldCertificate.Companion.decode
    import okio.ByteString.Companion.decodeBase64
    import org.bouncycastle.asn1.x509.GeneralName
    import org.junit.jupiter.api.Assertions.fail
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformerTest.java

                    + "</doc>";
    
            final ResponseData responseData = new ResponseData();
            responseData.setResponseBody(ResourceUtil.getResourceAsFile("extractor/test_ns.xml"), false);
            responseData.setCharSet(Constants.UTF_8);
            final ResultData resultData = xmlNsTransformer.transform(responseData);
            assertEquals(result, new String(resultData.getData(), Constants.UTF_8));
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  6. README.md

        should not use them for communication between trusted and untrusted code.
    
    6.  For the mainline flavor, we test the libraries using OpenJDK 8, 11, and 17
        on Linux, with some additional testing on newer JDKs and on Windows. Some
        features, especially in `com.google.common.io`, may not work correctly in
        non-Linux environments. For the Android flavor, our unit tests also run on
        API level 23 (Marshmallow).
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Aug 05 15:30:14 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/UnicodeStringTest.java

            dummyRus.length = 14; // 7 characters * 2 bytes/char
            dummyRus.maximum_length = 14;
            UnicodeString manualUnicodeString = new UnicodeString(dummyRus, false);
            assertEquals("Testing", manualUnicodeString.toString(), "toString should work with manually set buffer and length (no zterm)");
    
            // Test toString with a manually constructed UnicodeString with zterm
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  8. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt

    import okhttp3.OkHttpClientTestRule
    import okhttp3.RecordingEventListener
    import okhttp3.Request
    import okhttp3.sse.EventSource
    import okhttp3.sse.EventSource.Factory.Companion.asEventSourceFactory
    import okhttp3.testing.PlatformRule
    import org.junit.jupiter.api.AfterEach
    import org.junit.jupiter.api.Tag
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.RegisterExtension
    import org.junitpioneer.jupiter.RetryingTest
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:47:47 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/CharSourceTester.java

    import java.util.ArrayList;
    import java.util.List;
    import java.util.Map.Entry;
    import junit.framework.TestSuite;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * A generator of {@code TestSuite} instances for testing {@code CharSource} implementations.
     * Generates tests of all methods on a {@code CharSource} given various inputs the source is
     * expected to contain.
     *
     * @author Colin Decker
     */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/AbstractTableTest.java

          assertEquals(0, table.size());
          assertFalse(table.containsRow("foo"));
        } else {
          assertThrows(UnsupportedOperationException.class, () -> table.clear());
        }
      }
    
      public void testPut() {
        assertNull(table.put("foo", 1, cellValue('a')));
        assertNull(table.put("bar", 1, cellValue('b')));
        assertNull(table.put("foo", 3, cellValue('c')));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top