Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 79 for testmovk (0.22 sec)

  1. src/net/http/fs_test.go

    // in "Range": "bytes=-N", and should reject "bytes=--2".
    func TestServeFileRejectsInvalidSuffixLengths(t *testing.T) {
    	run(t, testServeFileRejectsInvalidSuffixLengths, []testMode{http1Mode, https1Mode, http2Mode})
    }
    func testServeFileRejectsInvalidSuffixLengths(t *testing.T, mode testMode) {
    	cst := newClientServerTest(t, mode, FileServer(Dir("testdata"))).ts
    
    	tests := []struct {
    		r        string
    		wantCode int
    		wantBody string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 23:39:44 UTC 2024
    - 49.9K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/work/DefaultWorkerLeaseServiceProjectLockTest.groovy

                        workerLeaseService.withLocks([projectLock]) {
                            assert testLock.tryLock()
                            try {
                                assert lockIsHeld(projectLock)
                            } finally {
                                testLock.unlock()
                            }
                        }
                    }
                }
                started.await()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  3. pilot/pkg/leaderelection/leaderelection_test.go

    	"k8s.io/client-go/kubernetes"
    	"k8s.io/client-go/kubernetes/fake"
    	k8stesting "k8s.io/client-go/testing"
    
    	"istio.io/istio/pkg/revisions"
    	"istio.io/istio/pkg/test/util/retry"
    )
    
    const testLock = "test-lock"
    
    func createElection(t *testing.T,
    	name string, revision string,
    	watcher revisions.DefaultWatcher,
    	expectLeader bool,
    	client kubernetes.Interface, fns ...func(stop <-chan struct{}),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 28 04:22:19 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  4. operator/pkg/helmreconciler/common.go

    	// istioVersionLabelStr indicates the Istio version of the installation.
    	istioVersionLabelStr = name.OperatorAPINamespace + "/version"
    )
    
    var (
    	// TestMode sets the controller into test mode. Used for unit tests to bypass things like waiting on resources.
    	TestMode = false
    
    	scope = log.RegisterScope("installer", "installer")
    )
    
    func init() {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 12 17:12:54 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  5. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testsuites/JUnitOptionsIntegrationTest.groovy

    import org.junit.Test;
    
    public class IncludedTest {
        @Test
        public void testOK() {
        }
    }
    """
            sourcePath.file("com/example/ExcludedTest.java") << """
    package com.example;
    import org.junit.Test;
    import org.junit.experimental.categories.Category;
    
    @Category(Exclude.class)
    public class ExcludedTest {
        @Test
        public void testOK() {
        }
    }
    """
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  6. okhttp-testing-support/src/test/kotlin/okhttp3/testing/PlatformRuleTest.kt

    /**
     * Validates which environment is used by the IDE.
     */
    class PlatformRuleTest {
      @RegisterExtension @JvmField
      val platform = PlatformRule()
    
      @Test
      fun testMode() {
        println(PlatformRule.getPlatformSystemProperty())
        println(Platform.get().javaClass.simpleName)
      }
    
      @Test
      fun testGreenCase() {
      }
    
      @Test
      fun testGreenCaseFailingOnLater() {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 15 14:55:09 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  7. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testsuites/JUnitJupiterOptionsIntegrationTest.groovy

    public class IncludedTest {
        @Test
        public void testOK() {
        }
    }
    """
            sourcePath.file("com/example/ExcludedTest.java") << """
    package com.example;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.Tag;
    
    @Tag("exclude")
    public class ExcludedTest {
        @Test
        public void testOK() {
        }
    }
    """
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  8. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testsuites/TestNGOptionsIntegrationTest.groovy

    import org.testng.annotations.Test;
    
    public class IncludedTest {
        @Test
        public void testOK() {
        }
    }
    """
            sourcePath.file("com/example/ExcludedTest.java") << """
    package com.example;
    
    import org.testng.annotations.Test;
    
    public class ExcludedTest {
        @Test(groups = { "exclude" })
        public void testOK() {
        }
    }
    """
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  9. src/net/http/sniff_test.go

    		}
    	}
    }
    
    func TestServerContentTypeSniff(t *testing.T) { run(t, testServerContentTypeSniff) }
    func testServerContentTypeSniff(t *testing.T, mode testMode) {
    	cst := newClientServerTest(t, mode, HandlerFunc(func(w ResponseWriter, r *Request) {
    		i, _ := strconv.Atoi(r.FormValue("i"))
    		tt := sniffTests[i]
    		n, err := w.Write(tt.data)
    		if n != len(tt.data) || err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 07 16:53:14 UTC 2022
    - 9.6K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/testing/junitplatform-mix/kotlin/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)
Back to top