Search Options

Results per page
Sort
Preferred Languages
Advance

Results 441 - 450 of 759 for behaviour (0.89 sec)

  1. src/test/java/jcifs/SmbPipeHandleTest.java

            mockOutputStream = mock(OutputStream.class);
    
            // Create a mock implementation of the SmbPipeHandle interface
            smbPipeHandle = mock(SmbPipeHandle.class);
    
            // Define behavior for the mock handle
            when(smbPipeHandle.getPipe()).thenReturn(mockPipeResource);
            when(smbPipeHandle.getInput()).thenReturn(mockInputStream);
            when(smbPipeHandle.getOutput()).thenReturn(mockOutputStream);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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 = true
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Oct 24 04:05:19 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t10/ProjectInheritanceTest.java

    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Verifies scope inheritance of direct and transitive dependencies.
     *
     * Should show three behaviors:
     *
     * 1. dependencyManagement should override the scope of transitive dependencies.
     * 2. Direct dependencies should override the scope of dependencyManagement.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  8. 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 resolved
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  9. 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 constructor
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  10. 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)
Back to top