Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 3,508 for should (0.34 sec)

  1. src/test/java/jcifs/smb1/UniAddressTest.java

            assertEquals("NEXT", next, "nextCalledName should delegate to NbtAddress when called");
        }
    
        @Test
        void nextCalledNameWithInetAddressReturnsSMBSERVERFirstIfNotDefault() {
            // Arrange
            InetAddress addr = mock(InetAddress.class);
            when(addr.getHostName()).thenReturn("mycomputer.foo.com");
            UniAddress ua = new UniAddress(addr);
            // Act: first call should set to SMBSERVER_NAME
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java

        }
    
        @Test
        @DisplayName("Constructor should initialize TransWaitNamedPipeResponse")
        void testConstructor() {
            // Assert
            assertNotNull(response);
            // Verify parent class is properly initialized
            assertTrue(response instanceof SmbComTransactionResponse);
        }
    
        @Test
        @DisplayName("writeSetupWireFormat should return 0")
        void testWriteSetupWireFormat() {
            // Arrange
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/helper/ThemeHelperTest.java

            try {
                Artifact artifact = new Artifact("fess-theme-test", "1.0.0");
                themeHelper.getJarFile(artifact);
                fail("Should throw ThemeException");
            } catch (Exception e) {
                // Should throw ThemeException or other exception related to file not found
                assertTrue(e.getMessage().contains("does not exist") || e instanceof ThemeException);
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java

        @Test
        public void testGetAttributes() {
            // Initially, attributes should be 0.
            assertEquals(0, response.getAttributes());
        }
    
        /**
         * Test of getCreateTime method, of class SmbComQueryInformationResponse.
         */
        @Test
        public void testGetCreateTime() {
            // Initially, lastWriteTime is 0, so createTime should be just the offset.
            assertEquals(serverTimeZoneOffset, response.getCreateTime());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/ACETest.java

                assertEquals(0x00000008, ACE.FILE_READ_EA, "FILE_READ_EA should be 0x00000008");
                assertEquals(0x00000010, ACE.FILE_WRITE_EA, "FILE_WRITE_EA should be 0x00000010");
                assertEquals(0x00000020, ACE.FILE_EXECUTE, "FILE_EXECUTE should be 0x00000020");
                assertEquals(0x00000040, ACE.FILE_DELETE, "FILE_DELETE should be 0x00000040");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/impl/LogHelperImpl.java

         * @param objs the log objects
         */
        protected void processDefault(final Object... objs) {
        }
    
        /**
         * Processes system error log events.
         *
         * @param objs the log objects (should contain a Throwable)
         */
        protected void processSystemError(final Object... objs) {
            final Throwable t = (Throwable) objs[0];
            if (logger.isErrorEnabled()) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14K bytes
    - Viewed (0)
  7. src/test/java/jcifs/audit/SecurityAuditLoggerTest.java

            assertEquals(Long.valueOf(1), stats.get(EventType.AUTHENTICATION_SUCCESS), "Should have 1 authentication success event");
            assertEquals(Long.valueOf(1), stats.get(EventType.AUTHENTICATION_FAILURE), "Should have 1 authentication failure event");
            assertEquals(Long.valueOf(1), stats.get(EventType.FILE_ACCESS), "Should have 1 file access event");
        }
    
        @Test
        @DisplayName("Test reset statistics")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/EmptyIteratorTest.java

        void testHasNextAlwaysReturnsFalse() {
            // When & Then
            assertFalse(emptyIterator.hasNext(), "hasNext should return false");
            assertFalse(emptyIterator.hasNext(), "hasNext should consistently return false");
            assertFalse(emptyIterator.hasNext(), "hasNext should always return false on repeated calls");
        }
    
        @Test
        @DisplayName("next should return null")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/timer/SystemMonitorTargetTest.java

                    assertEquals("appendFesenStats should take StringBuilder parameter", 1, method.getParameterCount());
                    assertEquals("appendFesenStats should take StringBuilder", StringBuilder.class, method.getParameterTypes()[0]);
                    break;
                }
            }
    
            assertTrue("Should have appendOsStats method", hasAppendOsStats);
            assertTrue("Should have appendProcessStats method", hasAppendProcessStats);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java

            NdrShort ns = new NdrShort(original);
            buf.reset();
            ns.encode(buf); // should not throw
    
            // After encoding, check how many bytes were used
            int bytesUsed = buf.getIndex();
            // Should be 2 bytes for the short value (alignment may add padding)
            assertTrue(bytesUsed >= 2, "Should use at least 2 bytes for short");
    
            // Reset index to read back
            buf.reset();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
Back to top