Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1341 - 1350 of 2,317 for method (0.08 sec)

  1. mockwebserver/README.md

        .build();
    ```
    
    ### Kotlin
    ```kotlin
    val response = MockResponse.Builder()
      .throttleBody(1024, 1, TimeUnit.SECONDS)
      .build()
    ```
    
    #### RecordedRequest
    
    Verify requests by their method, path, HTTP version, body, and headers.
    
    ### Java
    ```java
    RecordedRequest request = server.takeRequest();
    assertEquals("POST /v1/chat/send HTTP/1.1", request.getRequestLine());
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jul 19 13:40:52 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/ProtocolHelper.java

            // Default constructor
        }
    
        /**
         * Initializes the protocol helper by loading configured protocols from FessConfig
         * and scanning for available protocol handlers in the classpath.
         * This method is called automatically after bean construction.
         */
        @PostConstruct
        public void init() {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.7K bytes
    - Viewed (1)
  3. src/test/java/org/codelibs/fess/mylasta/action/FessLabelsTest.java

            labels.testAssertPropertyNotNull("test");
            labels.testAssertPropertyNotNull("");
            labels.testAssertPropertyNotNull(" ");
        }
    
        // Helper class to test protected method
        private static class TestFessLabels extends FessLabels {
            private static final long serialVersionUID = 1L;
    
            public void testAssertPropertyNotNull(String property) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainBeforeHookTest.java

            } catch (Exception e) {
                fail("processDBFluteSystem should handle unlock/lock properly: " + e.getMessage());
            }
        }
    
        // Helper method to get TimeZoneProvider from DBFluteSystem using reflection
        private DfFinalTimeZoneProvider getDBFluteSystemTimeZoneProvider() {
            try {
                // Try to access the field, handling potential security restrictions
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/exception/LdapOperationExceptionTest.java

            StackTraceElement[] stackTrace = exception.getStackTrace();
    
            assertNotNull(stackTrace);
            assertTrue(stackTrace.length > 0);
            // Verify that current test method appears in stack trace
            boolean foundTestMethod = false;
            for (StackTraceElement element : stackTrace) {
                if (element.getMethodName().equals("test_stackTrace")) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/exception/ScriptEngineExceptionTest.java

            assertNotNull(causeStackTrace);
            assertTrue(causeStackTrace.length > 0);
        }
    
        public void test_toString() {
            // Test toString method
            String message = "Script engine test error";
            ScriptEngineException exception = new ScriptEngineException(message);
    
            String result = exception.toString();
            assertNotNull(result);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/exception/ThemeExceptionTest.java

            ThemeException exception = new ThemeException("Stack trace test");
    
            assertNotNull(exception.getStackTrace());
            assertTrue(exception.getStackTrace().length > 0);
    
            // Verify that this test method appears in the stack trace
            boolean foundTestMethod = false;
            for (StackTraceElement element : exception.getStackTrace()) {
                if ("test_stackTrace".equals(element.getMethodName())) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/CaseFormat.java

      /**
       * Converts the specified {@code String str} from this format to the specified {@code format}. A
       * "best effort" approach is taken; if {@code str} does not conform to the assumed format, then
       * the behavior of this method is undefined but we make a reasonable effort at converting anyway.
       */
      public final String to(CaseFormat format, String str) {
        checkNotNull(format);
        checkNotNull(str);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Apr 15 22:14:00 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/CharSequenceReaderTest.java

      }
    
      /**
       * Creates a CharSequenceReader wrapping the given CharSequence and tests that the reader produces
       * the same sequence when read using each type of read method it provides.
       */
      private static void assertReadsCorrectly(CharSequence charSequence) throws IOException {
        String expected = charSequence.toString();
    
        // read char by char
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbSessionInternalTest.java

    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.CIFSException;
    import jcifs.SmbTransport;
    import jcifs.SmbTree;
    
    /**
     * Tests for SmbSessionInternal interface using Mockito to exercise
     * method contracts, checked exceptions, and interactions with collaborators.
     */
    @ExtendWith(MockitoExtension.class)
    public class SmbSessionInternalTest {
    
        @Mock
        private SmbSessionInternal session;
    
        @Mock
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
Back to top