Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 360 for yields (0.8 sec)

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

            assertEquals(expectedNt, actual.get(), String.format("NTSTATUS for %08x should be %08x", dosErr, expectedNt));
        }
    
        @Test
        @DisplayName("Unknown DOS error code yields empty Optional")
        void testUnknownCode() {
            Optional<Integer> noMatch = findNtStatus(0xdeadbeef);
            assertFalse(noMatch.isPresent(), "Mapping for unknown code should be absent");
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/StaticJAASConfigurationTest.java

    class StaticJAASConfigurationTest {
    
        // Constants used in assertions
        private static final String EXPECTED_LOGIN_MODULE = "com.sun.security.auth.module.Krb5LoginModule";
    
        @Test
        @DisplayName("Default constructor yields REQUIRED Krb5 entry with empty options")
        void defaultConstructor_producesRequiredKrb5EntryWithEmptyOptions() {
            // Arrange
            StaticJAASConfiguration cfg = new StaticJAASConfiguration();
    
            // Act
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/NetServerFileEntryAdapterIteratorTest.java

            // Act
            itr.remove();
    
            // Assert
            verify(delegate, times(1)).remove();
        }
    
        @Test
        @DisplayName("Edge: empty delegate yields no elements")
        void emptyDelegate_hasNoNext() {
            // Arrange - no parent setup needed since no URLs are created
            when(delegate.hasNext()).thenReturn(false);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SecurityBlobTest.java

            // Arrange
            SecurityBlob blob = new SecurityBlob(new byte[] { 1, 2, 3 });
    
            // Force internal field to null via reflection to exercise defensive branch
            Field field = SecurityBlob.class.getDeclaredField("b");
            field.setAccessible(true);
            field.set(blob, null);
    
            // Act & Assert
            assertEquals(0, blob.length(), "length() should return 0 when internal array is null");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/index/contents/ContentsParser.java

        /**
         * Parses a document and extracts suggest items based on the provided fields and converters.
         *
         * @param document The document to parse, represented as a map of field names to values.
         * @param fields The fields to extract from the document.
         * @param tagFieldNames The names of the fields that contain tags.
         * @param roleFieldName The name of the field that contains role information.
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/MsrpcEnumerateAliasesInDomainTest.java

            // Then
            // Verify that the 'sam' field is set correctly
            assertEquals(mockSamArray, msrpc.sam, "The 'sam' field should be initialized with the provided SamrSamArray.");
    
            // Verify that the 'ptype' field is set to 0
            assertEquals(0, msrpc.getPtype(), "The 'ptype' field should be initialized to 0.");
    
            // Verify that the 'flags' field is set to DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/dtyp/SecurityInfoTest.java

        void testConstantsArePublicStaticFinal() {
            Field[] fields = SecurityInfo.class.getDeclaredFields();
    
            for (Field field : fields) {
                int modifiers = field.getModifiers();
                assertTrue(Modifier.isPublic(modifiers), "Field " + field.getName() + " should be public");
                assertTrue(Modifier.isStatic(modifiers), "Field " + field.getName() + " should be static");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/opensearch/log/exentity/FavoriteLog.java

            if (value instanceof final LocalDateTime ldt) {
                final ZonedDateTime zdt = ZonedDateTime.of(ldt, ZoneId.systemDefault());
                super.addFieldToSource(sourceMap, field, DateTimeFormatter.ISO_INSTANT.format(zdt));
            } else {
                super.addFieldToSource(sourceMap, field, value);
            }
        }
    
        @Override
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/msrpc/MsrpcGetMembersInAliasTest.java

            // Use reflection to access and verify protected fields from the parent class DcerpcMessage
            Field ptypeField = DcerpcMessage.class.getDeclaredField("ptype");
            ptypeField.setAccessible(true);
            int ptypeValue = (int) ptypeField.get(request);
            assertEquals(0, ptypeValue, "The 'ptype' field should be initialized to 0.");
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/constants/FieldNames.java

     * <li>{@link #QUERY_FREQ} - The query frequency field.</li>
     * <li>{@link #DOC_FREQ} - The document frequency field.</li>
     * <li>{@link #USER_BOOST} - The user boost field.</li>
     * <li>{@link #KINDS} - The kinds field.</li>
     * <li>{@link #TIMESTAMP} - The timestamp field.</li>
     * <li>{@link #TAGS} - The tags field.</li>
     * <li>{@link #ROLES} - The roles field.</li>
     * <li>{@link #FIELDS} - The fields field.</li>
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 4.7K bytes
    - Viewed (0)
Back to top