Search Options

Results per page
Sort
Preferred Languages
Advance

Results 811 - 820 of 1,167 for setUp (0.03 sec)

  1. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

    public class ProtwordsFileTest extends UnitFessTestCase {
    
        private ProtwordsFile protwordsFile;
        private File testFile;
        private SystemHelper systemHelper;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
    
            // Create test file with content
            testFile = File.createTempFile("test_protwords", ".txt");
            testFile.deleteOnExit();
    
            // Write test content to file
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/mylasta/action/FessMessagesTest.java

    import org.lastaflute.core.message.UserMessage;
    
    public class FessMessagesTest extends UnitFessTestCase {
    
        private FessMessages messages;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            messages = new FessMessages();
        }
    
        // Test constant fields
        public void test_constantFields() {
            // Test error message constants
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  3. schema/field.go

    		case reflect.Int8, reflect.Uint8:
    			field.Size = 8
    		case reflect.Int16, reflect.Uint16:
    			field.Size = 16
    		case reflect.Int32, reflect.Uint32, reflect.Float32:
    			field.Size = 32
    		}
    	}
    
    	// setup permission
    	if val, ok := field.TagSettings["-"]; ok {
    		val = strings.ToLower(strings.TrimSpace(val))
    		switch val {
    		case "-":
    			field.Creatable = false
    			field.Updatable = false
    			field.Readable = false
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Aug 20 04:51:17 UTC 2025
    - 32K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/CallHandshakeTest.kt

      val expectedModernTls13CipherSuites = listOf(TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, TLS_AES_128_GCM_SHA256, TLS_AES_256_GCM_SHA384)
    
      @BeforeEach
      fun setup() {
        server.enqueue(MockResponse())
    
        client =
          clientTestRule
            .newClientBuilder()
            .sslSocketFactory(
              handshakeCertificates.sslSocketFactory(),
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/msrpc/LsaPolicyHandleTest.java

        // We need to use ArgumentCaptor or a custom Answer to control their behavior.
        // For now, let's assume we can mock their behavior through the sendrecv method of DcerpcHandle.
    
        @BeforeEach
        void setUp() {
            // MockitoAnnotations.openMocks(this); // Not needed with @ExtendWith(MockitoExtension.class)
        }
    
        @Test
        void constructor_shouldOpenPolicySuccessfully() throws IOException {
            // Arrange
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolverTest.java

        MetadataGraphVertex v2;
        MetadataGraphVertex v3;
        MetadataGraphVertex v4;
    
        // ------------------------------------------------------------------------------------------
        @BeforeEach
        void setUp() throws Exception {
            /*
             *       v2
             *   v1<
             *      v3-v4
             *
             */
            graph = new MetadataGraph(4, 3);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/service/ScheduledJobService.java

            if (scheduledJobPager.id != null) {
                cb.query().docMeta().setId_Equal(scheduledJobPager.id);
            }
            // TODO Long, Integer, String supported only.
    
            // setup condition
            cb.query().addOrderBy_SortOrder_Asc();
            cb.query().addOrderBy_Name_Asc();
    
            // search
    
        }
    
        /**
         * Gets a list of all scheduled jobs.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/service/WebConfigService.java

                } else {
                    cb.query().setDescription_MatchPhrase(webConfigPager.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
    - 6.6K bytes
    - Viewed (0)
  9. okhttp-tls/src/test/java/okhttp3/tls/HandshakeCertificatesTest.kt

    class HandshakeCertificatesTest {
      @RegisterExtension
      var platform = PlatformRule()
    
      private lateinit var executorService: ExecutorService
    
      private var serverSocket: ServerSocket? = null
    
      @BeforeEach fun setUp() {
        executorService = Executors.newCachedThreadPool(threadFactory("HandshakeCertificatesTest"))
      }
    
      @AfterEach fun tearDown() {
        executorService.shutdown()
        serverSocket?.closeQuietly()
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/com/SmbComCloseTest.java

    /**
     * Tests for the {@link SmbComClose} class.
     */
    public class SmbComCloseTest {
    
        private CIFSContext context;
        private PropertyConfiguration config;
    
        @BeforeEach
        public void setUp() throws CIFSException {
            // Create a mock configuration for testing
            Properties properties = new Properties();
            config = new PropertyConfiguration(properties);
            context = mock(CIFSContext.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
Back to top