Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 593 for factory (0.05 seconds)

  1. src/test/java/org/codelibs/fess/script/ScriptEngineFactoryTest.java

            super.tearDown(testInfo);
        }
    
        // Test constructor
        @Test
        public void test_constructor() {
            ScriptEngineFactory factory = new ScriptEngineFactory();
            assertNotNull(factory);
            assertNotNull(factory.scriptEngineMap);
            assertTrue(factory.scriptEngineMap.isEmpty());
        }
    
        // Test add method with valid parameters
        @Test
        public void test_add_validParameters() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.8K bytes
    - Click Count (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt

     *
     * This class is pretty fast and loose with default values: it attempts to provide values that are
     * well-formed, but doesn't guarantee values are internally consistent. Callers must take care to
     * configure the factory when sample values impact the correctness of the test.
     */
    class TestValueFactory : Closeable {
      var taskFaker: TaskFaker = TaskFaker()
      var taskRunner: TaskRunner = taskFaker.taskRunner
      var dns: Dns = Dns.SYSTEM
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Jan 11 12:06:21 GMT 2026
    - 6.6K bytes
    - Click Count (0)
  3. .ci/templates.t/periodic-trigger-lgc.yml

          - trigger-builds:
            - project: "{periodic-job}"
              current-parameters: false
              git-revision: false
              parameter-factories:
                - factory: filebuild
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu May 06 21:46:09 GMT 2021
    - 1K bytes
    - Click Count (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/ListCreationTester.java

    import com.google.common.collect.testing.features.CollectionSize;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests creation (typically through a constructor or static factory
     * method) of a list. Can't be invoked directly; please see {@link
     * com.google.common.collect.testing.ListTestSuiteBuilder}.
     *
     * @author Chris Povirk
     */
    @GwtCompatible
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 2K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/filter/CorsFilter.java

                if (logger.isDebugEnabled()) {
                    logger.debug("HTTP Request: method={}", httpRequest.getMethod());
                }
                final CorsHandlerFactory factory = ComponentUtil.getCorsHandlerFactory();
                final CorsHandler handler = factory.get(origin);
                if (handler != null) {
                    handler.process(origin, request, response);
    
                    if (OPTIONS.equals(httpRequest.getMethod())) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/XslTransformer.java

            System.out.format("=> source %s%n", source);
            System.out.format("=> dest %s%n", dest);
            System.out.format("=> destDir %s%n", destDir);
    
            TransformerFactory factory = TransformerFactory.newInstance();
            Transformer transformer = factory.newTransformer(new StreamSource(stylesheet));
    
            System.out.format("=> transformer %s (%s)%n", transformer, transformer.getClass().getName());
    
            if (destDir.length() > 0) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Oct 05 19:36:14 GMT 2023
    - 2.2K bytes
    - Click Count (0)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

      }
    
      fun wrap(eventListener: EventListener) =
        EventListener.Factory {
          ClientRuleEventListener(::addEvent) + eventListener
        }
    
      fun wrap(eventRecorder: EventRecorder) = wrap(eventRecorder.eventListener)
    
      fun wrap(eventListenerFactory: EventListener.Factory) =
        EventListener.Factory { call ->
          ClientRuleEventListener(::addEvent) + eventListenerFactory.create(call)
        }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultProjectArtifactFactory.java

    import java.io.File;
    import java.util.Arrays;
    import java.util.LinkedHashSet;
    import java.util.List;
    import java.util.Set;
    
    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.artifact.factory.ArtifactFactory;
    import org.apache.maven.artifact.resolver.filter.AndArtifactFilter;
    import org.apache.maven.artifact.resolver.filter.ArtifactFilter;
    import org.apache.maven.artifact.resolver.filter.ExclusionArtifactFilter;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/WebSocket.kt

     * limitations under the License.
     */
    package okhttp3
    
    import okio.ByteString
    
    /**
     * A non-blocking interface to a web socket. Use the [factory][WebSocket.Factory] to create
     * instances; usually this is [OkHttpClient].
     *
     * ## Web Socket Lifecycle
     *
     * Upon normal operation each web socket progresses through a sequence of states:
     *
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:45:14 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/RetryConnectionTest.kt

    class RetryConnectionTest {
      private val factory = TestValueFactory()
      private val handshakeCertificates = localhost()
      private val retryableException = SSLHandshakeException("Simulated handshake exception")
    
      @RegisterExtension
      val clientTestRule = OkHttpClientTestRule()
    
      private var client = clientTestRule.newClient()
    
      @AfterEach internal fun tearDown() {
        factory.close()
      }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 4.3K bytes
    - Click Count (0)
Back to Top