Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2531 - 2540 of 2,870 for getS (0.02 sec)

  1. docs/pt/docs/tutorial/testing.md

    ├── app
    │   ├── __init__.py
    │   ├── main.py
    │   └── test_main.py
    ```
    
    Digamos que agora o arquivo `main.py` com seu aplicativo **FastAPI** tenha algumas outras **operações de rotas**.
    
    Ele tem uma operação `GET` que pode retornar um erro.
    
    Ele tem uma operação `POST` que pode retornar vários erros.
    
    Ambas as *operações de rotas* requerem um cabeçalho `X-Token`.
    
    //// tab | Python 3.10+
    
    ```Python
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/job/SuggestJobTest.java

            if (cmdList != null) {
                int cpIndex = cmdList.indexOf("-cp");
                if (cpIndex >= 0 && cpIndex + 1 < cmdList.size()) {
                    String classpath = cmdList.get(cpIndex + 1);
                    assertTrue(classpath.contains(confPath));
                }
            }
        }
    
        // Test executeSuggestCreator with local Fesen
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/resources/web-platform-test-urltestdata.txt

    http://\u4f60\u597d\u4f60\u597d  s:http p:/ h:xn--6qqa088eba
    
    # Invalid escaped characters should fail and the percents should be
    # escaped. https://www.w3.org/Bugs/Public/show_bug.cgi?id=24191
    http://%zz%66%a.com
    
    # If we get an invalid character that has been escaped.
    http://%25
    http://hello%00
    
    # Escaped numbers should be treated like IP addresses if they are.
    # No special handling for IPv4 or IPv4-like URLs
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

        boolean hung =
            !awaitUninterruptibly(callCompletedLatch, hangDelayMillis, TimeUnit.MILLISECONDS);
        if (hung) {
          assertEquals(expectedOutcome, Outcome.HANG);
        } else {
          assertNull(task.get(UNEXPECTED_HANG_DELAY_MILLIS, TimeUnit.MILLISECONDS));
        }
      }
    
      @Override
      protected void tearDown() throws Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 27K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ImmutableListTest.java

        assertEquals(0x003300, (int) webSafeColorArray[6]);
        assertEquals(0x330000, (int) webSafeColorArray[36]);
        assertEquals(0x000066, (int) webSafeColors.get(2));
        assertEquals(0x003300, (int) webSafeColors.get(6));
        ImmutableList<Integer> addedColor = webSafeColorsBuilder.add(0x00BFFF).build();
        assertEquals(
            "Modifying the builder should not have changed any already built sets",
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt

            .Builder()
            .webSocketUpgrade(serverListener)
            .build(),
        )
        val webSocket: WebSocket = newWebSocket()
        clientListener.assertOpen()
        assertThat(interceptedCount.get()).isEqualTo(1)
        closeWebSockets(webSocket, serverListener.assertOpen())
      }
    
      @Test
      fun webSocketAndNetworkInterceptors() {
        client =
          client
            .newBuilder()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  7. android/guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

            throw new IllegalStateException();
          }
          iterator.remove();
        }
      }
    
      public void testCanCatchJdkBug6529795InTargetIterator() {
        try {
          /* Choose 4 steps to get sequence [next, next, next, remove] */
          new IteratorTester<Integer>(
              4, MODIFIABLE, newArrayList(1, 2), IteratorTester.KnownOrder.KNOWN_ORDER) {
            @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  8. tests/postgres_test.go

        CACHE 1
    );
    	`).Error; err != nil {
    		t.Fatalf("failed to create table, got error %v", err)
    	}
    
    	columns, err := DB.Migrator().ColumnTypes("log_usage")
    	if err != nil {
    		t.Fatalf("failed to get columns, got error %v", err)
    	}
    
    	hasLogID := false
    	for _, column := range columns {
    		if column.Name() == "log_id" {
    			hasLogID = true
    			autoIncrement, ok := column.AutoIncrement()
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sat Oct 08 09:16:32 UTC 2022
    - 6.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java

            }
    
            /**
             * Checks if the destroyer has been executed.
             * @return True if executed, false otherwise.
             */
            public boolean isExecuted() {
                return executed.get();
            }
        }
    
        /**
         * Sets the list of commands to execute for thumbnail generation.
         * @param commandList The command list.
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Fri Jul 18 14:34:06 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

              responseCode == HTTP_TEMP_REDIRECT
          if (HttpMethod.redirectsToGet(method) && responseCode != HTTP_PERM_REDIRECT && responseCode != HTTP_TEMP_REDIRECT) {
            requestBuilder.method("GET", null)
          } else {
            val requestBody = if (maintainBody) userResponse.request.body else null
            requestBuilder.method(method, requestBody)
          }
          if (!maintainBody) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 12.4K bytes
    - Viewed (0)
Back to top