Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for testFork (0.2 sec)

  1. platforms/core-execution/persistent-cache/src/integTest/groovy/org/gradle/cache/internal/DefaultFileLockManagerContentionIntegrationTest.groovy

            }, receivingFileLockContentionHandler)
            receivingSocket = receivingFileLockContentionHandler.communicator.socket
            receivingLock = fileLockManager.lock(file("locks/testlock"), DefaultLockOptions.mode(FileLockManager.LockMode.Exclusive), "testlock", "test holding lock", whenContended)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/junit/JUnitTestClassProcessorTest.groovy

            1 * processor.started({ it.id == 1 }, { it.parentId == null })
            1 * processor.started({ it.id == 2 && it.name == "testOk" && it.className == AJunit3TestClass.name }, { it.parentId == 1 })
            1 * processor.completed(2, { it.resultType == null })
            1 * processor.started({ it.id == 3 && it.name == "testOk" && it.className == BJunit3TestClass.name }, { it.parentId == 1 })
            1 * processor.completed(3, { it.resultType == null })
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 24.8K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/testshared/shared_test.go

    var minpkgs = []string{"runtime", "sync/atomic"}
    var soname = "libruntime,sync-atomic.so"
    
    var testX = flag.Bool("testx", false, "if true, pass -x to 'go' subcommands invoked by the test")
    var testWork = flag.Bool("testwork", false, "if true, log and do not delete the temporary working directory")
    
    // run runs a command and calls t.Errorf if it fails.
    func run(t *testing.T, msg string, args ...string) {
    	runWithEnv(t, msg, nil, args...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Aug 26 01:54:41 UTC 2023
    - 36.3K bytes
    - Viewed (0)
  4. platforms/jvm/plugins-jvm-test-suite/src/integTest/groovy/org/gradle/testing/testsuites/TestSuitesIntegrationTest.groovy

                import org.junit.jupiter.api.Test;
                import static org.assertj.core.api.Assertions.assertThat;
    
                public class ExampleTest {
                    @Test public void testOK() {
                        assertThat(1 + 1).isEqualTo(2);
                    }
                }
            """
    
            settingsFile << """
                dependencyResolutionManagement {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Sep 13 20:36:32 UTC 2023
    - 35.8K bytes
    - Viewed (0)
  5. src/go/doc/testdata/testing.go

    	flag.Parse()
    	parseCpuList()
    
    	before()
    	startAlarm()
    	testOk := RunTests(matchString, tests)
    	exampleOk := RunExamples(examples)
    	if !testOk || !exampleOk {
    		fmt.Println("FAIL")
    		os.Exit(1)
    	}
    	fmt.Println("PASS")
    	stopAlarm()
    	RunBenchmarks(matchString, benchmarks)
    	after()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Oct 02 02:28:27 UTC 2022
    - 11.8K bytes
    - Viewed (0)
  6. src/cmd/go/script_test.go

    		t.Run(name, func(t *testing.T) {
    			t.Parallel()
    			StartProxy()
    
    			workdir, err := os.MkdirTemp(testTmpDir, name)
    			if err != nil {
    				t.Fatal(err)
    			}
    			if !*testWork {
    				defer removeAll(workdir)
    			}
    
    			s, err := script.NewState(tbContext(ctx, t), workdir, env)
    			if err != nil {
    				t.Fatal(err)
    			}
    
    			// Unpack archive.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/README

    Note also that in reported output, the actual name of the per-script temporary directory
    has been consistently replaced with the literal string $WORK.
    
    The cmd/go test flag -testwork (which must appear on the "go test" command line after
    standard test flags) causes each test to log the name of its $WORK directory and other
    environment variable settings and also to leave that directory behind when it exits,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  8. pkg/kubelet/cm/topologymanager/bitmask/bitmask_test.go

    		}
    		resultMask := And(bitMasks[0], bitMasks...)
    		if resultMask.String() != string(tc.andMask) {
    			t.Errorf("Expected mask to be %v, got %v", tc.andMask, resultMask)
    		}
    
    	}
    }
    
    func TestOr(t *testing.T) {
    	tcases := []struct {
    		name   string
    		masks  [][]int
    		orMask string
    	}{
    		{
    			name:   "Mask 01 OR mask 00",
    			masks:  [][]int{{0}, {}},
    			orMask: "01",
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 03 09:45:09 UTC 2022
    - 16.2K bytes
    - Viewed (0)
  9. pkg/slices/slices_test.go

    			result := SortBy(tc.input, tc.extract)
    			if !reflect.DeepEqual(result, tc.expected) {
    				t.Fatalf("Expected: %+v, but got: %+v", tc.expected, result)
    			}
    		})
    	}
    }
    
    func TestSort(t *testing.T) {
    	testCases := []struct {
    		name     string
    		input    []int
    		expected []int
    	}{
    		{
    			name:     "Single_Element",
    			input:    []int{1},
    			expected: []int{1},
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 18.2K bytes
    - Viewed (0)
Back to top