Search Options

Results per page
Sort
Preferred Languages
Advance

Results 631 - 640 of 850 for setUp (0.02 sec)

  1. android/guava-tests/test/com/google/common/io/CharSourceTest.java

      private static final ImmutableList<String> SPLIT_LINES =
          ImmutableList.of("foo", "bar", "baz", "something");
    
      private TestCharSource source;
    
      @Override
      public void setUp() {
        source = new TestCharSource(STRING);
      }
    
      public void testOpenBufferedStream() throws IOException {
        BufferedReader reader = source.openBufferedStream();
        assertTrue(source.wasStreamOpened());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/DispatcherTest.kt

        clientTestRule.newClientBuilder()
          .dns { throw UnknownHostException() }
          .dispatcher(dispatcher)
          .eventListenerFactory(clientTestRule.wrap(listener))
          .build()
    
      @BeforeEach
      fun setUp() {
        dispatcher.maxRequests = 20
        dispatcher.maxRequestsPerHost = 10
        listener.forbidLock(dispatcher)
      }
    
      @Test
      fun maxRequestsZero() {
        assertFailsWith<IllegalArgumentException> {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java

            saveToken();
            return asIndexHtml();
        }
    
        private HtmlResponse asIndexHtml() {
            return asHtml(path_AdminMaintenance_AdminMaintenanceJsp).useForm(ActionForm.class, op -> op.setup(f -> {
                f.replaceAliases = Constants.ON;
                f.resetDictionaries = null;
            }));
        }
    
        @Execute
        @Secured({ ROLE })
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 14K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/SessionTest.java

                        getTestUser(),
                        getTestUserPassword(),
                        getTestUserDomain());
                }
            }
            catch ( SmbException e ) {
                // no setup to resolve hostname if netbios is used
                if ( e.getCause() instanceof UnknownHostException ) {
                    Assume.assumeTrue(false);
                }
                throw e;
            }
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 15.8K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java

        ArtifactRepositoryLayout repoLayout;
    
        @Inject
        PlexusContainer container;
    
        public PlexusContainer getContainer() {
            return container;
        }
    
        @BeforeEach
        public void setUp() throws Exception {
            RepositorySystemSession repoSession = initRepoSession();
            MavenSession session = new MavenSession(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmManager.java

                        delegate.setupRealm(classRealm, request);
                    } catch (Exception e) {
                        logger.error(
                                delegate.getClass().getName() + " failed to setup class realm " + classRealm + ": "
                                        + e.getMessage(),
                                e);
                    }
                }
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  7. internal/grid/README.md

    Handlers should remain backwards compatible. If a breaking API change is required, a new handler ID should be created.
    
    ## Setup & Configuration
    
    A **Manager** is used to manage all incoming and outgoing connections to a server.
    
    On startup all remote servers must be specified. 
    From that individual connections will be spawned to each remote server, 
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/connection/RouteSelectorTest.kt

          this.uriHost = ******@****.***t
          this.uriPort = ******@****.***t
        }
    
      private lateinit var call: RealCall
      private val routeDatabase = RouteDatabase()
    
      @BeforeEach fun setUp() {
        call =
          clientTestRule.newClient().newCall(
            Request.Builder()
              .url("https://$uriHost:$uriPort/")
              .build(),
          ) as RealCall
      }
    
      @AfterEach fun tearDown() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Mar 06 17:33:38 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  9. 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)
    		}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

    abstract class AbstractAbstractFutureTest extends TestCase {
      private TestedFuture<Integer> future;
      private AbstractFuture<Integer> delegate;
    
      abstract AbstractFuture<Integer> newDelegate();
    
      @Override
      protected void setUp() {
        future = TestedFuture.create();
        delegate = newDelegate();
      }
    
      public void testPending() {
        assertPending(future);
      }
    
      public void testSuccessful() throws Exception {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 15.5K bytes
    - Viewed (0)
Back to top