Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 2,238 for testLog (0.06 seconds)

  1. docs/tr/docs/advanced/testing-events.md

    # Event'leri Test Etme: lifespan ve startup - shutdown { #testing-events-lifespan-and-startup-shutdown }
    
    Test'lerinizde `lifespan`'ın çalışması gerektiğinde, `TestClient`'ı bir `with` ifadesiyle kullanabilirsiniz:
    
    {* ../../docs_src/app_testing/tutorial004_py310.py hl[9:15,18,27:28,30:32,41:43] *}
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 12:41:38 GMT 2026
    - 718 bytes
    - Click Count (0)
  2. docs/ru/docs/advanced/testing-events.md

    # Тестирование событий: lifespan и startup - shutdown { #testing-events-lifespan-and-startup-shutdown }
    
    Если вам нужно, чтобы `lifespan` выполнялся в ваших тестах, вы можете использовать `TestClient` вместе с оператором `with`:
    
    {* ../../docs_src/app_testing/tutorial004_py310.py hl[9:15,18,27:28,30:32,41:43] *}
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 19:57:34 GMT 2026
    - 904 bytes
    - Click Count (0)
  3. docs/ja/docs/advanced/testing-dependencies.md

    # 依存関係のオーバーライドによるテスト { #testing-dependencies-with-overrides }
    
    ## テスト時の依存関係のオーバーライド { #overriding-dependencies-during-testing }
    
    テスト中に依存関係をオーバーライドしたい場面がいくつかあります。
    
    元の依存関係(およびそれにぶら下がるサブ依存関係)を実行したくない場合です。
    
    代わりに、テストの間だけ(特定のテストだけでも)使われる別の依存関係を提供し、元の依存関係の値が使われていた箇所で利用できる値を返したいのです。
    
    ### ユースケース: 外部サービス { #use-cases-external-service }
    
    例として、呼び出す必要がある外部の認証プロバイダがあるとします。
    
    トークンを送ると、認証済みユーザーが返ってきます。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 15:24:30 GMT 2026
    - 3K bytes
    - Click Count (0)
  4. docs/ja/docs/how-to/testing-database.md

    # データベースのテスト { #testing-a-database }
    
    データベース、SQL、SQLModel については、[SQLModel ドキュメント](https://sqlmodel.tiangolo.com/)で学べます。🤓
    
    FastAPI と一緒に SQLModel を使うためのミニ [チュートリアル](https://sqlmodel.tiangolo.com/tutorial/fastapi/)があります。✨
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 533 bytes
    - Click Count (0)
  5. docs/ko/docs/advanced/testing-events.md

    # 이벤트 테스트: 라이프스팬 및 시작 - 종료 { #testing-events-lifespan-and-startup-shutdown }
    
    테스트에서 `lifespan`을 실행해야 하는 경우, `with` 문과 함께 `TestClient`를 사용할 수 있습니다:
    
    {* ../../docs_src/app_testing/tutorial004_py310.py hl[9:15,18,27:28,30:32,41:43] *}
    
    
    ["공식 Starlette 문서 사이트에서 테스트에서 라이프스팬 실행하기."](https://www.starlette.dev/lifespan/#running-lifespan-in-tests)에 대한 자세한 내용을 더 읽을 수 있습니다.
    
    더 이상 권장되지 않는 `startup` 및 `shutdown` 이벤트의 경우, 다음과 같이 `TestClient`를 사용할 수 있습니다:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:57:01 GMT 2026
    - 741 bytes
    - Click Count (0)
  6. build-logic/src/main/kotlin/okhttp.testing-conventions.gradle.kts

    import org.gradle.api.tasks.testing.logging.TestExceptionFormat
    import org.gradle.api.artifacts.VersionCatalogsExtension
    import okhttp3.buildsupport.platform
    import okhttp3.buildsupport.testJavaVersion
    
    plugins {
      id("okhttp.base-conventions")
    }
    
    val libs = extensions.getByType<VersionCatalogsExtension>().named("libs")
    
    fun library(alias: String) = libs.findLibrary(alias).get().get().let {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Feb 07 07:16:57 GMT 2026
    - 1.7K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/app/job/AllJobSchedulerTest.java

            scheduler.setJobClass(TestJob.class);
            // No exception means success
        }
    
        // Test job class for testing setJobClass
        public static class TestJob implements LaJob {
            @Override
            public void run(final org.lastaflute.job.LaJobRuntime runtime) {
                // Empty implementation for testing
            }
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 12:58:11 GMT 2026
    - 1.6K bytes
    - Click Count (0)
  8. cmd/bitrot_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"io"
    	"testing"
    )
    
    func testBitrotReaderWriterAlgo(t *testing.T, bitrotAlgo BitrotAlgorithm) {
    	tmpDir := t.TempDir()
    
    	volume := "testvol"
    	filePath := "testfile"
    
    	disk, err := newLocalXLStorage(tmpDir)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	disk.MakeVol(t.Context(), volume)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 2K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/primitives/UnsignedIntegerTest.java

    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.collect.ImmutableSet;
    import com.google.common.testing.EqualsTester;
    import com.google.common.testing.NullPointerTester;
    import com.google.common.testing.SerializableTester;
    import java.math.BigInteger;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/collect/EmptyImmutableTableTest.java

    package com.google.common.collect;
    
    import static com.google.common.truth.Truth.assertThat;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.testing.EqualsTester;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Tests {@link EmptyImmutableTable}
     *
     * @author Gregory Kick
     */
    @GwtCompatible
    @NullMarked
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 3.3K bytes
    - Click Count (0)
Back to Top