Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1111 - 1120 of 1,418 for SetUp (0.22 seconds)

  1. src/main/java/org/codelibs/fess/app/service/ElevateWordService.java

            if (elevateWordPager.id != null) {
                cb.query().docMeta().setId_Equal(elevateWordPager.id);
            }
            // TODO Long, Integer, String supported only.
    
            // setup condition
            cb.query().addOrderBy_SuggestWord_Asc();
    
            // search
    
        }
    
        /**
         * Imports elevate words from a CSV file.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 18.3K bytes
    - Click Count (0)
  2. src/archive/zip/writer_test.go

    				Method: Deflate,
    			})
    			w.Write(bigBuf)
    		}
    		zw.Close()
    	}
    
    	b.ReportAllocs()
    	// Run once and then reset the timer.
    	// This effectively discards the very large initial flate setup cost,
    	// as well as the initialization of bigBuf.
    	runOnce(&bytes.Buffer{})
    	b.ResetTimer()
    
    	b.RunParallel(func(pb *testing.PB) {
    		var buf bytes.Buffer
    		for pb.Next() {
    			runOnce(&buf)
    		}
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Jan 28 04:20:09 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/SIDTest.java

        @ExtendWith(MockitoExtension.class)
        class MockedTests {
            @Mock
            CIFSContext mockCtx;
    
            @Mock
            SidResolver mockResolver;
    
            @BeforeEach
            void setup() {
                lenient().when(mockCtx.getSIDResolver()).thenReturn(mockResolver);
            }
    
            @Test
            @DisplayName("Manual resolve calls resolver with this SID")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java

    import jcifs.internal.util.SMBUtil;
    
    /**
     * Test class for SmbInfoAllocation
     */
    class SmbInfoAllocationTest {
    
        private SmbInfoAllocation smbInfoAllocation;
    
        @BeforeEach
        void setUp() {
            smbInfoAllocation = new SmbInfoAllocation();
        }
    
        @Test
        @DisplayName("Test getFileSystemInformationClass returns SMB_INFO_ALLOCATION")
        void testGetFileSystemInformationClass() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  5. src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java

    import org.junit.jupiter.api.Test;
    
    import jcifs.util.Encdec;
    
    public class NdrBufferTest {
    
        private byte[] buffer;
        private NdrBuffer ndrBuffer;
    
        @BeforeEach
        void setUp() {
            buffer = new byte[1024]; // Initialize with a reasonable size
            ndrBuffer = new NdrBuffer(buffer, 0);
        }
    
        @Test
        void testConstructor() {
            // Verify initial state
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/SmbNegotiationResponseTest.java

        @Mock
        private SmbNegotiationRequest negotiationRequest;
    
        @Mock
        private CommonServerMessageBlock serverMessageBlock;
    
        @Mock
        private Response response;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        @DisplayName("Test isValid returns true for valid negotiation")
        void testIsValidReturnsTrue() {
            // Arrange
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  7. cmd/post-policy_test.go

    			}
    		}
    	}
    }
    
    // Wrapper for calling TestPostPolicyBucketHandler tests for both Erasure multiple disks and single node setup.
    func TestPostPolicyBucketHandler(t *testing.T) {
    	ExecObjectLayerTest(t, testPostPolicyBucketHandler)
    }
    
    // testPostPolicyBucketHandler - Tests validate post policy handler uploading objects.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 30.6K bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/DispatcherTest.kt

          .newClientBuilder()
          .dns { throw UnknownHostException() }
          .dispatcher(dispatcher)
          .eventListenerFactory(clientTestRule.wrap(eventRecorder))
          .build()
    
      @BeforeEach
      fun setUp() {
        dispatcher.maxRequests = 20
        dispatcher.maxRequestsPerHost = 10
        eventRecorder.forbidLock(dispatcher)
      }
    
      @Test
      fun maxRequestsZero() {
        assertFailsWith<IllegalArgumentException> {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb/SmbTransportImplTest.java

        @Mock
        private CIFSContext ctx;
        @Mock
        private Configuration cfg;
        @Mock
        private Address address;
    
        private SmbTransportImpl transport;
    
        @BeforeEach
        void setUp() throws Exception {
            when(ctx.getConfig()).thenReturn(cfg);
            when(cfg.isSigningEnforced()).thenReturn(false);
            when(cfg.getSessionTimeout()).thenReturn(30_000);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.6K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java

    import org.junit.jupiter.api.TestInfo;
    
    public class CrawlingInfoHelperTest extends UnitFessTestCase {
        private CrawlingInfoHelper crawlingInfoHelper;
    
        @Override
        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
            crawlingInfoHelper = new CrawlingInfoHelper();
        }
    
        @Test
        public void test_generateId() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 12 01:46:45 GMT 2026
    - 28.7K bytes
    - Click Count (0)
Back to Top