Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 423 for corretto (0.04 sec)

  1. src/test/java/org/codelibs/fess/validation/FessActionValidatorTest.java

    public class FessActionValidatorTest extends UnitFessTestCase {
    
        public void test_constructor() {
            // Test basic class structure without complex mocking
            assertEquals("FessActionValidator should be in correct package", "org.codelibs.fess.validation.FessActionValidator",
                    FessActionValidator.class.getName());
        }
    
        public void test_inheritance() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/tomcat/webresources/FessWebResourceRootTest.java

    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class FessWebResourceRootTest extends UnitFessTestCase {
    
        public void test_classExists() {
            // Basic test to verify the class exists and has the correct structure
            assertNotNull("FessWebResourceRoot class should exist", FessWebResourceRoot.class);
        }
    
        public void test_inheritance() {
            // Verify that FessWebResourceRoot extends StandardRoot
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java

        class FlagConstantsTests {
    
            @Test
            @DisplayName("Should have correct shared lock flag value")
            void testSharedLockFlag() {
                assertEquals(0x1, Smb2Lock.SMB2_LOCKFLAG_SHARED_LOCK);
            }
    
            @Test
            @DisplayName("Should have correct exclusive lock flag value")
            void testExclusiveLockFlag() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/RequestWithPathTest.java

        private TestRequestWithPath testImplementation;
    
        @BeforeEach
        void setUp() {
            testImplementation = new TestRequestWithPath();
        }
    
        @Test
        @DisplayName("Test getPath returns correct path")
        void testGetPath() {
            // Test with mock
            String expectedPath = "/share/folder/file.txt";
            when(requestWithPath.getPath()).thenReturn(expectedPath);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/fscc/FileRenameInformation2Test.java

            byte[] buffer = new byte[100];
            int dstIndex = 10;
            int bytesWritten = info.encode(buffer, dstIndex);
    
            // Verify replaceIfExists flag at correct position
            assertEquals(1, buffer[dstIndex]);
    
            // Verify file name length at correct position
            int nameLength = SMBUtil.readInt4(buffer, dstIndex + 16);
            assertEquals(fileName.getBytes(StandardCharsets.UTF_16LE).length, nameLength);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java

            request = new Smb2SessionSetupRequest(mockContext, TEST_SECURITY_MODE, TEST_CAPABILITIES, TEST_PREVIOUS_SESSION_ID, TEST_TOKEN);
        }
    
        @Test
        @DisplayName("Should create request with correct parameters")
        void testConstructorSetsCorrectParameters() throws Exception {
            // Given & When
            int securityMode = 0x03;
            int capabilities = 0x0F;
            long previousSessionId = 0xFEDCBA9876543210L;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

            assertTrue(resp instanceof ServerMessageBlock2);
            assertTrue(resp instanceof TreeConnectResponse);
        }
    
        @Test
        @DisplayName("Should return correct share type constants")
        void testShareTypeConstants() {
            // Then
            assertEquals((byte) 0x1, Smb2TreeConnectResponse.SMB2_SHARE_TYPE_DISK);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/msrpc/SamrAliasHandleTest.java

            SamrAliasHandle aliasHandle = new SamrAliasHandle(mockDcerpcHandle, mockSamrDomainHandle, access, rid);
    
            // Assert
            assertNotNull(aliasHandle);
            // Verify that sendrecv was called with the correct MsrpcSamrOpenAlias object
            ArgumentCaptor<MsrpcSamrOpenAlias> rpcCaptor = ArgumentCaptor.forClass(MsrpcSamrOpenAlias.class);
            verify(mockDcerpcHandle).sendrecv(rpcCaptor.capture());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequestTest.java

            testState = Smb2LeaseState.SMB2_LEASE_READ_WRITE;
            leaseContext = new LeaseV1CreateContextRequest(testKey, testState);
        }
    
        @Test
        @DisplayName("Should have correct context name")
        void testContextName() {
            assertArrayEquals("RqLs".getBytes(), leaseContext.getName());
            assertEquals("RqLs", LeaseV1CreateContextRequest.CONTEXT_NAME);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java

            assertEquals(mockConfig, responseConfig);
    
            // Verify response has correct fileId
            assertEquals(testFileId, response.getFileId());
    
            // Verify response has correct fileName
            assertEquals(testFileName, response.getFileName());
        }
    
        @Test
        @DisplayName("size should return correct message size")
        void testSize() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
Back to top