Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 1,320 for helper (0.04 sec)

  1. src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java

    import jcifs.internal.util.SMBUtil;
    import jcifs.smb.NtlmPasswordAuthenticator;
    import jcifs.smb.SmbException;
    
    /**
     * Unit tests exercising {@link SmbComSessionSetupAndX}.  The class under test
     * contains several protected helper methods and a complex constructor
     * that branches on credential type.  These tests use reflection to call
     * protected methods and Mockito to stub collaborators.
     */
    @ExtendWith(MockitoExtension.class)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/session/Smb2LogoffResponseTest.java

    import jcifs.Configuration;
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.util.SMBUtil;
    
    @ExtendWith(MockitoExtension.class)
    class Smb2LogoffResponseTest {
    
        // Helper to create an instance with a mocked Configuration
        private Smb2LogoffResponse newResponse() {
            Configuration cfg = Mockito.mock(Configuration.class);
            return new Smb2LogoffResponse(cfg);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrConnect2Test.java

     * These tests verify that the constructor accepts various parameters
     * without throwing exceptions.
     */
    @ExtendWith(MockitoExtension.class)
    class MsrpcSamrConnect2Test {
    
        // Helper method to create a minimal SamrPolicyHandle instance.
        private static SamrPolicyHandle createMockPolicyHandle() {
            return mock(SamrPolicyHandle.class);
        }
    
        @Nested
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/CrawlerClientFactoryTest.java

    import org.codelibs.fess.crawler.container.StandardCrawlerContainer;
    import org.codelibs.fess.crawler.entity.RequestData;
    import org.codelibs.fess.crawler.entity.ResponseData;
    import org.codelibs.fess.crawler.helper.impl.MimeTypeHelperImpl;
    import org.dbflute.utflute.core.PlainTestCase;
    
    /**
     * @author shinsuke
     *
     */
    public class CrawlerClientFactoryTest extends PlainTestCase {
        public CrawlerClientFactory clientFactory;
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/SearchHelperTest.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.Base64;
    import java.util.Collections;
    import java.util.HashMap;
    import java.util.Locale;
    import java.util.Map;
    
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.entity.FacetInfo;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserTimeZoneProcessProviderTest.java

            // Should still return empty optional
            assertNotNull(result);
            assertFalse(result.isPresent());
        }
    
        // Helper method to create mock RequestManager
        private RequestManager createMockRequestManager() {
            return new SimpleRequestManager() {
                // No additional overrides needed for testing
            };
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  9. 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)
  10. src/main/java/org/codelibs/fess/app/web/admin/sereq/AdminSereqAction.java

         * Creates a CURL request from the provided header string.
         *
         * @param header the header string containing HTTP method and path
         * @return CURL request object or null if header is invalid
         */
        private CurlRequest getCurlRequest(final String header) {
            if (StringUtil.isBlank(header)) {
                return null;
            }
    
            final String[] values = header.split(" ");
            if (values.length != 2) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.2K bytes
    - Viewed (0)
Back to top