Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 241 - 250 of 1,399 for setups (0.06 seconds)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/MsPowerPointExtractorTest.java

        private static final Logger logger = LogManager.getLogger(MsPowerPointExtractorTest.class);
    
        public MsPowerPointExtractor msPowerPointExtractor;
    
        @Override
        protected void setUp() throws Exception {
            super.setUp();
            StandardCrawlerContainer container = new StandardCrawlerContainer().singleton("msPowerPointExtractor", MsPowerPointExtractor.class);
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sat Mar 15 06:52:00 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  2. cmd/erasure-decode_test.go

    	}
    }
    
    // Benchmarks
    
    func benchmarkErasureDecode(data, parity, dataDown, parityDown int, size int64, b *testing.B) {
    	setup, err := newErasureTestSetup(b, data, parity, blockSizeV2)
    	if err != nil {
    		b.Fatalf("failed to create test setup: %v", err)
    	}
    	disks := setup.disks
    	erasure, err := NewErasure(context.Background(), data, parity, blockSizeV2)
    	if err != nil {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 21K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java

        @Mock
        private SmbResourceLocator locator;
    
        @Mock
        private Configuration config;
    
        @Mock
        private CIFSContext cifsContext;
    
        @BeforeEach
        void setup() {
            // Tree handle lifecycle and config
            lenient().when(tree.acquire()).thenReturn(tree);
            lenient().when(tree.isConnected()).thenReturn(true);
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.7K bytes
    - Click Count (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/XmlExtractorTest.java

        private static final Logger logger = LogManager.getLogger(XmlExtractorTest.class);
    
        public XmlExtractor xmlExtractor;
    
        @Override
        protected void setUp() throws Exception {
            super.setUp();
            StandardCrawlerContainer container = new StandardCrawlerContainer().singleton("xmlExtractor", XmlExtractor.class);
            xmlExtractor = container.getComponent("xmlExtractor");
        }
    
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sat Mar 15 06:52:00 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/impl/UrlFilterImplTest.java

     *
     */
    public class UrlFilterImplTest extends PlainTestCase {
        public UrlFilterImpl urlFilter;
    
        public MemoryDataHelper dataHelper;
    
        @Override
        protected void setUp() throws Exception {
            super.setUp();
            StandardCrawlerContainer container = new StandardCrawlerContainer().singleton("dataHelper", MemoryDataHelper.class)//
                    .singleton("urlFilterService", UrlFilterServiceImpl.class)//
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sat Mar 15 06:52:00 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java

            return this.dataCount;
        }
    
        /**
         * Sets the data count for this transaction response
         * @param dataCount
         *            the dataCount to set
         */
        public final void setDataCount(final int dataCount) {
            this.dataCount = dataCount;
        }
    
        /**
         * Sets the transaction buffer
         * @param buffer
         *            the transaction buffer to use
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java

                } catch (Error e) {
                    // Factory already set, that's fine
                    handlerRegistered = true;
                }
            }
        }
    
        @BeforeEach
        void setup() throws MalformedURLException, CIFSException {
            // Common happy-path defaults
            // Use lenient() to avoid strict stubbing issues with Mockito
            lenient().when(tree.acquire()).thenReturn(tree);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  8. src/test/java/jcifs/pac/kerberos/KerberosPacAuthDataTest.java

    class KerberosPacAuthDataTest {
    
        private Map<Integer, KerberosKey> keys;
    
        @BeforeEach
        void setUp() {
            keys = new HashMap<>();
        }
    
        // Test successful PAC creation with mocked Pac construction
        @Test
        void testConstructorSuccess() throws PACDecodingException {
            // Setup key
            byte[] keyBytes = new byte[32];
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/ResponseDataTest.java

        public void test_urlGetterSetter() {
            // Test URL getter/setter
            ResponseData data = new ResponseData();
            String url = "https://example.com/path";
    
            data.setUrl(url);
            assertEquals(url, data.getUrl());
    
            data.setUrl(null);
            assertNull(data.getUrl());
        }
    
        public void test_httpStatusCodeGetterSetter() {
            // Test HTTP status code getter/setter
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Nov 13 13:29:22 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  10. src/test/java/jcifs/http/NtlmSspTest.java

            byte[] finalMessage = new byte[154];
            System.arraycopy(message, 0, finalMessage, 0, 154);
    
            return Base64.getEncoder().encodeToString(finalMessage);
        }
    
        @BeforeEach
        public void setUp() throws UnknownHostException {
            ntlmSsp = new NtlmSsp();
    
            // Use lenient stubbing to avoid UnnecessaryStubbing errors for tests that don't need all mocks
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 11.4K bytes
    - Click Count (1)
Back to Top