- Sort Score
- Result 10 results
- Languages All
Results 341 - 350 of 763 for behavior (0.06 sec)
-
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/ConsoleIconTest.java
import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; /** * Unit tests for the {@link ConsoleIcon} enum. * Tests icon rendering with different terminal charsets and fallback behavior. */ @DisplayName("ConsoleIcon") class ConsoleIconTest { @Test @DisplayName("should return Unicode icons when terminal supports UTF-8") void shouldReturnUnicodeWhenTerminalSupportsUtf8() {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Jul 15 09:35:08 UTC 2025 - 6.8K bytes - Viewed (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/feature/FeaturesTest.java
assertFalse(Features.deployBuildPom(properties)); } @Test void testDeployBuildPomWithInvalidStringValue() { // Test that invalid string values default to false (Boolean.parseBoolean behavior) Map<String, Object> properties = Map.of(Constants.MAVEN_DEPLOY_BUILD_POM, "invalid"); assertFalse(Features.deployBuildPom(properties)); } @Test
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jul 04 19:42:23 UTC 2025 - 7.2K bytes - Viewed (0) -
cmd/api-response_test.go
if testCase.expectedLocation != gotLocation { t.Errorf("expected %s, got %s", testCase.expectedLocation, gotLocation) } }) } } // Tests getURLScheme function behavior. func TestGetURLScheme(t *testing.T) { tls := false gotScheme := getURLScheme(tls) if gotScheme != httpScheme { t.Errorf("Expected %s, got %s", httpScheme, gotScheme) } tls = trueRegistered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Oct 24 04:05:19 UTC 2025 - 5.8K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/AbstractRuleTest.java
assertEquals("changedId", registeredRule.getRuleId()); assertSame(processor2, registeredRule.getResponseProcessor()); } /** * Test inheritance behavior */ public void test_inheritanceBehavior() { // Test that subclass can override match method ConditionalAbstractRule conditionalRule = new ConditionalAbstractRule();
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 21.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java
SMBUtil.writeInt2(20, buffer, 9); // byteCount int length = testBlock.readAndXWireFormat(buffer, 0); assertTrue(length > 0); // andxCommand is private, but we can verify the behavior assertNull(testBlock.getAndx()); } @Test @DisplayName("Test toString method") void testToString() { when(mockAndxCommand.getCommand()).thenReturn(0x42);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
src/main/java/jcifs/SidResolver.java
* The context to use * @param authorityServerName * The server from which the local groups will be queried. * @param flags * Flags that control the behavior of the operation. When all * name associated with SIDs will be required, the SID_FLAG_RESOLVE_SIDS * flag should be used which causes all group member SIDs to be resolvedRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/JobLogService.java
* Provides functionality to create, read, update, and delete job log entries, * as well as manage job status and perform cleanup operations. */ public class JobLogService { /** * Behavior class for job log database operations. */ @Resource protected JobLogBhv jobLogBhv; /** * Default constructor. */ public JobLogService() { // Default constructorRegistered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 6.6K bytes - Viewed (0) -
src/test/java/jcifs/http/NetworkExplorerTest.java
lenient().when(request.getSession(false)).thenReturn(session); lenient().when(request.getSession(true)).thenReturn(session); // Setup default session attribute behavior lenient().when(session.getAttribute(anyString())).thenReturn(null); // Setup SmbFile mock lenient().when(smbFile.getLocator()).thenReturn(locator);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 21.2K bytes - Viewed (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvn/MavenOptions.java
* * <p>These options represent the various flags and settings available through the Maven CLI, * as well as those that can be specified in the {@code maven.config} file. They provide fine-grained * control over Maven's behavior during the build process.</p> * * @since 4.0.0 */ @Experimental public interface MavenOptions extends Options { /** * Returns the path to an alternate POM file. *Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jun 11 13:14:09 UTC 2025 - 8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java
} else { assertThrows(UnsupportedOperationException.class, map::clear); } assertInvariants(map); } @J2ktIncompatible // https://youtrack.jetbrains.com/issue/KT-58242/ undefined behavior (crash) public void testContainsKey() { Map<K, V> map; K unmappedKey; try { map = makePopulatedMap(); unmappedKey = getKeyNotInPopulatedMap();Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 43.9K bytes - Viewed (0)