Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for declared (2.01 sec)

  1. src/test/java/jcifs/smb/SMBSignatureValidationExceptionTest.java

            verifyNoInteractions(mocked);
        }
    
        // Reflection-based check: ensure serialVersionUID remains the declared constant
        @Test
        @DisplayName("serialVersionUID matches declared constant")
        void serialVersionUID_hasExpectedValue() throws Exception {
            // Arrange
            Field f = SMBSignatureValidationException.class.getDeclaredField("serialVersionUID");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/lang/MethodUtil.java

                    && method.getParameterTypes().length == 0;
        }
    
        /**
         * Returns the element type of the parameterized collection declared as the method's argument type.
         *
         * @param method
         *            The method. Cannot be {@literal null}
         * @param position
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/spnego/SpnegoConstantsTest.java

            assertTrue(c.isInterface(), "SpnegoConstants must be an interface");
            assertEquals(4, c.getDeclaredFields().length, "Unexpected number of fields");
            assertEquals(0, c.getDeclaredMethods().length, "No declared methods expected");
            assertEquals(0, c.getDeclaredConstructors().length, "Interfaces have no constructors");
        }
    
        @Test
        @DisplayName("Fields are public static final Strings with expected values")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/lang/ConstructorUtil.java

     */
    public abstract class ConstructorUtil {
    
        /**
         * Do not instantiate.
         */
        protected ConstructorUtil() {
        }
    
        /**
         * Creates and initializes a new instance of the class declared by the specified constructor with the given initialization parameters.
         *
         * @param <T> the type of the object
         * @param constructor the constructor (must not be {@literal null})
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbFilenameFilterTest.java

        }
    
        /**
         * Exception flow: filter throws SmbException and it propagates to caller.
         */
        @Test
        @DisplayName("throws SmbException as declared by contract")
        void throwsSmbExceptionFromFilter() {
            SmbFilenameFilter filter = (dir, name) -> {
                throw new SmbException("boom");
            };
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/SmbResourceTest.java

                assertEquals(1, existsExceptions.length, "exists() should declare CIFSException");
                assertEquals(CIFSException.class, existsExceptions[0], "Should declare CIFSException");
                assertEquals(1, getTypeExceptions.length, "getType() should declare CIFSException");
                assertEquals(CIFSException.class, getTypeExceptions[0], "Should declare CIFSException");
            }
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/MemoryDataHelper.java

     *
     * <p>The class is thread-safe due to the use of {@code synchronized} keyword on methods that
     * modify the internal data structures. The internal maps are also declared as {@code volatile}
     * to ensure visibility of changes across threads.
     *
     * <p>The class also provides methods to manage URL patterns for inclusion and exclusion, which
     * are stored as {@code Pattern} objects.
     */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/RequestParamTest.java

     */
    @ExtendWith(MockitoExtension.class)
    public class RequestParamTest {
    
        // Happy path: values() returns all constants in declaration order
        @Test
        @DisplayName("values() returns all declared constants in order")
        void valuesContainsAllInOrder() {
            RequestParam[] values = RequestParam.values();
    
            assertNotNull(values, "values() must not return null");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java

        public void testMethodOverrides() throws NoSuchMethodException {
            // Given
            Class<?> clazz = SmbComTreeDisconnect.class;
    
            // When & Then - verify methods are declared in this class (overridden)
            Method writeParameterWords = clazz.getDeclaredMethod("writeParameterWordsWireFormat", byte[].class, int.class);
            assertNotNull(writeParameterWords);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/lang/ClassUtil.java

            } catch (final NoSuchFieldException e) {
                throw new NoSuchFieldRuntimeException(clazz, name, e);
            }
        }
    
        /**
         * Returns a {@link Field} object that reflects the specified declared field of the class or interface represented by the {@link Class} object.
         *
         * @param clazz
         *            The {@link Class} object representing the class. Must not be {@literal null}.
         * @param name
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 25.6K bytes
    - Viewed (0)
Back to top