- Sort Score
- Num 10 results
- Language All
Results 431 - 440 of 2,463 for just (0.02 seconds)
-
guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java
private interface ChainingCalls { // A method that is defined to 'return this' @CanIgnoreReturnValue ChainingCalls chainingCall(); // A method that just happens to return a ChainingCalls object ChainingCalls nonChainingCall(); } private static final class ForwardingChainingCalls implements ChainingCalls { final ChainingCalls delegate;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 12.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java
executor.execute(task); assertEquals(1, numCalls.get()); } /* * Under Android, MyError propagates up and fails the test? * * TODO(b/218700094): Does this matter to prod users, or is it just a feature of our testing * environment? If the latter, maybe write a custom Executor that avoids failing the test when it * sees an Error? */ @AndroidIncompatible
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 10.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParserTest.java
List<AnalyzeToken> tokens = defaultContentsParser.analyzeTextByReading(analyzer, "content", text, null); assertNotNull(tokens); // analyzeAndReading may return null for some analyzers // Just verify it doesn't throw an exception } @Test public void test_analyzeTextWithLargeContent() throws Exception { SuggestAnalyzer analyzer = suggester.settings().analyzer().new DefaultContentsAnalyzer();Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Feb 01 12:48:24 GMT 2026 - 12.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/ResourceUtilTest.java
// Test empty property replacement System.setProperty("empty", ""); String value = "${empty}"; assertEquals("", ResourceUtil.resolve(value)); // Test property with just spaces System.setProperty("spaces", " "); value = "${spaces}"; assertEquals(" ", ResourceUtil.resolve(value)); // Test long property nameCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 11.8K bytes - Click Count (0) -
guava/src/com/google/common/base/internal/Finalizer.java
* finalizable references could be enqueued subsequently (at which point the class loader * would be resurrected by virtue of us having a strong reference to it), we should pretty * much just shut down and make sure we don't keep it alive any longer than necessary. */ return null; } try { return finalizableReferenceClass.getMethod("finalizeReferent");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 03:19:29 GMT 2026 - 9.6K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/lsarpcTest.java
assertEquals(2, sidArray.sids.length); assertNotNull(sidArray.sids[0]); assertNotNull(sidArray.sids[1]); // Cannot verify decode on non-mock objects - they are created by decode // Just verify they were created assertNotNull(sidArray.sids[0]); assertNotNull(sidArray.sids[1]); } @Test void testLsarSidArrayDecodeNullSids() throws NdrException {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 60.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/query/QueryFieldConfigTest.java
public void test_init_withAdditionalAnalyzedFields() { // Save original config FessConfig originalConfig = ComponentUtil.getFessConfig(); try { // Use existing config from setUp and just override what we need to test queryFieldConfig = new QueryFieldConfig() { @Override public void init() { super.init();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 33.6K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/ClassSanityTester.java
for (Invokable<?, ?> factory : getFactoriesToTest()) { try { testEqualsUsing(factory); } catch (FactoryMethodReturnsNullException e) { // If the factory returns null, we just skip it. } } return this; } /** * Runs serialization test on the return values of the static methods. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 32.5K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Splitter.java
* } * * <p>Now {@code MY_SPLITTER.split("foo,,, bar ,")} returns just {@code ["foo", "bar"]}. Note that * the order in which these configuration methods are called is never significant. * * <p><b>Warning:</b> Splitter instances are immutable. Invoking a configuration method has no * effect on the receiving instance; you must store and use the new splitter instance it returns * instead. * * {@snippet :Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 23.8K bytes - Click Count (0) -
guava/src/com/google/common/collect/ContiguousSet.java
* ContiguousSet.create(Range.closed(5, 42), DiscreteDomain.integers()) * } * * <p>Note that because bounded ranges over {@code int} and {@code long} values are so common, this * particular example can be written as just: * * {@snippet : * ContiguousSet.closed(5, 42) * } * * <p><b>Warning:</b> Be extremely careful what you do with conceptually large instances (such as
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 9.9K bytes - Click Count (0)