- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 2,612 for new3 (0.01 sec)
-
guava-tests/test/com/google/common/io/CharStreamsTest.java
StringBuilder builder2 = new StringBuilder(); copied = CharStreams.copy(new StringReader(I18N), builder2); assertEquals(I18N, builder2.toString()); assertEquals(I18N.length(), copied); } public void testCopy_toStringBuilder_fromReadable() throws IOException { StringBuilder builder = new StringBuilder(); long copied = CharStreams.copy(wrapAsGenericReadable(new StringReader(ASCII)), builder);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 11.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ExecutionListTest.java
private final ExecutionList list = new ExecutionList(); public void testRunOnPopulatedList() throws Exception { Executor exec = newCachedThreadPool(); CountDownLatch countDownLatch = new CountDownLatch(3); list.add(new MockRunnable(countDownLatch), exec); list.add(new MockRunnable(countDownLatch), exec); list.add(new MockRunnable(countDownLatch), exec);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 4.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/rank/fusion/RankFusionSearcherTest.java
Map<String, Object> doc = new HashMap<>(); doc.put("title", "Test Document"); documentList.add(doc); // Create empty aggregations instead of null Aggregations emptyAggregations = InternalAggregations.EMPTY; return new SearchResult(documentList, 1L, "eq", 100L, false, new FacetResponse(emptyAggregations)); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.3K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java
private final ForwardingWrapperTester tester = new ForwardingWrapperTester(); public void testGoodForwarder() { tester.testForwarding( Arithmetic.class, new Function<Arithmetic, Arithmetic>() { @Override public Arithmetic apply(Arithmetic arithmetic) { return new ForwardingArithmetic(arithmetic); } }); tester.testForwarding(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 15.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java
BeanUtil.copyBeanToBean(src, dest, converter(new DateConverter("yyyy/MM/dd"))); System.out.println(dest.aaa); assertThat(dest.aaa, is(notNullValue())); } /** * @throws Exception */ @Test public void testCopy_beanToMap() throws Exception { final MyBean src = new MyBean(); src.aaa = "aaa"; final BeanMap dest = new BeanMap();
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 34.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/filter/EncodingFilter.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 9.5K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSet.java
static <E> ImmutableSet<E> unsafeDelegate(Set<E> delegate) { switch (delegate.size()) { case 0: return of(); case 1: return new SingletonImmutableSet<E>(delegate.iterator().next()); default: return new RegularImmutableSet<E>(delegate); } } private static <E> ImmutableSet<E> create(E... elements) { // Create the set first, to remove duplicates if necessary.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 8.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/ErrorToWarnRewritePolicyTest.java
String[] loggerNames = { "test.logger", "another.logger" }; ErrorToWarnRewritePolicy policy = new ErrorToWarnRewritePolicy(loggerNames); assertNotNull(policy); } public void test_rewrite_with_null_logger_name() { String[] loggerNames = { "test.logger" }; ErrorToWarnRewritePolicy policy = new ErrorToWarnRewritePolicy(loggerNames); LogEvent event =
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/DataStoreCrawlingExceptionTest.java
String message = "Outer error message"; Exception innerCause = new IllegalArgumentException("Inner cause"); Exception middleCause = new IllegalStateException("Middle cause", innerCause); Exception outerCause = new RuntimeException("Outer cause", middleCause); DataStoreCrawlingException exception = new DataStoreCrawlingException(url, message, outerCause);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/EqualsTester.java
* that are equal to each other but unequal to the objects in any other group. For example: * * <pre> * new EqualsTester() * .addEqualityGroup(new User("page"), new User("page")) * .addEqualityGroup(new User("sergey")) * .testEquals(); * </pre> * * <p>This tests: * * <ul> * <li>comparing each object against itself returns true
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 6.1K bytes - Viewed (0)