Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,092 for when (0.05 sec)

  1. compat/maven-embedder/src/test/java/org/apache/maven/cli/event/ExecutionEventLoggerTest.java

            MavenProject project = mock(MavenProject.class);
            when(project.getGroupId()).thenReturn("org.apache.maven");
            when(project.getArtifactId()).thenReturn("maven-embedder");
            when(project.getPackaging()).thenReturn("jar");
            when(project.getName()).thenReturn("Apache Maven Embedder");
            when(project.getVersion()).thenReturn("3.5.4-SNAPSHOT");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/UpdateKotlinVersionsTest.groovy

        def "latest patch version"() {
            given:
            def allVersions = ["2.0.30", "2.0.20", "2.0.10", "2.0.0"] + previousVersions
    
            when:
            def selected = UpdateKotlinVersions.selectVersionsFrom(minimumSupported, allVersions)
    
            then:
            selected == ["1.9.10", "1.9.25", "2.0.0", "2.0.30"]
        }
    
        def "beta of latest patch version"() {
            given:
            def allVersions = [
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jul 23 22:23:07 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. tests/associations_has_many_test.go

    		t.Fatalf("Error happened when append pet, got %v", err)
    	}
    
    	if pet2.ID == 0 {
    		t.Fatalf("pet2's ID should be created")
    	}
    
    	user.Pets = []*Pet{&pet2}
    	CheckUser(t, user2, user)
    
    	AssertAssociationCount(t, user2, "Pets", 1, "AfterReplace")
    
    	// Delete
    	if err := DB.Model(&user2).Association("Pets").Delete(&Pet{}); err != nil {
    		t.Fatalf("Error happened when delete pet, got %v", err)
    	}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 16K bytes
    - Viewed (0)
  4. tests/associations_has_one_test.go

    	if err := DB.Model(&user2).Association("Account").Delete(&Account{}); err != nil {
    		t.Fatalf("Error happened when delete account, got %v", err)
    	}
    	AssertAssociationCount(t, user2, "Account", 1, "after delete non-existing data")
    
    	if err := DB.Model(&user2).Association("Account").Delete(&account2); err != nil {
    		t.Fatalf("Error happened when delete Account, got %v", err)
    	}
    	AssertAssociationCount(t, user2, "Account", 0, "after delete")
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  5. cmd/typed-errors.go

    // error returned in IAM subsystem when user doesn't exist.
    var errNoSuchUser = errors.New("Specified user does not exist")
    
    // error returned by IAM when a use a builtin IDP command when they could mean
    // to use a LDAP command.
    var errNoSuchUserLDAPWarn = errors.New("Specified user does not exist. If you meant a user in LDAP please use command under `mc idp ldap`")
    
    // error returned when service account is not found
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 28 17:14:16 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  6. build-logic/documentation/src/test/groovy/gradlebuild/docs/FindBrokenInternalLinksTest.groovy

            when:
            run('checkDeadInternalLinks').build()
    
            then:
            assertNoDeadLinks()
        }
    
        def "finds Markdown style links"() {
            given:
            sampleDoc << """
    === Markdown Style Links
    [Invalid markdown link](https://docs.gradle.org/nowhere)
            """
    
            when:
            run('checkDeadInternalLinks').buildAndFail()
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Aug 21 08:08:05 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  7. docs/en/docs/virtual-environments.md

    /// tip
    
    You normally have to do this only **once**, when you create the virtual environment.
    
    ///
    
    ## Deactivate the Virtual Environment
    
    Once you are done working on your project you can **deactivate** the virtual environment.
    
    <div class="termy">
    
    ```console
    $ deactivate
    ```
    
    </div>
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 24 03:16:23 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_request_form_models/test_tutorial002_pv1_an.py

        return client
    
    
    # TODO: remove when deprecating Pydantic v1
    @needs_pydanticv1
    def test_post_body_form(client: TestClient):
        response = client.post("/login/", data={"username": "Foo", "password": "secret"})
        assert response.status_code == 200
        assert response.json() == {"username": "Foo", "password": "secret"}
    
    
    # TODO: remove when deprecating Pydantic v1
    @needs_pydanticv1
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Sep 06 17:31:18 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/Log.java

         * The error's stacktrace will be output when this error level is enabled.
         *
         * @param content the message to log
         * @param error the error that caused this log
         */
        void debug(CharSequence content, Throwable error);
    
        /**
         * Sends an exception to the user in the <b>debug</b> error level.
         * The stack trace for this exception will be output when this error level is enabled.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  10. docs/en/docs/deployment/docker.md

    ### Single Container
    
    If you have a simple setup, with a **single container** that then starts multiple **worker processes** (or also just one process), then you could run those previous steps in the same container, right before starting the process with the app.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Sep 18 16:09:57 UTC 2024
    - 28.5K bytes
    - Viewed (0)
Back to top