Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1721 - 1730 of 1,853 for testlog (0.09 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs/ko/docs/advanced/settings.md

    지금은 `get_settings()`가 일반 함수라고 가정해도 됩니다.
    
    ///
    
    그 다음 *경로 처리 함수*에서 이를 의존성으로 요구하고, 필요한 어디서든 사용할 수 있습니다.
    
    {* ../../docs_src/settings/app02_an_py310/main.py hl[17,19:21] *}
    
    ### 설정과 테스트 { #settings-and-testing }
    
    그 다음, `get_settings`에 대한 의존성 override를 만들어 테스트 중에 다른 설정 객체를 제공하기가 매우 쉬워집니다:
    
    {* ../../docs_src/settings/app02_an_py310/test_main.py hl[9:10,13,21] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 11.9K bytes
    - Click Count (0)
  2. docs/zh-hant/docs/advanced/settings.md

    現在你可以先把 `get_settings()` 視為一般函式。
    
    ///
    
    接著我們可以在*路徑操作函式 (path operation function)* 中將它宣告為相依,並在需要的地方使用它。
    
    {* ../../docs_src/settings/app02_an_py310/main.py hl[17,19:21] *}
    
    ### 設定與測試 { #settings-and-testing }
    
    接著,在測試時要提供不同的設定物件會非常容易,只要為 `get_settings` 建立相依覆寫(dependency override)即可:
    
    {* ../../docs_src/settings/app02_an_py310/test_main.py hl[9:10,13,21] *}
    
    在相依覆寫中,我們在建立新的 `Settings` 物件時設定 `admin_email` 的新值,然後回傳該新物件。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  3. internal/rest/client.go

    				r := snapshot
    				return io.NopCloser(&r), nil
    			}
    		default:
    			// This is where we'd set it to -1 (at least
    			// if body != NoBody) to mean unknown, but
    			// that broke people during the Go 1.8 testing
    			// period. People depend on it being 0 I
    			// guess. Maybe retry later. See Issue 18117.
    		}
    		// For client requests, Request.ContentLength of 0
    		// means either actually 0, or unknown. The only way
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 14.7K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/MapMakerInternalMap.java

        h ^= h >>> 10;
        h += h << 3;
        h ^= h >>> 6;
        h += (h << 2) + (h << 14);
        return h ^ (h >>> 16);
      }
    
      /**
       * This method is a convenience for testing. Code should call {@link Segment#copyEntry} directly.
       */
      // Guarded By Segment.this
      @VisibleForTesting
      E copyEntry(E original, E newNext) {
        int hash = original.getHash();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 89.9K bytes
    - Click Count (0)
  5. impl/maven-core/pom.xml

          <groupId>org.xmlunit</groupId>
          <artifactId>xmlunit-core</artifactId>
          <scope>test</scope>
        </dependency>
        <dependency>
          <groupId>org.codehaus.plexus</groupId>
          <artifactId>plexus-testing</artifactId>
          <scope>test</scope>
        </dependency>
        <dependency>
          <groupId>org.mockito</groupId>
          <artifactId>mockito-junit-jupiter</artifactId>
          <version>${mockitoVersion}</version>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Nov 26 10:37:56 GMT 2025
    - 16.9K bytes
    - Click Count (0)
  6. docs/pt/docs/advanced/settings.md

    E então podemos exigi-la na *função de operação de rota* como dependência e usá-la onde for necessário.
    
    {* ../../docs_src/settings/app02_an_py310/main.py hl[17,19:21] *}
    
    ### Configurações e testes { #settings-and-testing }
    
    Então seria muito fácil fornecer um objeto de configurações diferente durante os testes criando uma sobrescrita de dependência para `get_settings`:
    
    {* ../../docs_src/settings/app02_an_py310/test_main.py hl[9:10,13,21] *}
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 11.5K bytes
    - Click Count (0)
  7. guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.testing;
    
    import static com.google.common.truth.Truth.assertThat;
    
    import com.google.common.base.CharMatcher;
    import com.google.common.base.Equivalence;
    import com.google.common.base.Function;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 18.6K bytes
    - Click Count (0)
  8. src/test/java/jcifs/http/NetworkExplorerTest.java

         */
        @Test
        void testDoFile() throws Exception {
            initializeNetworkExplorer(false, "jCIFS");
    
            // Setup mock file with minimal required behavior
            String content = "File content for testing";
            byte[] contentBytes = content.getBytes();
    
            when(smbFile.length()).thenReturn((long) contentBytes.length);
            when(smbFile.getInputStream()).thenReturn(new ByteArrayInputStream(contentBytes));
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 21.2K bytes
    - Click Count (0)
  9. cmd/server_test.go

    package cmd
    
    import (
    	"bytes"
    	"context"
    	"encoding/xml"
    	"fmt"
    	"io"
    	"math/rand"
    	"net/http"
    	"net/url"
    	"reflect"
    	"regexp"
    	"runtime"
    	"strings"
    	"sync"
    	"testing"
    	"time"
    
    	"github.com/dustin/go-humanize"
    	jwtgo "github.com/golang-jwt/jwt/v4"
    	"github.com/minio/minio-go/v7/pkg/set"
    	"github.com/minio/minio-go/v7/pkg/signer"
    	xhttp "github.com/minio/minio/internal/http"
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 118.1K bytes
    - Click Count (0)
  10. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

    import javax.net.ssl.HttpsURLConnection
    import kotlin.test.assertFailsWith
    import okhttp3.Headers
    import okhttp3.Protocol
    import okhttp3.RecordingHostnameVerifier
    import okhttp3.TestUtil.assumeNotWindows
    import okhttp3.testing.PlatformRule
    import okhttp3.tls.HandshakeCertificates
    import okhttp3.tls.HeldCertificate
    import org.junit.jupiter.api.AfterEach
    import org.junit.jupiter.api.Assertions.fail
    import org.junit.jupiter.api.BeforeEach
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Jul 03 13:16:34 GMT 2025
    - 22.3K bytes
    - Click Count (0)
Back to Top