- Sort Score
- Num 10 results
- Language All
Results 271 - 280 of 940 for behaviors (0.05 seconds)
-
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/PluginUpgradeCliTest.java
assertEquals(0, exit, "mvnup --help should exit 0"); assertTrue( help.contains("Default behavior: --model --plugins --infer"), "Help footer should advertise --infer as part of the defaults"); assertFalse( help.contains("Default behavior: --model and --plugins"), "Old/incorrect default text must be gone"); }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Sep 29 14:48:39 GMT 2025 - 9.9K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ForwardingBlockingQueue.java
import org.jspecify.annotations.Nullable; /** * A {@link BlockingQueue} which forwards all its method calls to another {@link BlockingQueue}. * Subclasses should override one or more methods to modify the behavior of the backing collection * as desired per the <a href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator * pattern</a>. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ForwardingConcurrentMap.java
import org.jspecify.annotations.Nullable; /** * A concurrent map which forwards all its method calls to another concurrent map. Subclasses should * override one or more methods to modify the behavior of the backing map as desired per the <a * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>. * * <p><b>{@code default} method warning:</b> This class forwards calls to <i>only some</i> {@code
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Feb 18 16:58:16 GMT 2025 - 2.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/eventbus/outside/AnnotatedNotAbstractInSuperclassTest.java
public void overriddenNotAnnotatedInSubclass(Object o) { super.overriddenNotAnnotatedInSubclass(o); } @Subscribe @Override // We are testing how we treat an override with the same behavior and annotations. @SuppressWarnings("RedundantOverride") public void overriddenAndAnnotatedInSubclass(Object o) { super.overriddenAndAnnotatedInSubclass(o); } @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 4.2K bytes - Click Count (0) -
src/test/java/jcifs/ntlmssp/av/AvPairTest.java
// This test assumes that the AvPair constructor does NOT make a defensive copy of the raw array. // If a defensive copy were made, this test would fail, and the behavior would be more robust. // Given the current implementation, direct modification of the passed array affects the AvPair. // If this is not desired, a defensive copy should be added in the AvPair constructor.Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exec/SuggestCreatorTest.java
// Any result is acceptable as long as no unexpected exception assertNotNull(result); } catch (Exception e) { // Expected behavior when components are not fully initialized Throwable cause = e.getCause(); assertNotNull(cause); } } catch (Exception e) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java
int behavior = random.nextInt(4); if (behavior == 0) { // throw an exception exceptionCount.incrementAndGet(); throw new RuntimeException("fake exception for test"); } else if (behavior == 1) { // return null computeNullCount.incrementAndGet(); return null; } else if (behavior == 2) { // slight delay before returning
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 25.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/CacheBuilderTest.java
int behavior = random.nextInt(4); if (behavior == 0) { // throw an exception exceptionCount.incrementAndGet(); throw new RuntimeException("fake exception for test"); } else if (behavior == 1) { // return null computeNullCount.incrementAndGet(); return null; } else if (behavior == 2) { // slight delay before returning
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 25.6K bytes - Click Count (0) -
src/test/java/jcifs/FileNotifyInformationTest.java
@DisplayName("Interface Methods Tests") class InterfaceMethodsTests { @Test @DisplayName("Test getAction method with mock") void testGetAction() { // Setup mock behavior when(mockFileNotifyInfo.getAction()).thenReturn(FileNotifyInformation.FILE_ACTION_ADDED); // Test int action = mockFileNotifyInfo.getAction(); // VerifyCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.1K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoalTest.java
// Should not throw exception even if .mvn creation fails int result = upgradeGoal.testExecuteWithTargetModel(context, "4.0.0"); // The exact behavior depends on implementation, but it should handle gracefully // and not crash the entire upgrade process assertTrue(result >= 0, "Should handle .mvn creation failure gracefully"); } }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 13.7K bytes - Click Count (0)