Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 178 for Given (1.78 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/service/DataService.java

        /**
         * Stores the given access result.
         *
         * @param accessResult the access result to store
         */
        void store(RESULT accessResult);
    
        /**
         * Updates the given access result.
         *
         * @param accessResult the access result to update
         */
        void update(RESULT accessResult);
    
        /**
         * Updates the given list of access results.
         *
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/DfsReferralDataTest.java

                mockReferralData.next();
                mockReferralData.getLink();
            });
        }
    
        @Test
        @DisplayName("Should get server")
        void testGetServer() {
            // Given
            String server = "testserver";
            when(mockReferralData.getServer()).thenReturn(server);
    
            // When
            String result = mockReferralData.getServer();
    
            // Then
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationTest.java

     */
    class Trans2QueryPathInformationTest {
    
        /**
         * Tests the constructor of Trans2QueryPathInformation.
         */
        @Test
        void testConstructor() {
            // Given
            String filename = "testFile.txt";
            int informationLevel = 0x0100; // SMB_QUERY_FILE_BASIC_INFO
    
            // When
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/EncdecTest.java

     */
    @DisplayName("Encdec Utility Tests")
    class EncdecTest extends BaseTest {
    
        @Test
        @DisplayName("Should encode and decode 16-bit integers")
        void testInt16Operations() {
            // Given
            short value = 0x1234;
            byte[] buffer = new byte[2];
    
            // When - encode little endian
            Encdec.enc_uint16le(value, buffer, 0);
            short decoded = (short) Encdec.dec_uint16le(buffer, 0);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/AddressTest.java

        @Mock
        private Address mockAddress;
    
        @Test
        @DisplayName("Address interface should define correct method signatures")
        void testInterfaceContract() {
            // Given
            Address address = mockAddress;
    
            // When & Then - verify interface methods exist and can be called
            assertDoesNotThrow(() -> {
                address.getHostName();
                address.getHostAddress();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/NtStatusTest.java

            // Given
            int successStatus = NtStatus.NT_STATUS_SUCCESS;
    
            // When/Then
            assertEquals(0x00000000, successStatus);
            // Success status should be zero
            assertTrue(successStatus == 0);
        }
    
        @Test
        @DisplayName("Should identify error status codes")
        void testErrorStatusIdentification() {
            // Given
            int[] errorStatuses =
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/beans/BeanDesc.java

         * Returns the {@link ConstructorDesc} for the given parameter types.
         *
         * @param paramTypes
         *            The array of parameter types for the constructor
         * @return The {@link ConstructorDesc} for the given parameter types
         */
        ConstructorDesc getConstructorDesc(Class<?>... paramTypes);
    
        /**
         * Returns the {@link ConstructorDesc} that matches the given arguments.
         *
         * @param args
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 24 01:52:43 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/CIFSUnsupportedCryptoExceptionTest.java

        private static final String ALGORITHM_NAME = "AES-256-GCM";
    
        @Test
        @DisplayName("Default constructor should create exception with null message and cause")
        void testDefaultConstructor() {
            // Given & When
            CIFSUnsupportedCryptoException exception = new CIFSUnsupportedCryptoException();
    
            // Then
            assertNull(exception.getMessage(), "Default constructor should have null message");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/util/HexdumpTest.java

     */
    @DisplayName("Hexdump Utility Tests")
    class HexdumpTest extends BaseTest {
    
        @Test
        @DisplayName("Should convert byte array to hex string")
        void testToHexString() {
            // Given
            byte[] data = { 0x00, 0x0F, (byte) 0xFF, 0x7F, (byte) 0x80 };
    
            // When
            String result = Hexdump.toHexString(data);
    
            // Then
            assertNotNull(result);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/CredentialsTest.java

                mockCredentials.isAnonymous();
                mockCredentials.isGuest();
            });
        }
    
        @Test
        @DisplayName("Should unwrap to correct type")
        void testUnwrap() {
            // Given
            when(mockCredentials.unwrap(Credentials.class)).thenReturn(mockCredentials);
    
            // When
            Credentials unwrapped = mockCredentials.unwrap(Credentials.class);
    
            // Then
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.5K bytes
    - Viewed (0)
Back to top