Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 100 for testcontainer (0.41 sec)

  1. testing/internal-testing/src/main/groovy/org/gradle/test/preconditions/UnitTestPreconditions.groovy

    package org.gradle.test.preconditions
    
    import groovy.transform.CompileStatic
    import org.gradle.api.JavaVersion
    import org.gradle.internal.os.OperatingSystem
    import org.gradle.test.precondition.TestPrecondition
    import org.testcontainers.DockerClientFactory
    
    // These imports are required, IntelliJ incorrectly thinks that they are not used because old versions of Groovy
    // permitted subtypes to use the parent type's methods without importing them
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 03:26:38 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/ModelRuleBindingFailureIntegrationTest.groovy

    This element was created by Project.<init>.tasks() and can be mutated as the following types:
      - org.gradle.model.ModelMap<org.gradle.api.Task>
      - org.gradle.api.tasks.TaskContainer (or assignment compatible type thereof)""")
        }
    
        def "reports failure to bind subject or input due to null reference"() {
            given:
            buildScript """
    @Managed interface Person extends Named {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/collection/ArrayUtilTest.java

            assertFalse(ArrayUtil.isEmpty(new Object[] { "" }));
            assertFalse(ArrayUtil.isEmpty(new Object[] { "aaa" }));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testContains() throws Exception {
            assertThat(ArrayUtil.contains(new Object[] { "1" }, "1"), is(true));
            assertThat(ArrayUtil.contains(new Object[] { "1" }, "2"), is(not(true)));
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/helpers_linux.go

    }
    
    // GetKubeletContainer returns the cgroup the kubelet will use
    func GetKubeletContainer(kubeletCgroups string) (string, error) {
    	if kubeletCgroups == "" {
    		cont, err := getContainer(os.Getpid())
    		if err != nil {
    			return "", err
    		}
    		return cont, nil
    	}
    	return kubeletCgroups, nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 14 11:52:28 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  5. pkg/kubelet/kuberuntime/helpers_test.go

    		assert.Equal(t, test.isFailed, isFailed, "TestCase[%d]: %s", i, test.description)
    	}
    }
    
    func TestStableKey(t *testing.T) {
    	container := &v1.Container{
    		Name:  "test_container",
    		Image: "foo/image:v1",
    	}
    	pod := &v1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "test_pod",
    			Namespace: "test_pod_namespace",
    			UID:       "test_pod_uid",
    		},
    		Spec: v1.PodSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  6. subprojects/distributions-dependencies/build.gradle.kts

            api(libs.sshdScp)               { version { strictly(sshdVersion) }}
            api(libs.sshdSftp)              { version { strictly(sshdVersion) }}
            api(libs.testcontainers)        { version { strictly("1.12.5") }}
            api(libs.testcontainersSpock)   { version { strictly("1.12.5") }}
            api(libs.typesafeConfig)        { version { strictly("1.3.3") }}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 19:54:08 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/ManagedModelMapIntegrationTest.groovy

                }
    
                class Rules extends RuleSource {
                    @Model
                    void parent(Parent p) {
                    }
    
                    @Mutate
                    void printParentTask(TaskContainer tasks, Parent p) {
                        tasks.create("printParent") {
                            it.doLast {
                                println p.name
                                for (Child c : p.children.values()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 13.5K bytes
    - Viewed (0)
  8. build-logic/jvm/src/main/kotlin/gradlebuild.unittest-and-compile.gradle.kts

    /**
     * Test lifecycle tasks that correspond to CIBuildModel.TestType (see .teamcity/Gradle_Check/model/CIBuildModel.kt).
     */
    fun TaskContainer.registerCITestDistributionLifecycleTasks() {
        val ciGroup = "CI Lifecycle"
    
        register("quickTest") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 07:43:28 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  9. subprojects/core-api/src/main/java/org/gradle/api/provider/Provider.java

     *     <li>Calling {@link #map(Transformer)} to create a new provider from an existing provider.</li>
     *     <li>Using the return value of {@link org.gradle.api.tasks.TaskContainer#register(String)}, which is a provider that represents the task instance.</li>
     *     <li>Using the methods on {@link org.gradle.api.file.Directory} and {@link org.gradle.api.file.DirectoryProperty} to produce file providers.</li>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 09:14:21 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  10. maven-core/src/test/java/org/apache/maven/project/DefaultMavenProjectBuilderTest.java

        @TempDir
        File localRepoDir;
    
        // only use by reread()
        @TempDir
        Path projectRoot;
    
        @Override
        @BeforeEach
        public void setUp() throws Exception {
            projectBuilder = getContainer().lookup(ProjectBuilder.class);
        }
    
        protected MavenProject getProject(Artifact pom, boolean allowStub) throws Exception {
            ProjectBuildingRequest configuration = new DefaultProjectBuildingRequest();
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Jun 19 15:04:04 UTC 2023
    - 16.5K bytes
    - Viewed (0)
Back to top