Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for testExpired (0.54 sec)

  1. src/test/java/org/codelibs/core/timer/TimeoutManagerTest.java

        }
    
        protected void tearDown() throws Exception {
            TimeoutManager.getInstance().clear();
        }
    
        /**
         * @throws Exception
         */
        public void testExpired() throws Exception {
            TimeoutTask task = TimeoutManager.getInstance().addTimeoutTarget(new TimeoutTarget() {
                public void expired() {
                    System.out.println("expired");
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/clean_testcache.txt

    stderr 'go: clean -testcache cannot be used with package arguments'
    
    # golang.org/issue/29100: 'go clean -testcache' should succeed
    # if the cache directory doesn't exist at all.
    # It should not write a testexpire.txt file, since there are no
    # test results that need to be invalidated in the first place.
    env GOCACHE=$WORK/nonexistent
    go clean -testcache
    ! exists $WORK/nonexistent
    
    -- x/x_test.go --
    package x_test
    import (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 30 17:22:49 UTC 2022
    - 680 bytes
    - Viewed (0)
  3. src/cmd/go/internal/clean/clean.go

    		// we write a file to the cache indicating that all test results from before
    		// right now are to be ignored.
    		dir, _ := cache.DefaultDir()
    		if dir != "off" {
    			f, err := lockedfile.Edit(filepath.Join(dir, "testexpire.txt"))
    			if err == nil {
    				now := time.Now().UnixNano()
    				buf, _ := io.ReadAll(f)
    				prev, _ := strconv.ParseInt(strings.TrimSpace(string(buf)), 10, 64)
    				if now > prev {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  4. src/cmd/go/internal/test/test.go

    	// instead of searching out and deleting test result cache entries.)
    	if dir, _ := cache.DefaultDir(); dir != "off" {
    		if data, _ := lockedfile.Read(filepath.Join(dir, "testexpire.txt")); len(data) > 0 && data[len(data)-1] == '\n' {
    			if t, err := strconv.ParseInt(string(data[:len(data)-1]), 10, 64); err == nil {
    				testCacheExpire = time.Unix(0, t)
    			}
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
Back to top