- Sort Score
- Num 10 results
- Language All
Results 241 - 250 of 2,560 for void (0.02 seconds)
-
guava-testlib/src/com/google/common/collect/testing/testers/MapContainsValueTester.java
@CollectionSize.Require(absent = ZERO) public void testContains_yes() { assertTrue("containsValue(present) should return true", getMap().containsValue(v0())); } public void testContains_no() { assertFalse("containsValue(notPresent) should return false", getMap().containsValue(v3())); } @MapFeature.Require(ALLOWS_NULL_VALUE_QUERIES) public void testContains_nullNotContainedButAllowed() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 3.3K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionContainsTester.java
@CollectionSize.Require(absent = ZERO) public void testContains_yes() { assertTrue("contains(present) should return true", collection.contains(e0())); } public void testContains_no() { assertFalse("contains(notPresent) should return false", collection.contains(e3())); } @CollectionFeature.Require(ALLOWS_NULL_QUERIES) public void testContains_nullNotContainedButQueriesSupported() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 3.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ImmutableRangeMapTest.java
} assertEquals(expectedValue, rangeMap.get(i)); } } } } } public void testSpanEmpty() { assertThrows(NoSuchElementException.class, () -> ImmutableRangeMap.of().span()); } public void testSpanSingleRange() { for (Range<Integer> range : RANGES) { RangeMap<Integer, Integer> rangemap =Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 9.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/WrappingExecutorServiceTest.java
mock.assertLastMethodCalled("shutdownNow"); assertEquals(ImmutableList.of(), list); } public void testExecute() { MockExecutor mock = new MockExecutor(); TestExecutor testExecutor = new TestExecutor(mock); testExecutor.execute(doNothing()); mock.assertLastMethodCalled("execute"); } public void testSubmit() throws InterruptedException, ExecutionException { { MockExecutor mock = new MockExecutor();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 9.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/PeekingIteratorTest.java
public void testPeekingIteratorBehavesLikeIteratorOnThreeElementIterable() { actsLikeIteratorHelper(Lists.newArrayList("A", "B", "C")); } @GwtIncompatible // works but takes 5 minutes to run public void testPeekingIteratorAcceptsNullElements() { actsLikeIteratorHelper(Lists.<@Nullable String>newArrayList(null, "A", null)); } public void testPeekOnEmptyList() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 8.5K bytes - Click Count (0) -
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Fri Jun 06 17:52:09 GMT 2025 - 16K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapPutIfAbsentTester.java
} @MapFeature.Require(SUPPORTS_PUT) public void testPutIfAbsent_supportedAbsent() { assertNull("putIfAbsent(notPresent, value) should return null", putIfAbsent(e3())); expectAdded(e3()); } @MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(absent = ZERO) public void testPutIfAbsent_supportedPresent() { assertEquals(
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 21 14:50:24 GMT 2024 - 4.9K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/project/ProjectModelResolverTest.java
/** * Creates a new {@code ProjectModelResolverTest} instance. */ ProjectModelResolverTest() { super(); } @Test void testResolveParentThrowsUnresolvableModelExceptionWhenNotFound() throws Exception { final Parent parent = new Parent(); parent.setGroupId("org.apache"); parent.setArtifactId("apache");Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 8.7K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/toolchain/RequirementMatcherFactoryTest.java
/** * */ class RequirementMatcherFactoryTest { /** * Test of createExactMatcher method, of class RequirementMatcherFactory. */ @Test void testCreateExactMatcher() { RequirementMatcher matcher; matcher = RequirementMatcherFactory.createExactMatcher("foo"); assertFalse(matcher.matches("bar")); assertFalse(matcher.matches("foobar"));Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 11 12:33:57 GMT 2025 - 2.3K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsule.java
this.plexusContainer = requireNonNull(plexusContainer, "plexusContainer"); this.lookup = new DefaultLookup(plexusContainer); updateLogging(context); } @Override public void updateLogging(LookupContext context) { plexusContainer.getLoggerManager().setThresholds(toPlexusLoggingLevel(context.loggerLevel)); } @Override public Lookup getLookup() { return lookup;
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Mar 24 14:09:05 GMT 2025 - 2.4K bytes - Click Count (0)