Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 5301 - 5310 of 6,226 for RETURN (0.23 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

                @Override
                public String getInputsValue() {
                    // Simulate null inputs scenario
                    if (getInputs() == null) {
                        return super.getInputsValue();
                    }
                    return super.getInputsValue();
                }
            };
    
            // Since we can't easily set inputs to null, test with empty array
            String[] emptyInputs = {};
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 16K bytes
    - Click Count (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringVisitorModelInterpolator.java

                                        .setException(e));
                            }
                            cache.put(value, c);
                        }
                        return c;
                    }
                    return value;
                }
            };
        }
    
        @SuppressWarnings("StringEquality")
        private static final class ModelVisitor {
            private final InnerInterpolator interpolator;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 43.1K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveTester.java

        E duplicate = arrayAndDuplicate.duplicate;
    
        int firstIndex = getList().indexOf(duplicate);
        int initialSize = getList().size();
        assertTrue("remove(present) should return true", getList().remove(duplicate));
        assertTrue(
            "After remove(duplicate), a list should still contain the duplicate element",
            getList().contains(duplicate));
        assertFalse(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 2.6K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/TestPlatform.java

       */
      static <V extends @Nullable Object> V getDoneFromTimeoutOverload(Future<V> future)
          throws ExecutionException {
        checkState(future.isDone(), "Future was expected to be done: %s", future);
        try {
          return getUninterruptibly(future, 0, SECONDS);
        } catch (TimeoutException e) {
          throw new AssertionError(e);
        }
      }
    
      private TestPlatform() {}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/ForwardingObjectTester.java

                    T stubber = doReturn(delegate).when(mock);
                    DELEGATE_METHOD.invoke(stubber);
                  } catch (Exception e) {
                    throw new RuntimeException(e);
                  }
                  return mock;
                });
      }
    
      private ForwardingObjectTester() {}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/util/concurrent/ForwardingObjectTester.java

                    T stubber = doReturn(delegate).when(mock);
                    DELEGATE_METHOD.invoke(stubber);
                  } catch (Exception e) {
                    throw new RuntimeException(e);
                  }
                  return mock;
                });
      }
    
      private ForwardingObjectTester() {}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  7. tests/test_datastructures.py

        app = FastAPI()
    
        testing_file_store: list[UploadFile] = []
    
        @app.post("/uploadfile/")
        def create_upload_file(file: UploadFile):
            testing_file_store.append(file)
            return {"filename": file.filename}
    
        client = TestClient(app)
        with path.open("rb") as file:
            response = client.post("/uploadfile/", files={"file": file})
        assert response.status_code == 200, response.text
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/base/OptionalTest.java

        assertThat(onlyPresent).containsExactly(2);
      }
    
      private static Optional<Integer> getSomeOptionalInt() {
        return Optional.of(1);
      }
    
      private static FluentIterable<? extends Number> getSomeNumbers() {
        return FluentIterable.from(ImmutableList.<Number>of());
      }
    
      /*
       * The following tests demonstrate the shortcomings of or() and test that the casting workaround
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 10.6K bytes
    - Click Count (0)
  9. fess-crawler-lasta/src/test/java/org/codelibs/fess/crawler/container/LastaCrawlerContainerTest.java

     */
    public class LastaCrawlerContainerTest extends LastaDiTestCase {
    
        @Resource
        private CrawlerContainer crawlerContainer;
    
        @Override
        protected String prepareConfigFile() {
            return "crawler.xml";
        }
    
        @Test
        public void test_available() {
            // Container should be available after initialization
            assertTrue(crawlerContainer.available());
        }
    
        @Test
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Fri Jan 16 13:52:11 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/util/MemoryUtilTest.java

            assertEquals(183L, MemoryUtil.sizeOf(nestedMap));
        }
    
        @Test
        public void test_sizeOf_customObjects() {
            // Test fallback case for custom objects (should return 16L)
            assertEquals(16L, MemoryUtil.sizeOf(new Object()));
            assertEquals(16L, MemoryUtil.sizeOf(new CustomTestObject()));
            assertEquals(16L, MemoryUtil.sizeOf(Boolean.TRUE));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12K bytes
    - Click Count (0)
Back to Top