Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 284 for Starting (0.25 sec)

  1. guava-tests/test/com/google/common/util/concurrent/AbstractIdleServiceTest.java

        service.startAsync().awaitRunning();
        assertEquals(1, service.startUpCalled);
        assertEquals(Service.State.RUNNING, service.state());
        assertThat(service.transitionStates).containsExactly(Service.State.STARTING);
      }
    
      public void testStart_failed() {
        final Exception exception = new Exception("deliberate");
        TestService service =
            new TestService() {
              @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AbstractIdleServiceTest.java

        service.startAsync().awaitRunning();
        assertEquals(1, service.startUpCalled);
        assertEquals(Service.State.RUNNING, service.state());
        assertThat(service.transitionStates).containsExactly(Service.State.STARTING);
      }
    
      public void testStart_failed() {
        final Exception exception = new Exception("deliberate");
        TestService service =
            new TestService() {
              @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  3. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/source/JavaUtilLoggingSystemTest.groovy

            then:
            Logger.getLogger("").getLevel() == Level.INFO
        }
    
        def "Starting without setting a log level does not crash, but no level is set"() {
            when:
            configurer.startCapture()
    
            then:
            Logger.getLogger("").getLevel() == null
        }
    
        def "Log level can be set before starting"() {
            when:
            configurer.setLevel(LogLevel.DEBUG)
            configurer.startCapture()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  4. pkg/util/removeall/removeall_test.go

    }
    
    func TestRemoveAllOneFilesystem(t *testing.T) {
    	tests := []struct {
    		name string
    		// Items of the test directory. Directories end with "/".
    		// Directories starting with "mount" are considered to be mount points.
    		// Directories starting with "err" will cause an error in
    		// IsLikelyNotMountPoint.
    		items       []string
    		expectError bool
    	}{
    		{
    			"empty dir",
    			[]string{},
    			false,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 15 20:35:13 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/client/DaemonStartupMessageTest.groovy

     * limitations under the License.
     */
    
    package org.gradle.launcher.daemon.client
    
    import spock.lang.Specification
    
    class DaemonStartupMessageTest extends Specification {
        def "starting message contains number of busy and incompatible daemons (#numBusy busy, #numIncompatible incompatible, #numStopped stopped)"() {
            given:
            def message = DaemonStartupMessage.generate(numBusy, numIncompatible, numStopped)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 2K bytes
    - Viewed (0)
  6. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/exec/LogAndCheckHealthTest.groovy

            given:
            runningStats.getBuildCount() >> 0
    
            when:
            tracker.execute(exec)
    
            then:
            1 * healthCheck.executeHealthCheck()
            1 * logger.info({ it ==~ /Starting build in new daemon \[memory: \d.*]/ })
        }
    
        def "executes health check on subsequent builds"() {
            given:
            runningStats.getBuildCount() >> 1
    
            when:
            tracker.execute(exec)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  7. platforms/core-runtime/files/src/main/java/org/gradle/api/internal/file/pattern/PathMatcher.java

         */
        int getMaxSegments();
    
        /**
         * Returns true if the path starting at the given offset satisfies this pattern.
         */
        boolean matches(String[] segments, int startIndex);
    
        /**
         * Returns true if the path starting at the given offset could be satisfy this pattern if it contained additional segments at the end.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:55:52 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  8. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/JavaExecWithLongCommandLineIntegrationTest.groovy

                run.executable 'does-not-exist'
            """
    
            when:
            fails taskName
    
            then:
            failure.assertThatCause(containsText("A problem occurred starting process"))
            failure.assertHasNoCause("could not be started because the command line exceed operating system limits.")
    
            where:
            method                    | taskName
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 23:38:57 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  9. src/internal/trace/testdata/testprog/gc-stress.go

    	sink = make([][]byte, procs)
    
    	for i := 0; i < procs; i++ {
    		i := i
    		go func() {
    			for {
    				sink[i] = make([]byte, 4<<10)
    			}
    		}()
    	}
    	// Increase the chance that we end up starting and stopping
    	// mid-GC by only starting to trace after a few milliseconds.
    	time.Sleep(5 * time.Millisecond)
    
    	// Start tracing.
    	if err := trace.Start(os.Stdout); err != nil {
    		log.Fatalf("failed to start tracing: %v", err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  10. platforms/ide/problems-api/src/main/java/org/gradle/api/problems/internal/LineInFileLocation.java

        int getLine();
    
        /**
         * The starting column on the selected line.
         * <p>
         * The column is <b>one-indexed</b>, i.e. the first column in the file is line number 1.
         * A non-positive value indicates that the column information is not available.
         *
         * @return the column
         */
        int getColumn();
    
        /**
         * The length of the selected content starting from specified column.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 13:35:05 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top