- Sort Score
- Num 10 results
- Language All
Results 161 - 170 of 2,560 for void (0.18 seconds)
-
android/guava-tests/test/com/google/common/reflect/ClassPathTest.java
} @AndroidIncompatible // Android forbids null parent ClassLoader public void testClassPathEntries_emptyURLClassLoader_noParent() { assertThat(ClassPath.getClassPathEntries(new URLClassLoader(new URL[0], null)).keySet()) .isEmpty(); } @AndroidIncompatible // Android forbids null parent ClassLoader public void testClassPathEntries_urlClassLoader_noParent() throws Exception { URL url1 = new URL("file:/a");
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 21:00:51 GMT 2025 - 23K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/ExecutionListTest.java
this.countDownLatch = countDownLatch; } @Override public void run() { countDownLatch.countDown(); } } public void testExceptionsCaught() { list.add(THROWING_RUNNABLE, directExecutor()); list.execute(); list.add(THROWING_RUNNABLE, directExecutor()); } public void testNulls() { new NullPointerTester().testAllPublicInstanceMethods(new ExecutionList());Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Jul 11 18:52:30 GMT 2025 - 4.7K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBadMultiLangSnippets.java
public abstract class FindBadMultiLangSnippets extends DefaultTask { @InputDirectory @PathSensitive(PathSensitivity.RELATIVE) public abstract DirectoryProperty getDocumentationRoot(); @TaskAction public void checkMultiLanguageSnippets() { Map<File, List<Error>> errors = new TreeMap<>(); getDocumentationRoot().getAsFileTree().matching(spec -> spec.include("**/*.adoc")).forEach(file -> {Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Fri Aug 29 10:12:17 GMT 2025 - 7.2K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtilsTest.java
void shouldValidateSupportedModelVersions(String version) { assertTrue(ModelVersionUtils.isValidModelVersion(version)); } @ParameterizedTest @ValueSource(strings = {"3.0.0", "5.0.0", "2.0.0", "6.0.0"}) @DisplayName("should reject unsupported model versions") void shouldRejectUnsupportedModelVersions(String version) {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 19.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java
@Override protected void setUp() throws Exception { super.setUp(); future = SettableFuture.create(); tester = new ListenableFutureTester(future); tester.setUp(); } public void testDefaultState() throws Exception { assertThrows(TimeoutException.class, () -> future.get(5, MILLISECONDS)); } public void testSetValue() throws Exception {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 17:49:12 GMT 2025 - 7.3K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/model/ClassMetaDataRepository.java
public interface ClassMetaDataRepository<T> { T get(String fullyQualifiedClassName) throws UnknownDomainObjectException; T find(String fullyQualifiedClassName); void put(String fullyQualifiedClassName, T metaData); void each(Closure cl);
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 989 bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java
} }); } public void testVoidMethodForwarding() { tester.testForwarding( Runnable.class, new Function<Runnable, Runnable>() { @Override public Runnable apply(Runnable runnable) { return new ForwardingRunnable(runnable); } }); } public void testToStringForwarding() { tester.testForwarding(Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 15.7K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoalTest.java
// Execute with target model 4.1.0 (should create .mvn directory to avoid root warnings) upgradeGoal.testExecuteWithTargetModel(context, "4.1.0"); Path mvnDir = projectDir.resolve(".mvn"); assertTrue( Files.exists(mvnDir), ".mvn directory should be created for 4.1.0 to avoid root directory warnings"); } @TestCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 13.7K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetAddTester.java
public class MultisetAddTester<E> extends AbstractMultisetTester<E> { @CollectionFeature.Require(absent = SUPPORTS_ADD) public void testAddUnsupported() { assertThrows(UnsupportedOperationException.class, () -> getMultiset().add(e0())); } @CollectionFeature.Require(SUPPORTS_ADD) public void testAddMeansAddOne() { int originalCount = getMultiset().count(e0()); assertTrue(getMultiset().add(e0()));
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 4.1K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java
* worth having a test to ensure that all our Feature enums have their annotations correctly set up. * * @author George van den Driessche */ public class FeatureEnumTest extends TestCase { private static void assertGoodTesterAnnotation(Class<? extends Annotation> annotationClass) { assertWithMessage( rootLocaleFormat("%s must be annotated with @TesterAnnotation.", annotationClass))Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Dec 12 00:25:21 GMT 2025 - 4.5K bytes - Click Count (0)