- Sort Score
- Num 10 results
- Language All
Results 311 - 320 of 655 for TestIs (0.04 seconds)
-
tests/update_belongs_to_test.go
package tests_test import ( "testing" "gorm.io/gorm" . "gorm.io/gorm/utils/tests" ) func TestUpdateBelongsTo(t *testing.T) { user := *GetUser("update-belongs-to", Config{}) if err := DB.Create(&user).Error; err != nil { t.Fatalf("errors happened when create: %v", err) } user.Company = Company{Name: "company-belongs-to-association"} user.Manager = &User{Name: "manager-belongs-to-association"}
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Thu Jul 14 06:55:54 GMT 2022 - 1.6K bytes - Click Count (0) -
schema/schema_helper_test.go
package schema_test import ( "context" "fmt" "reflect" "strings" "testing" "gorm.io/gorm/schema" "gorm.io/gorm/utils/tests" ) func checkSchema(t *testing.T, s *schema.Schema, v *schema.Schema, primaryFields []string) { t.Run("CheckSchema/"+s.Name, func(t *testing.T) { tests.AssertObjEqual(t, s, v, "Name", "Table") for idx, field := range primaryFields { var found bool for _, f := range s.PrimaryFields {
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Thu Aug 28 02:57:17 GMT 2025 - 7.5K bytes - Click Count (0) -
README.md
[](https://goreportcard.com/report/github.com/go-gorm/gorm) [](https://github.com/go-gorm/gorm/actions) [](https://opensource.org/licenses/MIT)
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Thu Oct 30 09:30:20 GMT 2025 - 1.8K bytes - Click Count (0) -
internal/event/target/nsq_test.go
) func TestNSQArgs_Validate(t *testing.T) { type fields struct { Enable bool NSQDAddress xnet.Host Topic string TLS struct { Enable bool SkipVerify bool } } tests := []struct { name string fields fields wantErr bool }{ { name: "test1_missing_topic", fields: fields{ Enable: true, NSQDAddress: xnet.Host{ Name: "127.0.0.1",
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri May 24 23:05:23 GMT 2024 - 2.2K bytes - Click Count (0) -
docs/pt/docs/how-to/configure-swagger-ui.md
## Alterar parâmetros de UI padrão do Swagger { #change-default-swagger-ui-parameters } O FastAPI inclui alguns parâmetros de configuração padrão apropriados para a maioria dos casos de uso. Inclui estas configurações padrão: {* ../../fastapi/openapi/docs.py ln[9:24] hl[18:24] *} Você pode substituir qualquer um deles definindo um valor diferente no argumento `swagger_ui_parameters`.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 3.2K bytes - Click Count (0) -
build-logic/cleanup/src/main/kotlin/gradlebuild/testing/services/BuildBucketProvider.kt
println("Tests to be included:\n$content") IncludeTestClassProvider(readTestClasses(content)) } parameters.excludeTestClasses.get().isNotBlank() -> { val content = parameters.repoRoot.file("test-splits/exclude-test-classes.properties").get().asFile.readText() println("Tests to be excluded:\n$content")
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Fri Jun 28 08:29:28 GMT 2024 - 4.9K bytes - Click Count (0) -
schema/schema_test.go
"gorm.io/gorm" "gorm.io/gorm/schema" "gorm.io/gorm/utils/tests" ) func TestParseSchema(t *testing.T) { user, err := schema.Parse(&tests.User{}, &sync.Map{}, schema.NamingStrategy{}) if err != nil { t.Fatalf("failed to parse user, got error %v", err) } checkUserSchema(t, user) } func TestParseSchemaWithMap(t *testing.T) { type User struct { tests.User Attrs map[string]string `gorm:"type:Map(String,String);"`
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Thu Aug 28 02:57:17 GMT 2025 - 13.3K bytes - Click Count (0) -
src/cmd/asm/internal/asm/line_test.go
{"BSWAPW DX", `unrecognized instruction`}, {"BSWAPW R11", `unrecognized instruction`}, }) } func testBadInstParser(t *testing.T, goarch string, tests []badInstTest) { for i, test := range tests { arch, ctxt := setArch(goarch) tokenizer := lex.NewTokenizer("", strings.NewReader(test.input+"\n"), nil) parser := NewParser(ctxt, arch, tokenizer) err := tryParse(t, func() {Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Aug 29 07:48:38 GMT 2023 - 1.9K bytes - Click Count (0) -
.github/workflows/mint.yml
name: Mint Tests on: pull_request: branches: - master # This ensures that previous jobs for the PR are canceled when the PR is # updated. concurrency: group: ${{ github.workflow }}-${{ github.head_ref }} cancel-in-progress: true permissions: contents: read jobs: mint-test: runs-on: mint timeout-minutes: 120 steps:Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 2.9K bytes - Click Count (0) -
.teamcity/src/main/kotlin/model/GradleSubprojectProvider.kt
import com.fasterxml.jackson.module.kotlin.registerKotlinModule import java.io.File val ignoredSubprojects = listOf( "soak", // soak test "distributions-integ-tests", // build distribution testing "architecture-test", // sanity check ) interface GradleSubprojectProvider { val subprojects: List<GradleSubproject>Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Feb 12 09:12:03 GMT 2025 - 2.4K bytes - Click Count (0)