- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 2,709 for new (0.14 sec)
-
maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java
assertEquals( createSet(new Object[] {a.artifact, b.artifact, c.artifact, d.artifact}), res.getArtifacts(), "Check artifact list"); ArtifactFilter filter = new ExclusionSetFilter(new String[] {"b"}); res = collect(a, filter); assertEquals(createSet(new Object[] {a.artifact, c.artifact}), res.getArtifacts(), "Check artifact list"); }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 42.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/ClassLoaderIteratorTest.java
@Test public void test() throws Exception { final ClassLoader cl1 = new URLClassLoader(new URL[] { new URL("file:/foo") }, null); final ClassLoader cl2 = new URLClassLoader(new URL[] { new URL("file:/bar") }, cl1); final ClassLoader cl3 = new URLClassLoader(new URL[] { new URL("file:/baz") }, cl2); final ClassLoaderIterator it = new ClassLoaderIterator(cl3); assertThat(it.hasNext(), is(true));
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 1.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java
class BadRunnableException extends RuntimeException {} CountingRunnable before = new CountingRunnable(); Runnable bad = new Runnable() { @Override public void run() { throw new BadRunnableException(); } }; CountingRunnable after = new CountingRunnable(); future.addListener(before, directExecutor());
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Feb 13 14:28:25 GMT 2024 - 15.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/SuppliersTest.java
throws Throwable { final AtomicInteger count = new AtomicInteger(0); final AtomicReference<Throwable> thrown = new AtomicReference<>(null); final int numThreads = 3; final Thread[] threads = new Thread[numThreads]; final long timeout = TimeUnit.SECONDS.toNanos(60); final Supplier<Boolean> supplier = new Supplier<Boolean>() { boolean isWaiting(Thread thread) {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 18.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/SuppliersTest.java
throws Throwable { final AtomicInteger count = new AtomicInteger(0); final AtomicReference<Throwable> thrown = new AtomicReference<>(null); final int numThreads = 3; final Thread[] threads = new Thread[numThreads]; final long timeout = TimeUnit.SECONDS.toNanos(60); final Supplier<Boolean> supplier = new Supplier<Boolean>() { boolean isWaiting(Thread thread) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 18.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SetOperationsTest.java
@ElementTypesAreNonnullByDefault public class SetOperationsTest extends TestCase { @J2ktIncompatible @GwtIncompatible // suite public static Test suite() { TestSuite suite = new TestSuite(); suite.addTest( SetTestSuiteBuilder.using( new TestStringSetGenerator() { @Override protected Set<String> create(String[] elements) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 19 20:34:55 GMT 2024 - 14.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/DateConversionUtilTest.java
final Date date = toDate("10/9/7"); assertThat(new SimpleDateFormat("yyyy/MM/dd").format(date), is("2010/09/07")); } /** * @throws Exception */ @Test public void testToDate_MediumStyle() throws Exception { final Date date = toDate("2010/9/7"); assertThat(new SimpleDateFormat("yyyy/MM/dd").format(date), is("2010/09/07")); } /**
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 9.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MapsCollectionTest.java
public static Test suite() { TestSuite suite = new TestSuite(); suite.addTest( NavigableMapTestSuiteBuilder.using( new TestStringSortedMapGenerator() { @Override protected SortedMap<String, String> create(Entry<String, String>[] entries) { SafeTreeMap<String, String> map = new SafeTreeMap<>(); putEntries(map, entries);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 20:09:59 GMT 2024 - 32.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/search/SearchApiTests.java
Map<String, String> andParams = new HashMap<>(); andParams.put("q", query.replace("OR", "AND")); String andResponse = checkMethodBase(new HashMap<>()).params(andParams).get("/api/v1/documents").asString(); int andRecordCount = JsonPath.from(andResponse).getInt("record_count"); Map<String, String> params = new HashMap<>(); params.put("q", query);
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 18.6K bytes - Viewed (1) -
android/guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java
testSortDescending(new long[] {}, 0, 0, new long[] {}); testSortDescending(new long[] {1}, 0, 1, new long[] {1}); testSortDescending(new long[] {1, 2}, 0, 2, new long[] {2, 1}); testSortDescending(new long[] {1, 3, 1}, 0, 2, new long[] {3, 1, 1}); testSortDescending(new long[] {1, 3, 1}, 0, 1, new long[] {1, 3, 1}); testSortDescending( new long[] {GREATEST - 1, 1, GREATEST - 2, 2}, 1,
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Feb 09 15:36:17 GMT 2024 - 13.2K bytes - Viewed (0)