Search Options

Results per page
Sort
Preferred Languages
Advance

Results 4671 - 4680 of 4,820 for if (0.01 sec)

  1. src/test/java/org/codelibs/fess/mylasta/direction/FessConfigImplTest.java

                public String get(String propertyKey) {
                    // Check system properties first (with prefix)
                    String systemValue = System.getProperty(Constants.FESS_CONFIG_PREFIX + propertyKey);
                    if (systemValue != null) {
                        return systemValue;
                    }
    
                    // Return test values for specific properties
                    switch (propertyKey) {
                    case "domain.title":
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/StringsTest.java

        assertEquals("-xx", Strings.padStart("xx", 3, '-'));
      }
    
      public void testPadStart_negativeMinLength() {
        assertSame("x", Strings.padStart("x", -1, '-'));
      }
    
      // TODO: could remove if we got NPT working in GWT somehow
      public void testPadStart_null() {
        assertThrows(NullPointerException.class, () -> Strings.padStart(null, 5, '0'));
      }
    
      public void testPadEnd_noPadding() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 27 17:53:41 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/SmbWatchHandleTest.java

                private int callCount = 0;
    
                @Override
                public List<FileNotifyInformation> watch() throws CIFSException {
                    callCount++;
                    if (callCount == 1) {
                        return Arrays.asList(fileNotifyInfo1);
                    }
                    return Collections.emptyList();
                }
    
                @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (1)
  4. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

            equivalence =
                (set1, set2) -> {
                  if (!set1.equals(set2)) {
                    return false;
                  }
                  for (int i = 0; i < set1.size(); i++) {
                    if (!set1.asList().get(i).fullEquals(set2.asList().get(i))) {
                      return false;
                    }
                  }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 46.7K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java

            CharMappingItem item = new CharMappingItem(1L, new String[] { "temp" }, "output") {
                @Override
                public String getInputsValue() {
                    // Simulate null inputs scenario
                    if (getInputs() == null) {
                        return super.getInputsValue();
                    }
                    return super.getInputsValue();
                }
            };
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/query/TermQueryCommandTest.java

            final Query query = ComponentUtil.getQueryParser().parse(queryContext.getQueryString());
            QueryBuilder builder = queryCommand.convertTermQuery(queryContext, (TermQuery) query, 1.0f);
            if (text.startsWith("sort:")) {
                assertNull(builder);
            } else {
                logger.info("{} => {}", text, builder.toString());
                assertEquals(expectedClass, builder.getClass());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/openapi-callbacks.md

    In this case, it's the `str`:
    
    ```Python
    "{$callback_url}/invoices/{$request.body.id}"
    ```
    
    So, if your API user (the external developer) sends a request to *your API* to:
    
    ```
    https://yourapi.com/invoices/?callback_url=https://www.external.org/events
    ```
    
    with a JSON body of:
    
    ```JSON
    {
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/SmbTreeTest.java

        private SmbTree smbTree;
    
        @Mock
        private SmbTree mockWrappedTree;
    
        /**
         * Setup method executed before each test.
         */
        @BeforeEach
        void setUp() {
            // Common setup if needed
        }
    
        /**
         * Test for unwrap() method with matching type.
         * Verifies that unwrap returns the correct instance when the type matches.
         */
        @Test
        void testUnwrap_withMatchingType() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt

        val ping = peer.takeFrame()
        assertThat(ping.type).isEqualTo(Http2.TYPE_PING)
      }
    
      /**
       * A server RST_STREAM shouldn't prevent the client from consuming the response body, even if it
       * follows a truncated request body.
       */
      @Test fun clientRequestBodyServerResponseBodyRstStream() {
        // Write the mocking script.
        peer.sendFrame().settings(Settings())
        peer.acceptFrame() // ACK
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 75.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/CommonServerMessageBlockTest.java

                private CommonServerMessageBlockResponse response;
    
                @Override
                public int decode(byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException {
                    if (buffer == null || buffer.length < bufferIndex + 4) {
                        throw new SMBProtocolDecodingException("Buffer too small");
                    }
                    return 4;
                }
    
                @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
Back to top