Search Options

Results per page
Sort
Preferred Languages
Advance

Results 901 - 910 of 1,167 for SetUp (0.02 sec)

  1. src/test/java/jcifs/netbios/SessionRequestPacketTest.java

        @Mock
        private Configuration mockConfig;
    
        @Mock
        private NetbiosName mockCalledName;
    
        @Mock
        private NetbiosName mockCallingName;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            when(mockConfig.getNetbiosScope()).thenReturn(null);
            // Configure OEM encoding to avoid NullPointerException
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/http/HandlerTest.java

    @ExtendWith(MockitoExtension.class)
    class HandlerTest {
    
        @Mock
        private CIFSContext mockCifsContext;
    
        private Handler handler;
    
        private Properties originalSystemProperties;
    
        @BeforeEach
        void setUp() throws Exception {
            // Backup system properties to restore them after each test
            originalSystemProperties = (Properties) System.getProperties().clone();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/SMBSigningDigestTest.java

        @Mock
        private CommonServerMessageBlock response;
    
        @Mock
        private CommonServerMessageBlock message;
    
        private byte[] testData;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            testData = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 };
        }
    
        @Test
        @DisplayName("Test sign method with valid parameters")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/ServerResponseValidatorTest.java

    import jcifs.smb.SmbException;
    
    /**
     * Test cases for ServerResponseValidator
     */
    public class ServerResponseValidatorTest {
    
        private ServerResponseValidator validator;
    
        @BeforeEach
        public void setUp() {
            validator = new ServerResponseValidator();
        }
    
        @Test
        public void testValidBuffer() throws Exception {
            byte[] buffer = new byte[1024];
            validator.validateBuffer(buffer, 100, 2048);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/service/DataConfigService.java

                } else {
                    cb.query().setDescription_MatchPhrase(dataConfigPager.description);
                }
            }
            // TODO Long, Integer, String supported only.
    
            // setup condition
            cb.query().addOrderBy_SortOrder_Asc();
            cb.query().addOrderBy_Name_Asc();
    
            // search
    
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponseTest.java

     */
    class TransCallNamedPipeResponseTest {
    
        @Mock
        private Configuration mockConfig;
    
        private TransCallNamedPipeResponse response;
        private byte[] outputBuffer;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            outputBuffer = new byte[1024];
            response = new TransCallNamedPipeResponse(mockConfig, outputBuffer);
        }
    
        @Test
        void testConstructor() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/FastFallbackTest.kt

      /**
       * This is mutable and order matters. By default, it contains [IPv4, IPv6]. Tests may manipulate
       * it to prefer IPv6.
       */
      private var dnsResults = listOf<InetAddress>()
    
      @BeforeEach
      internal fun setUp() {
        val inetAddresses = InetAddress.getAllByName("localhost")
        localhostIpv4 = inetAddresses.firstOrNull { it is Inet4Address }
          ?: throw TestAbortedException()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/plugin/AdminPluginAction.java

                    logger.warn("Failed to access a plugin repository.", e);
                }
                RenderDataUtil.register(data, "availableArtifactItems", result);
            }).useForm(InstallForm.class, op -> op.setup(form -> {}));
        }
    
        private HtmlResponse asListHtml() {
            return asHtml(path_AdminPlugin_AdminPluginJsp)
                    .renderWith(data -> data.register("installedArtifactItems", getAllInstalledArtifacts()))
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/FessBoot.java

    /**
     * Main boot class for the Fess search engine application.
     * This class extends TomcatBoot to provide Fess-specific Tomcat server configuration
     * and initialization, including SSL setup, context path handling, and resource management.
     *
     * <p>The class handles system property configuration for paths, ports, and other
     * Fess-specific settings during application startup.</p>
     *
     * @since 1.0
     */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/CharSourceTest.java

      private static final ImmutableList<String> SPLIT_LINES =
          ImmutableList.of("foo", "bar", "baz", "something");
    
      private TestCharSource source;
    
      @Override
      public void setUp() {
        source = new TestCharSource(STRING);
      }
    
      public void testOpenBufferedStream() throws IOException {
        BufferedReader reader = source.openBufferedStream();
        assertTrue(source.wasStreamOpened());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 11.5K bytes
    - Viewed (0)
Back to top