Search Options

Results per page
Sort
Preferred Languages
Advance

Results 501 - 510 of 786 for Helpers (0.06 sec)

  1. src/test/java/org/codelibs/fess/entity/FacetQueryViewTest.java

     */
    package org.codelibs.fess.entity;
    
    import java.util.ArrayList;
    import java.util.LinkedHashMap;
    import java.util.List;
    import java.util.Map;
    
    import org.codelibs.fess.helper.FileTypeHelper;
    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.codelibs.fess.util.ComponentUtil;
    
    public class FacetQueryViewTest extends UnitFessTestCase {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/Utf8Test.java

        expected[119] = 1048576;
        expected[120] = 458752;
        expected[121] = 524288;
        expected[122] = 65536;
        // Anything not assigned was the default 0.
        return expected;
      }
    
      /**
       * Helper to run the loop to test all the permutations for the number of bytes specified.
       *
       * @param numBytes the number of bytes in the byte array
       * @param expectedCount the expected number of roundtrippable permutations
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/witness/MockWitnessService.java

                    }
                }
            }
        }
    
        @Override
        public void close() {
            stop();
        }
    
        /**
         * Helper method to create a complete mock service address
         *
         * @return formatted address string for RPC connections
         */
        public String getServiceAddress() {
            try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/exception/FessSystemExceptionTest.java

            } catch (FessSystemException e) {
                assertEquals(expectedMessage, e.getMessage());
                assertEquals(expectedCause, e.getCause());
            }
        }
    
        // Test helper class to access protected constructor
        private static class TestFessSystemException extends FessSystemException {
            public TestFessSystemException(String message, boolean enableSuppression, boolean writableStackTrace) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/dtyp/SecurityInfoTest.java

                    assertTrue(value <= 0xFFFF, "Constant " + field.getName() + " value seems unusually large");
                }
            }
        }
    
        /**
         * Helper method to check if a number is a power of two
         */
        private boolean isPowerOfTwo(int n) {
            return n > 0 && (n & (n - 1)) == 0;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/SmbComWriteTest.java

    import java.lang.reflect.Field;
    
    import org.junit.jupiter.api.Test;
    
    /**
     * Tests for SmbComWrite command - SMB write operations
     */
    public class SmbComWriteTest {
    
        /**
         * Helper method to get private field value using reflection
         */
        private Object getFieldValue(Object obj, String fieldName) {
            try {
                Field field = SmbComWrite.class.getDeclaredField(fieldName);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/SmbSessionTest.java

    public class SmbSessionTest {
    
        @Mock
        UniAddress addr;
        @Mock
        InetAddress inet;
        NtlmPasswordAuthentication auth;
        @Mock
        SmbTransport transport;
    
        // static helper that returns the mocked transport. The real class
        // performs several other operations, but for the purpose of the test
        // we intercept the factory call.
        private MockedStatic<SmbTransport> smbtStatic;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/job/PurgeLogJob.java

    import org.codelibs.fess.app.service.JobLogService;
    import org.codelibs.fess.app.service.SearchLogService;
    import org.codelibs.fess.app.service.UserInfoService;
    import org.codelibs.fess.helper.SystemHelper;
    import org.codelibs.fess.util.ComponentUtil;
    
    /**
     * Job for purging old log entries from the system.
     * This job removes old crawling sessions, search logs, job logs, and user info logs
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/AccessTokenHelperTest.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.helper;
    
    import java.util.ArrayList;
    import java.util.List;
    import java.util.Random;
    
    import org.codelibs.fess.exception.InvalidAccessTokenException;
    import org.codelibs.fess.unit.UnitFessTestCase;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java

                return nextBlock;
            }
    
            @Override
            public void setNext(ServerMessageBlock2 next) {
                this.nextBlock = next;
            }
    
            // Helper methods to manipulate parent's private fields via reflection or protected methods
            public void setStatusForTest(int status) {
                // Workaround: Use reflection to set private status field
                try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.3K bytes
    - Viewed (0)
Back to top