Search Options

Results per page
Sort
Preferred Languages
Advance

Results 501 - 510 of 1,167 for SetUp (0.05 sec)

  1. guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

        extends AbstractTester<OneSizeTestContainerGenerator<C, E>> {
      protected SampleElements<E> samples;
      protected C container;
    
      @Override
      @OverridingMethodsMustInvokeSuper
      public void setUp() throws Exception {
        super.setUp();
        samples = this.getSubjectGenerator().samples();
        resetContainer();
      }
    
      /**
       * @return the contents of the container under test, for use by {@link #expectContents(Object[])
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java

        private Configuration mockConfig;
    
        private static final String TEST_FILENAME = "test/file.txt";
        private static final int TEST_INFO_LEVEL = FileInformation.FILE_BASIC_INFO;
    
        @BeforeEach
        void setUp() throws Exception {
            MockitoAnnotations.openMocks(this);
            Properties props = new Properties();
            config = new PropertyConfiguration(props);
        }
    
        @Test
        void testConstructor() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/http/HcHttpClientTest.java

    /**
     * @author shinsuke
     *
     */
    public class HcHttpClientTest extends PlainTestCase {
        public HcHttpClient httpClient;
    
        public UrlFilter urlFilter;
    
        @Override
        protected void setUp() throws Exception {
            super.setUp();
            StandardCrawlerContainer container = new StandardCrawlerContainer().singleton("mimeTypeHelper", MimeTypeHelperImpl.class)//
                    .singleton("dataHelper", MemoryDataHelper.class)//
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/query/MatchAllQueryCommandTest.java

                    return fields;
                }
            });
        }
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
    
            // Setup FessConfig
            setupMockFessConfig();
    
            // Initialize QueryFieldConfig
            QueryFieldConfig queryFieldConfig = new QueryFieldConfig();
            queryFieldConfig.init();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java

        }
    
        private HtmlResponse asListHtml(final UploadForm uploadForm) {
            return asHtml(path_AdminDesign_AdminDesignJsp).useForm(DesignForm.class, setup -> {
                setup.setup(form -> {
                    copyBeanToBean(uploadForm, form, op -> op.include("designFile", "designFileName"));
                });
            });
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/WebFsIndexHelperTest.java

    import org.codelibs.fess.util.ComponentUtil;
    
    public class WebFsIndexHelperTest extends UnitFessTestCase {
    
        private WebFsIndexHelper webFsIndexHelper;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            webFsIndexHelper = new WebFsIndexHelper();
        }
    
        public void test_crawl_withNullParameters() {
            try {
                webFsIndexHelper.crawl("sessionId", null, null);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/PermissionHelperTest.java

    import org.codelibs.fess.util.ComponentUtil;
    
    public class PermissionHelperTest extends UnitFessTestCase {
    
        public PermissionHelper permissionHelper;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            permissionHelper = new PermissionHelper();
            permissionHelper.systemHelper = new SystemHelper();
        }
    
        public void test_encode() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/http/NtlmServletTest.java

        @Mock
        private NameServiceClient nameServiceClient;
    
        /**
         * Sets up the mock objects before each test.
         * @throws CIFSException
         */
        @BeforeEach
        void setUp() throws CIFSException {
            ntlmServlet = new TestNtlmServlet();
    
            // Mock ServletConfig to provide initialization parameters
            Map<String, String> initParams = new HashMap<>();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbPipeHandleImplTest.java

        private SmbPipeHandleImpl target;
    
        @BeforeEach
        void setUp() throws SmbException {
            // Default pipe characteristics: neither transact nor call; RDWR for access
            when(pipe.getPipeType()).thenReturn(SmbPipeResource.PIPE_TYPE_RDWR);
            when(pipe.getUncPath()).thenReturn("\\\\pipe\\\\my-pipe");
    
            // Setup tree with configuration
            when(tree.getConfig()).thenReturn(config);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  10. android-test/src/test/kotlin/okhttp/android/test/BaseOkHttpClientUnitTest.kt

    import org.junit.AssumptionViolatedException
    import org.junit.Before
    import org.junit.Test
    
    abstract class BaseOkHttpClientUnitTest {
      private lateinit var client: OkHttpClient
    
      @Before
      fun setUp() {
        client =
          OkHttpClient
            .Builder()
            .cache(Cache(FakeFileSystem(), "/cache".toPath(), 10_000_000))
            .build()
      }
    
      @Test
      fun testRequestExternal() {
        assumeNetwork()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 22 20:03:31 UTC 2025
    - 2.3K bytes
    - Viewed (0)
Back to top