Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 1,867 for CREATE (0.04 sec)

  1. docs/en/docs/tutorial/testing.md

    Make sure you create a [virtual environment](../virtual-environments.md){.internal-link target=_blank}, activate it, and then install it, for example:
    
    ```console
    $ pip install httpx
    ```
    
    ///
    
    Import `TestClient`.
    
    Create a `TestClient` by passing your **FastAPI** application to it.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  2. mockwebserver/README.md

    1. Script the mocks.
    2. Run application code.
    3. Verify that the expected requests were made.
    
    Here's a complete example:
    
    ```java
    public void test() throws Exception {
      // Create a MockWebServer. These are lean enough that you can create a new
      // instance for every unit test.
      MockWebServer server = new MockWebServer();
    
      // Schedule some responses.
      server.enqueue(new MockResponse().setBody("hello, world!"));
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Dec 17 15:34:10 UTC 2023
    - 5K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/NavigableSetTestSuiteBuilder.java

                    }
                    Collections.reverse(list);
                    return list;
                  }
    
                  @Override
                  public Set<E> create(Object... elements) {
                    NavigableSet<E> navigableSet = (NavigableSet<E>) delegate.create(elements);
                    return navigableSet.descendingSet();
                  }
                })
            .named(parentBuilder.getName() + " descending")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. tests/associations_has_one_test.go

    import (
    	"testing"
    
    	. "gorm.io/gorm/utils/tests"
    )
    
    func TestHasOneAssociation(t *testing.T) {
    	user := *GetUser("hasone", Config{Account: true})
    
    	if err := DB.Create(&user).Error; err != nil {
    		t.Fatalf("errors happened when create: %v", err)
    	}
    
    	CheckUser(t, user, user)
    
    	// Find
    	var user2 User
    	DB.Find(&user2, "id = ?", user.ID)
    	DB.Model(&user2).Association("Account").Find(&user2.Account)
    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. src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndX.java

        // share access specified in SmbFile
    
        // create disposition
    
        /* Creates a new file or supersedes the existing one
         */
    
        static final int FILE_SUPERSEDE    = 0x0;
    
        /* Open the file or fail if it does not exist
         * aka OPEN_EXISTING
         */
    
        static final int FILE_OPEN         = 0x1;
    
        /* Create the file or fail if it does not exist
         * aka CREATE_NEW
         */
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 6.6K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/TestStringMultisetGenerator.java

    import java.util.List;
    
    /**
     * Create multisets of strings for tests.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class TestStringMultisetGenerator implements TestMultisetGenerator<String> {
      @Override
      public SampleElements<String> samples() {
        return new Strings();
      }
    
      @Override
      public Multiset<String> create(Object... elements) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/TestStringSortedSetGenerator.java

    import java.util.SortedSet;
    
    /**
     * Create string sets for testing collections that are sorted by natural ordering.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class TestStringSortedSetGenerator extends TestStringSetGenerator
        implements TestSortedSetGenerator<String> {
    
      @Override
      public SortedSet<String> create(Object... elements) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_request_files/test_tutorial001_03_an_py39.py

        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/files/": {
                    "post": {
                        "summary": "Create File",
                        "operationId": "create_file_files__post",
                        "requestBody": {
                            "content": {
                                "multipart/form-data": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  9. docs/distributed/samples/bootstrap-partial.ldif

    # Create hardware engg org unit
    dn: ou=hwengg,dc=min,dc=io
    objectClass: organizationalUnit
    ou: hwengg
    
    # Create people sub-org
    dn: ou=people,ou=hwengg,dc=min,dc=io
    objectClass: organizationalUnit
    ou: people
    
    # Create Alice, Bob and Cody in hwengg
    dn: uid=alice1,ou=people,ou=hwengg,dc=min,dc=io
    objectClass: inetOrgPerson
    cn: Alice Smith
    sn: Smith
    uid: alice1
    mail: ******@****.***
    userPassword: {SSHA}Yeh2/IV/q/HjG2yzN3YdE9CAF3EJFCLu
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 15:59:00 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java

          @Override
          protected Multiset<String> create(String[] elements) {
            return ConcurrentHashMultiset.create(asList(elements));
          }
        };
      }
    
      private static TestStringMultisetGenerator concurrentSkipListMultisetGenerator() {
        return new TestStringMultisetGenerator() {
          @Override
          protected Multiset<String> create(String[] elements) {
            Multiset<String> multiset =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 14.2K bytes
    - Viewed (0)
Back to top