Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 222 for getter (0.03 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerContextTest.java

            assertEquals(20, context.getMaxThreadCheckCount());
            assertEquals(-1, context.getMaxDepth());
            assertEquals(0L, context.getMaxAccessCount());
        }
    
        /**
         * Test sessionId getter and setter
         */
        public void test_sessionId() {
            assertNull(crawlerContext.getSessionId());
    
            crawlerContext.setSessionId("test-session-001");
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/entity/PingResponseTest.java

            // These tests verify the PingResponse class structure is correct
            assertTrue(true);
        }
    
        public void test_getClusterName_returnsCorrectValue() {
            // Test cluster name getter exists
            FessConfig mockConfig = new FessConfig.SimpleImpl() {
                private static final long serialVersionUID = 1L;
    
                @Override
                public Set<String> getApiPingEsFieldSet() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/FileEntryTest.java

        }
    
        @ParameterizedTest(name = "Int getter {2} returns {1}")
        @MethodSource("intGetterProvider")
        void intGetters_edgeCases(IntGetter getter, int value, String label) {
            // Arrange
            FileEntry e = new TestFileEntry("n", value, value, 0L, 0L, 0L, 0L, value);
            // Act
            int actual = getter.apply(e);
            // Assert
            assertEquals(value, actual, label);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10K bytes
    - Viewed (0)
  4. src/test/java/jcifs/spnego/SpnegoTokenTest.java

            assertNull(t.getMechanismToken(), "mechanismToken should default to null");
            assertNull(t.getMechanismListMIC(), "mechanismListMIC should default to null");
        }
    
        @Test
        @DisplayName("Setter and getter for mechanismToken work")
        void setGetMechanismToken() {
            TestSpnegoToken t = new TestSpnegoToken();
            byte[] data = new byte[] { 1, 2, 3 };
            t.setMechanismToken(data);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java

        }
    
        @Override
        public final Method getReadMethod() {
            return readMethod;
        }
    
        /**
         * Sets the getter method.
         *
         * @param readMethod
         *            The getter method.
         */
        protected final void setReadMethod(final Method readMethod) {
            this.readMethod = readMethod;
            if (readMethod != null) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 24 01:52:43 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java

        }
    
        @Test
        @DisplayName("Test subCommand getter and setter")
        void testSubCommandGetterSetter() {
            byte subcommand = (byte) 0x05;
            response.setSubCommand(subcommand);
            assertEquals(subcommand, response.getSubCommand());
        }
    
        @Test
        @DisplayName("Test status getter and setter")
        void testStatusGetterSetter() {
            assertEquals(0, response.getStatus());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/SmbPipeHandleTest.java

        }
    
        /**
         * Tests that the getter for the underlying pipe resource returns the correct instance.
         */
        @Test
        public void testGetPipe() {
            assertEquals(mockPipeResource, smbPipeHandle.getPipe(), "getPipe() should return the underlying pipe resource.");
        }
    
        /**
         * Tests that the getter for the input stream returns the correct stream.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/SmbBasicFileInfoTest.java

                    Arguments.of(-1, -2L, -3L, -4L, -5L) // negative values
            );
        }
    
        // --- Mockito interaction: verify each getter is invoked and returns stubbed values ---
        @Test
        void mockitoMock_verifiesGetterInteractions() {
            // Arrange: mock and stub each getter with distinct values
            SmbBasicFileInfo mock = Mockito.mock(SmbBasicFileInfo.class);
            Mockito.when(mock.getAttributes()).thenReturn(7);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/msrpc/MsrpcDfsRootEnumTest.java

            // Then
            assertNotNull(dfsRootEnum, "The MsrpcDfsRootEnum object should not be null.");
            // The server name is stored in a protected field without a public getter, so we cannot directly test it.
            // We can test the public fields that are set.
            assertEquals(200, dfsRootEnum.level, "The level should be initialized to 200.");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/AbstractRule.java

     * Provides common functionality and properties for crawler rules.
     *
     * <p>
     * This class handles the registration of rules with the {@link RuleManager}
     * and provides getter and setter methods for common properties such as
     * {@code ruleId} and {@code responseProcessor}.
     * </p>
     *
     * <p>
     * Subclasses should extend this class and implement the abstract methods
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 2.8K bytes
    - Viewed (0)
Back to top