Search Options

Results per page
Sort
Preferred Languages
Advance

Results 781 - 790 of 1,182 for setup (0.56 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/idn/IdnaMappingTableTest.kt

    class IdnaMappingTableTest {
      private lateinit var table: SimpleIdnaMappingTable
      private lateinit var compactTable: IdnaMappingTable
    
      @BeforeEach
      fun setUp() {
        val path = "/okhttp3/internal/idna/IdnaMappingTable.txt".toPath()
        val plainTable =
          FileSystem.RESOURCES.read(path) {
            readPlainTextIdnaMappingTable()
          }
        table = plainTable
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/HMACT64Test.java

        private static final byte[] TEST_DATA = "testdata".getBytes();
        private static final byte[] EMPTY_DATA = new byte[0];
    
        @Mock
        private MessageDigest mockMd5;
    
        @BeforeEach
        void setUp() throws NoSuchAlgorithmException {
            // Mock Crypto.getMD5() to return our mockMd5 instance
            // This requires Mockito 3.4.0+ for MockedStatic
            // For simplicity, we'll assume Crypto.getMD5() is static and mock it.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java

    class Trans2QueryFSInformationResponseTest {
    
        private Trans2QueryFSInformationResponse response;
        private Configuration config;
    
        @Mock
        private Configuration mockConfig;
    
        @BeforeEach
        void setUp() throws Exception {
            MockitoAnnotations.openMocks(this);
            Properties props = new Properties();
            config = new PropertyConfiguration(props);
        }
    
        @Test
        void testConstructor() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/nego/EncryptionNegotiateContextTest.java

    class EncryptionNegotiateContextTest {
    
        @Mock
        private Configuration mockConfig;
    
        private static final int BUFFER_SIZE = 1024;
        private byte[] buffer;
    
        @BeforeEach
        void setUp() {
            buffer = new byte[BUFFER_SIZE];
        }
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeTest.java

        private static final int TEST_OFFSET = 0;
        private static final int TEST_LENGTH = TEST_DATA.length;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        @DisplayName("Test constructor initializes fields correctly")
        void testConstructor() {
            // Act
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/service/BadWordService.java

            if (badWordPager.id != null) {
                cb.query().docMeta().setId_Equal(badWordPager.id);
            }
            // TODO Long, Integer, String supported only.
    
            // setup condition
            cb.query().addOrderBy_SuggestWord_Asc();
    
            // search
    
        }
    
        /**
         * Imports bad words from a CSV file.
         * @param reader The reader for the CSV data.
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/SmbFileTest.java

     * using mocks where necessary.
     */
    @ExtendWith(MockitoExtension.class)
    public class SmbFileTest {
    
        @Mock
        private NtlmPasswordAuthentication mockAuth;
    
        @BeforeEach
        public void setUp() {
            // Static mocks or initializations can be done here if necessary
            // For now, we rely on instance mocks provided by MockitoExtension
        }
    
        @Nested
        class ConstructorTests {
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/DfsTest.java

                if (disabled || root.equals("IPC$")) {
                    return null;
                }
                return super.resolve(domain, root, path, auth);
            }
        }
    
        @BeforeEach
        void setUp() {
            dfs = new Dfs();
            testDfs = new TestDfs();
    
            // Mock static methods
            logStreamMockedStatic = mockStatic(LogStream.class);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/CancelTest.kt

      private lateinit var server: MockWebServer
      private lateinit var client: OkHttpClient
    
      val eventRecorder = EventRecorder()
    
      @BeforeEach
      fun setUp() {
        if (connectionType == H2) {
          platform.assumeHttp2Support()
        }
    
        // Sockets on some platforms can have large buffers that mean writes do not block when
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  10. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeWorkflowIntegrationTest.java

    @DisplayName("Upgrade Workflow Integration")
    class UpgradeWorkflowIntegrationTest {
    
        @TempDir
        Path tempDir;
    
        private Apply applyGoal;
        private Check checkGoal;
    
        @BeforeEach
        void setUp() {
            // Create real strategy instances for integration testing
            List<UpgradeStrategy> strategies = List.of(
                    new ModelUpgradeStrategy(),
                    new CompatibilityFixStrategy(),
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 9.3K bytes
    - Viewed (0)
Back to top