- Sort Score
- Result 10 results
- Languages All
Results 651 - 660 of 4,785 for New (0.03 sec)
-
guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java
multimap.put(new LegacyComparable("foo"), new LegacyComparable("f")); multimap.put(new LegacyComparable("foo"), new LegacyComparable("o")); multimap.put(new LegacyComparable("foo"), new LegacyComparable("o")); multimap.put(new LegacyComparable("bar"), new LegacyComparable("b")); multimap.put(new LegacyComparable("bar"), new LegacyComparable("a"));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 22.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/ByteSinkTest.java
TestByteSink failSink = new TestByteSink(WRITE_THROWS); assertThrows(IOException.class, () -> new TestByteSource(new byte[10]).copyTo(failSink)); assertTrue(failSink.wasStreamClosed()); } public void testClosesOnErrors_writingFromInputStreamThatThrows() throws IOException { TestByteSink okSink = new TestByteSink(); TestInputStream in = new TestInputStream(new ByteArrayInputStream(new byte[10]), READ_THROWS);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 3.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/ByteSinkTest.java
TestByteSink failSink = new TestByteSink(WRITE_THROWS); assertThrows(IOException.class, () -> new TestByteSource(new byte[10]).copyTo(failSink)); assertTrue(failSink.wasStreamClosed()); } public void testClosesOnErrors_writingFromInputStreamThatThrows() throws IOException { TestByteSink okSink = new TestByteSink(); TestInputStream in = new TestInputStream(new ByteArrayInputStream(new byte[10]), READ_THROWS);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 3.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java
final Runnable[] manualExecutorTask = new Runnable[1]; Executor manualExecutor = new Executor() { @Override public void execute(Runnable task) { manualExecutorTask[0] = task; } }; results.add(serializer.submit(Callables.returning(null), manualExecutor)); final Future<?>[] thingToCancel = new Future<?>[1];
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 16.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/ByteSourceTest.java
new TestByteSource(new byte[10], OPEN_THROWS); private static final ByteSource BROKEN_READ_SOURCE = new TestByteSource(new byte[10], READ_THROWS); private static final ByteSink BROKEN_CLOSE_SINK = new TestByteSink(CLOSE_THROWS); private static final ByteSink BROKEN_OPEN_SINK = new TestByteSink(OPEN_THROWS); private static final ByteSink BROKEN_WRITE_SINK = new TestByteSink(WRITE_THROWS);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 15.4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/FaultTolerantClientTest.java
* */ public class FaultTolerantClientTest extends PlainTestCase { public void test_doGet() { final FaultTolerantClient client = new FaultTolerantClient(); final TestClient testClient = new TestClient(); final TestListener testListener = new TestListener(); client.setCrawlerClient(testClient); client.setRequestListener(testListener); final String url = "http://test.com/";
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 15.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/SourceSinkFactories.java
return new StringSourceFactory(); } public static ByteSourceFactory byteArraySourceFactory() { return new ByteArraySourceFactory(); } public static ByteSourceFactory emptyByteSourceFactory() { return new EmptyByteSourceFactory(); } public static CharSourceFactory emptyCharSourceFactory() { return new EmptyCharSourceFactory(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 17.7K bytes - Viewed (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesTest.java
java.util.Properties props1 = new java.util.Properties(); props1.load(new StringReader(config)); new DefaultInterpolator().performSubstitution((Map) props1, null, true); assertEquals(expected, props1); MavenProperties props2 = new MavenProperties(); props2.load(new StringReader(config)); assertEquals(expected, props2); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 16.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
final CyclicBarrier barrier = new CyclicBarrier(2); final AtomicReference<Throwable> throwableFromOtherThread = new AtomicReference<>(null); final Runnable doNothingRunnable = new Runnable() { @Override public void run() {} }; Thread otherThread = new Thread( new Runnable() { @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 28.1K bytes - Viewed (0) -
guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java
} public void testUnexpectedException() { IteratorTester<Integer> tester = new IteratorTester<Integer>( 1, MODIFIABLE, newArrayList(1), IteratorTester.KnownOrder.KNOWN_ORDER) { @Override protected Iterator<Integer> newTargetIterator() { return new ThrowingIterator<>(new IllegalStateException()); } }; assertFailure(tester); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 10.3K bytes - Viewed (0)