- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 5,194 for New (0.15 sec)
-
maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorTest.java
Build build = new Build(); build.setDirectory(expected.substring(0, expected.length() - "/classes".length())); Model model = new Model(); model.setBuild(build); MavenProject project = new MavenProject(model); project.setFile(new File("pom.xml").getCanonicalFile());
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Tue Dec 05 08:11:33 GMT 2023 - 18.6K 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);
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 3.7K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/toolchain/DefaultToolchainManagerTest.java
MavenExecutionRequest executionRequest = new DefaultMavenExecutionRequest(); Map<String, List<ToolchainModel>> toolchainModels = new HashMap<>(); toolchainModels.put("basic", Arrays.asList(new ToolchainModel(), new ToolchainModel())); toolchainModels.put("rare", Collections.singletonList(new ToolchainModel())); executionRequest.setToolchains(toolchainModels);
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Sun Apr 16 12:54:16 GMT 2023 - 5.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbEnumerationUtil.java
MsrpcShareEnum rpc = new MsrpcShareEnum(loc.getServer()); handle.sendrecv(rpc); if ( rpc.retval != 0 ) { throw new SmbException(rpc.retval, true); } return rpc.getEntries(); } } static FileEntry[] doNetShareEnum ( SmbTreeHandleImpl th ) throws CIFSException { SmbComTransaction req = new NetShareEnum(th.getConfig());
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Sat Jul 20 08:41:19 GMT 2019 - 12.5K bytes - Viewed (0) -
android/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"));
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 22.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java
testSort(new int[] {}, 0, 0, new int[] {}); testSort(new int[] {2}, 0, 1, new int[] {2}); testSort(new int[] {2, 1, 0}, 0, 2, new int[] {1, 2, 0}); testSort(new int[] {2, GREATEST, 1, LEAST}, 1, 4, new int[] {2, LEAST, 1, GREATEST}); } public void testSortDescending() { testSortDescending(new int[] {}, new int[] {}); testSortDescending(new int[] {1}, new int[] {1});
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Feb 06 16:10:08 GMT 2024 - 12.7K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/profiles/manager/DefaultProfileManagerTest.java
Profile notActivated = new Profile(); notActivated.setId("notActivated"); Activation nonActivation = new Activation(); nonActivation.setJdk("19.2"); notActivated.setActivation(nonActivation); Profile defaultActivated = new Profile(); defaultActivated.setId("defaultActivated"); Activation defaultActivation = new Activation();
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 7.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java
final AtomicBoolean interruptedExceptionThrown = new AtomicBoolean(); final CountDownLatch enterLatch = new CountDownLatch(1); final CountDownLatch exitLatch = new CountDownLatch(1); final TrustedListenableFutureTask<Integer> task = TrustedListenableFutureTask.create( new Callable<Integer>() { @Override public Integer call() throws Exception {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 13 14:28:25 GMT 2024 - 7.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/eventbus/SubscriberRegistryTest.java
private final SubscriberRegistry registry = new SubscriberRegistry(new EventBus()); public void testRegister() { assertEquals(0, registry.getSubscribersForTesting(String.class).size()); registry.register(new StringSubscriber()); assertEquals(1, registry.getSubscribersForTesting(String.class).size()); registry.register(new StringSubscriber());
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 5.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CharSourceTest.java
static final CharSource BROKEN_OPEN_SOURCE = new TestCharSource("ABC", OPEN_THROWS); static final CharSink BROKEN_WRITE_SINK = new TestCharSink(WRITE_THROWS); static final CharSink BROKEN_CLOSE_SINK = new TestCharSink(CLOSE_THROWS); static final CharSink BROKEN_OPEN_SINK = new TestCharSink(OPEN_THROWS); private static final ImmutableSet<CharSource> BROKEN_SOURCES =
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 13K bytes - Viewed (0)