Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for TestOr (0.11 sec)

  1. tests/query_test.go

    		t.Fatalf("Build NOT condition, but got %v", result.Statement.SQL.String())
    	}
    }
    
    func TestOr(t *testing.T) {
    	dryDB := DB.Session(&gorm.Session{DryRun: true})
    
    	var count int64
    	result := dryDB.Model(&User{}).Or("role = ?", "admin").Count(&count)
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 49.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/registry/rest/resttest/resttest.go

    // By default "foo%d" is used
    func (t *Tester) Namer(namer func(int) string) *Tester {
    	t.namer = namer
    	return t
    }
    
    func (t *Tester) ClusterScope() *Tester {
    	t.clusterScope = true
    	return t
    }
    
    func (t *Tester) AllowCreateOnUpdate() *Tester {
    	t.createOnUpdate = true
    	return t
    }
    
    func (t *Tester) GeneratesName() *Tester {
    	t.generatesName = true
    	return t
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 55.8K bytes
    - Viewed (0)
  3. src/cmd/dist/test.go

    	flag.BoolVar(&t.json, "json", false, "report test results in JSON")
    
    	xflagparse(-1) // any number of args
    	if noRebuild {
    		t.rebuild = false
    	}
    
    	t.run()
    }
    
    // tester executes cmdtest.
    type tester struct {
    	race        bool
    	msan        bool
    	asan        bool
    	listMode    bool
    	rebuild     bool
    	failed      bool
    	keepGoing   bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 16:01:35 UTC 2024
    - 50K bytes
    - Viewed (0)
  4. .teamcity/test-buckets.json

    				},
    				"subprojects":[
    					"testing-jvm",
    					"worker-main",
    					"files",
    					"stdlib-java-extensions",
    					"build-cache-packaging",
    					"build-operations",
    					"precondition-tester",
    					"tooling-api-builders",
    					"hashing",
    					"base-services-groovy",
    					"kotlin-dsl-provider-plugins"
    				]
    			},
    			{
    				"parallelizationMethod":{
    					"name":"TestDistribution"
    				},
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 15:56:44 UTC 2024
    - 54.2K bytes
    - Viewed (0)
  5. src/cmd/internal/testdir/testdir_test.go

    		} else {
    			errmsgs, out = partitionStrings(we.prefix, out)
    		}
    		if len(errmsgs) == 0 {
    			errs = append(errs, fmt.Errorf("%s:%d: missing error %q", we.file, we.lineNum, we.reStr))
    			continue
    		}
    		matched := false
    		n := len(out)
    		for _, errmsg := range errmsgs {
    			// Assume errmsg says "file:line: foo".
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        assertFalse(changed);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNullPointerExceptions() {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(Iterators.class);
      }
    
      @GwtIncompatible // Only used by @GwtIncompatible code
      private abstract static class EmptyIteratorTester extends IteratorTester<Integer> {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 03 13:01:51 UTC 2024
    - 55.7K bytes
    - Viewed (0)
  7. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

        // the test in question and vice versa. A little Eclipse plugin would do the trick.
        public void testThatExecutionsWithoutIdsAreMergedAndTheChildWins() throws Exception {
            PomTestWrapper tester = buildPom("micromailer");
            assertModelEquals(tester, "child-descriptor", "build/plugins[1]/executions[1]/goals[1]");
        }
    
        /*MNG-
        public void testDependencyScope()
            throws Exception
        {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 93.2K bytes
    - Viewed (0)
  8. src/cmd/link/internal/ppc64/asm.go

    	offMul := 4  // 1 instruction per register op.
    	switch s[1] {
    	case "savegpr0", "savegpr1", "savefpr":
    	case "restgpr0", "restgpr1", "restfpr":
    	case "savevr", "restvr":
    		minReg = 20 // _savevr_{n} or _restvr_{n}, 20 <= n <= 31
    		offMul = 8  // 2 instructions per register op.
    	default:
    		return 0, false // Not an abi func
    	}
    	n, e := strconv.Atoi(s[2])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 20:54:08 UTC 2024
    - 63.7K bytes
    - Viewed (0)
Back to top