- Sort Score
- Result 10 results
- Languages All
Results 2811 - 2820 of 4,407 for Avoid (0.02 sec)
-
android/guava-tests/test/com/google/common/eventbus/AsyncEventBusTest.java
/** The executor we use to fake asynchronicity. */ private FakeExecutor executor; private AsyncEventBus bus; @Override protected void setUp() throws Exception { super.setUp(); executor = new FakeExecutor(); bus = new AsyncEventBus(executor); } public void testBasicDistribution() { StringCatcher catcher = new StringCatcher(); bus.register(catcher);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 2.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/SortedSetMultimapAsMapTester.java
extends AbstractMultimapTester<K, V, SortedSetMultimap<K, V>> { public void testAsMapValuesImplementSortedSet() { for (Collection<V> valueCollection : multimap().asMap().values()) { SortedSet<V> valueSet = (SortedSet<V>) valueCollection; assertEquals(multimap().valueComparator(), valueSet.comparator()); } } public void testAsMapGetImplementsSortedSet() { for (K key : multimap().keySet()) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 2.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllTester.java
@CollectionSize.Require(absent = ZERO) public void testAddAll_supportedAllPresent() { assertTrue( "addAll(allPresent) should return true", getList().addAll(MinimalCollection.of(e0()))); expectAdded(e0()); } @CollectionFeature.Require(absent = SUPPORTS_ADD) @CollectionSize.Require(absent = ZERO) public void testAddAll_unsupportedAllPresent() { assertThrows(
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 2.5K bytes - Viewed (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/services/ModelSourceTest.java
*/ class ModelSourceTest { @Test void testBuildSourceHasNoModelId() { Path path = Paths.get("/tmp/pom.xml"); ModelSource source = Sources.buildSource(path); assertNotNull(source); assertNull(source.getModelId(), "Build sources should not have a modelId"); assertEquals(path, source.getPath()); } @Test void testResolvedSourceWithModelId() {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Sep 29 14:45:25 UTC 2025 - 2.5K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/LatestArtifactTransformation.java
} } } @Override public void transformForInstall(Artifact artifact, ArtifactRepository localRepository) { // metadata is added via addPluginArtifactMetadata } @Override public void transformForDeployment( Artifact artifact, ArtifactRepository remoteRepository, ArtifactRepository localRepository) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 2.9K bytes - Viewed (0) -
build-logic-commons/code-quality-rules/src/main/java/gradlebuild/codenarc/rules/IntegrationTestFixtureVisitor.java
} @Override protected boolean shouldVisitMethod(MethodNode node) { return isIntegrationTest(node.getDeclaringClass()); } @Override public void visitMethodCallExpression(MethodCallExpression mce) { if (AstUtil.isMethodNamed(mce, "contains")) { checkOutputContains(mce); } else if (AstUtil.isMethodNamed(mce, "assertOutputContains")) {Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 2.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/NullPointerTester.java
public void testAllPublicConstructors(Class<?> c) { testConstructors(c, Visibility.PUBLIC); } /** * Runs {@link #testMethod} on every static method of class {@code c} that has at least {@code * minimalVisibility}, including those "inherited" from superclasses of the same package. */ public void testStaticMethods(Class<?> c, Visibility minimalVisibility) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 24.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/AbstractExtractor.java
public AbstractExtractor() { // NOP } /** * Registers this extractor with the ExtractorFactory. * @param keyList The list of keys to register this extractor under. */ public void register(final List<String> keyList) { if (keyList == null || keyList.isEmpty()) { throw new IllegalArgumentException("keyList must not be null or empty."); }
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Wed Nov 19 08:55:01 UTC 2025 - 4.6K bytes - Viewed (0) -
src/main/java/jcifs/context/SingletonContext.java
* @param props the properties to use for initialization * @throws CIFSException if the singleton context is already initialized or there is an error during initialization */ public static synchronized final void init(final Properties props) throws CIFSException { if (INSTANCE != null) { throw new CIFSException("Singleton context is already initialized"); } final Properties p = new Properties();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SynchronizedDequeTest.java
assertTrue(Thread.holdsLock(mutex)); return delegate.toArray(array); } @Override public void addFirst(E e) { assertTrue(Thread.holdsLock(mutex)); delegate.addFirst(e); } @Override public void addLast(E e) { assertTrue(Thread.holdsLock(mutex)); delegate.addLast(e); } @Override
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 7.4K bytes - Viewed (0)