Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 236 for testSet (0.12 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java

    public class SettableFutureTest extends TestCase {
    
      private SettableFuture<String> future;
      private ListenableFutureTester tester;
    
      @Override
      protected void setUp() throws Exception {
        super.setUp();
    
        future = SettableFuture.create();
        tester = new ListenableFutureTester(future);
        tester.setUp();
      }
    
      public void testDefaultState() throws Exception {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb1/SmbAuthenticationHolderTest.java

    package org.codelibs.fess.crawler.client.smb1;
    
    import org.dbflute.utflute.core.PlainTestCase;
    
    /**
     * @author shinsuke
     *
     */
    public class SmbAuthenticationHolderTest extends PlainTestCase {
    
        public void test_get() {
            final SmbAuthenticationHolder smbAuthenticationHolder = new SmbAuthenticationHolder();
            final SmbAuthentication hogeAuth = new SmbAuthentication();
            hogeAuth.setServer("hoge");
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_handling_errors/test_tutorial006.py

        )
    
    
    def test_get_http_error():
        response = client.get("/items/3")
        assert response.status_code == 418, response.text
        assert response.json() == {"detail": "Nope! I don't like 3."}
    
    
    def test_get():
        response = client.get("/items/2")
        assert response.status_code == 200, response.text
        assert response.json() == {"item_id": 2}
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/base/AsciiBenchmark.java

        // This benchmark has no concept of "noWorkToDo".
        String upperString = testString.toUpperCase();
        CharSequence testSeq = new StringBuilder(testString);
        CharSequence upperSeq = new StringBuilder(upperString);
        CharSequence[] lhs = new CharSequence[] {testString, testSeq, testString, testSeq};
        CharSequence[] rhs = new CharSequence[] {upperString, upperString, upperSeq, upperSeq};
    
        boolean dummy = false;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.8K bytes
    - Viewed (0)
  5. internal/s3select/select_test.go

    				t.Fatal("setup error: expected cpu to be unsupported")
    			}
    			testReq := testCase.requestXML
    			if len(testReq) == 0 {
    				var escaped bytes.Buffer
    				xml.EscapeText(&escaped, []byte(testCase.query))
    				testReq = []byte(fmt.Sprintf(defRequest, escaped.String()))
    			}
    			s3Select, err := NewS3Select(bytes.NewReader(testReq))
    			if err != nil {
    				t.Fatal(err)
    			}
    
    			in := input
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 23 07:19:11 UTC 2023
    - 76.2K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_response_model/test_tutorial004.py

                    "name": "Baz",
                    "description": None,
                    "price": 50.2,
                    "tax": 10.5,
                    "tags": [],
                },
            ),
        ],
    )
    def test_get(url, data):
        response = client.get(url)
        assert response.status_code == 200, response.text
        assert response.json() == data
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 04 20:47:07 UTC 2023
    - 5K bytes
    - Viewed (0)
  7. .github/labels.json

          "colour": "#43952A",
          "description": "has pull request"
        },
        "not_tested": {
          "name": "type:not tested",
          "colour": "#CF2E1F",
          "description": "not tested"
        },
        "tested": {
          "name": "type:tested",
          "colour": "#00ff00",
          "description": "tested"
        },
        "breaking_change": {
          "name": "type:breaking change",
          "colour": "#CF2E1F",
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Oct 19 03:49:03 UTC 2020
    - 3.8K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_response_model/test_tutorial004_py310.py

                    "name": "Baz",
                    "description": None,
                    "price": 50.2,
                    "tax": 10.5,
                    "tags": [],
                },
            ),
        ],
    )
    def test_get(url, data, client: TestClient):
        response = client.get(url)
        assert response.status_code == 200, response.text
        assert response.json() == data
    
    
    @needs_py310
    def test_openapi_schema(client: TestClient):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 04 20:47:07 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  9. docs/de/docs/how-to/custom-docs-ui-assets.md

    ///
    
    ### Eine *Pfadoperation* erstellen, um statische Dateien zu testen
    
    Um nun testen zu können, ob alles funktioniert, erstellen Sie eine *Pfadoperation*:
    
    ```Python hl_lines="39-41"
    {!../../docs_src/custom_docs_ui/tutorial002.py!}
    ```
    
    ### Benutzeroberfläche, mit statischen Dateien, testen
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_body_updates/test_tutorial001_py39.py

    
    @pytest.fixture(name="client")
    def get_client():
        from docs_src.body_updates.tutorial001_py39 import app
    
        client = TestClient(app)
        return client
    
    
    @needs_py39
    def test_get(client: TestClient):
        response = client.get("/items/baz")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "name": "Baz",
            "description": None,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Sep 28 04:14:40 UTC 2023
    - 11.8K bytes
    - Viewed (0)
Back to top