Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 58 for testFork (0.27 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/documentation/docs/src/snippets/testing/junitplatform-mix/groovy/src/test/java/org/gradle/junitplatform/JUnit3Test.java

    package org.gradle.junitplatform;
    
    import junit.framework.TestCase;
    
    public class JUnit3Test extends TestCase {
        public void testOk() {
            System.out.println("Hello from JUnit 3!");
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 198 bytes
    - Viewed (0)
  3. platforms/jvm/testing-jvm-infrastructure/src/testFixtures/groovy/org/gradle/api/internal/tasks/testing/junit/JUnitTestClassProcessorData.groovy

        public void test() {
        }
    }
    
    public class AJunit3TestClass extends TestCase {
        public void testOk() {
        }
    }
    
    public class BJunit3TestClass extends TestCase {
        public void testOk() {
        }
    }
    
    public class AJunit3TestThatRenamesItself extends TestCase {
        public void testOk() {
            setName('another test')
        }
    }
    
    public class ABrokenJunit3TestClass extends TestCase {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/discovery/discovery_test.go

    limitations under the License.
    */
    
    package discovery
    
    import (
    	"testing"
    	"time"
    
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    
    	"k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm"
    )
    
    func TestFor(t *testing.T) {
    	tests := []struct {
    		name   string
    		d      kubeadm.JoinConfiguration
    		expect bool
    	}{
    		{
    			name:   "default Discovery",
    			d:      kubeadm.JoinConfiguration{},
    			expect: false,
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 14 13:07:56 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. src/cmd/cover/testdata/test.go

    //go:linkname some_name some_name
    var some_name int
    
    const anything = 1e9 // Just some unlikely value that means "we got here, don't care how often"
    
    func testAll() {
    	testSimple()
    	testBlockRun()
    	testIf()
    	testFor()
    	testRange()
    	testSwitch()
    	testTypeSwitch()
    	testSelect1()
    	testSelect2()
    	testPanic()
    	testEmptySwitches()
    	testFunctionLiteral()
    	testGoto()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 4.9K bytes
    - Viewed (0)
  6. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnit3FilteringIntegrationTest.groovy

            file("src/test/java/FooTest.java") << """
                import junit.framework.*;
    
                public class FooTest extends TestCase {
                    public void testPass() {}
                    public void testOk() {}
                }
            """.stripIndent()
    
            when:
            succeeds("test", "--tests", "FooTest.testPass")
    
            then:
            def result = new DefaultTestExecutionResult(testDirectory)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/CountingInputStreamTest.java

        assertEquals(-1, counter.read(new byte[30]));
        assertEquals(20, counter.getCount());
      }
    
      @SuppressWarnings("CheckReturnValue") // calling read() to skip a byte
      public void testMark() throws Exception {
        assertTrue(counter.markSupported());
        assertEquals(10, counter.read(new byte[10]));
        assertEquals(10, counter.getCount());
        counter.mark(5);
        counter.read();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  8. 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)
  9. pkg/kubelet/server/server_websocket_test.go

    				defer close(portForwardFuncDone)
    				assert.Equal(t, testPodSandboxID, podSandboxID, "pod sandbox id")
    				// The port should be valid if it reaches here.
    				testPort, err := strconv.ParseInt(test.port, 10, 32)
    				require.NoError(t, err, "parse port")
    				assert.Equal(t, int32(testPort), port, "port")
    
    				if test.clientData != "" {
    					fromClient := make([]byte, 32)
    					n, err := stream.Read(fromClient)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 05 06:08:18 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  10. plugin/pkg/admission/resourcequota/admission_test.go

    		if expectedValue != actualValue {
    			t.Errorf("Usage Used: Key: %v, Expected: %v, Actual: %v", k, expectedValue, actualValue)
    		}
    	}
    }
    
    func removeListWatch(in []testcore.Action) []testcore.Action {
    	decimatedActions := []testcore.Action{}
    	// list and watch resource quota is done to maintain our cache, so that's expected.  Remove them from results
    	for i := range in {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 21:28:42 UTC 2024
    - 84.1K bytes
    - Viewed (0)
Back to top