Search Options

Results per page
Sort
Preferred Languages
Advance

Results 641 - 650 of 1,892 for testint (0.1 sec)

  1. internal/crypto/key_test.go

    package crypto
    
    import (
    	"bytes"
    	"crypto/rand"
    	"encoding/hex"
    	"io"
    	"testing"
    
    	"github.com/minio/minio/internal/logger"
    )
    
    var shortRandom = func(limit int64) io.Reader { return io.LimitReader(rand.Reader, limit) }
    
    func recoverTest(i int, shouldPass bool, t *testing.T) {
    	if err := recover(); err == nil && !shouldPass {
    		t.Errorf("Test %d should fail but passed successfully", i)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  2. clause/group_by_test.go

    package clause_test
    
    import (
    	"fmt"
    	"testing"
    
    	"gorm.io/gorm/clause"
    )
    
    func TestGroupBy(t *testing.T) {
    	results := []struct {
    		Clauses []clause.Interface
    		Result  string
    		Vars    []interface{}
    	}{
    		{
    			[]clause.Interface{clause.Select{}, clause.From{}, clause.GroupBy{
    				Columns: []clause.Column{{Name: "role"}},
    				Having:  []clause.Expression{clause.Eq{"role", "admin"}},
    			}},
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java

    import com.google.common.collect.testing.google.BiMapInverseTester;
    import com.google.common.collect.testing.google.BiMapTestSuiteBuilder;
    import com.google.common.collect.testing.google.TestStringBiMapGenerator;
    import com.google.common.testing.CollectorTester;
    import com.google.common.testing.SerializableTester;
    import java.util.AbstractMap;
    import java.util.Collections;
    import java.util.LinkedHashMap;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/SortedMapGenerators.java

    import com.google.common.collect.Ordering;
    import com.google.common.collect.testing.SampleElements;
    import com.google.common.collect.testing.TestListGenerator;
    import com.google.common.collect.testing.TestStringListGenerator;
    import com.google.common.collect.testing.TestStringSortedMapGenerator;
    import java.util.List;
    import java.util.Map.Entry;
    import java.util.SortedMap;
    
    /**
     * Generators of sorted maps and derived collections.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. istioctl/pkg/writer/compare/sds/writer_test.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package sdscompare
    
    import (
    	"bytes"
    	"strings"
    	"testing"
    )
    
    func TestSDSWriterSecretItems(t *testing.T) {
    	tests := []struct {
    		name       string
    		format     Format
    		items      []SecretItem
    		expected   []string
    		unexpected []string
    	}{
    		{
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri May 29 20:42:01 UTC 2020
    - 4.9K bytes
    - Viewed (0)
  6. clause/delete_test.go

    package clause_test
    
    import (
    	"fmt"
    	"testing"
    
    	"gorm.io/gorm/clause"
    )
    
    func TestDelete(t *testing.T) {
    	results := []struct {
    		Clauses []clause.Interface
    		Result  string
    		Vars    []interface{}
    	}{
    		{
    			[]clause.Interface{clause.Delete{}, clause.From{}},
    			"DELETE FROM `users`", nil,
    		},
    		{
    			[]clause.Interface{clause.Delete{Modifier: "LOW_PRIORITY"}, clause.From{}},
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Jun 02 01:18:01 UTC 2020
    - 608 bytes
    - Viewed (0)
  7. buildscripts/verify-build.sh

    	chmod a+x "$FUNCTIONAL_TESTS"
    }
    
    function main() {
    	echo "Testing in FS setup"
    	if ! run_test_fs; then
    		echo "FAILED"
    		purge "$WORK_DIR"
    		exit 1
    	fi
    
    	echo "Testing in Erasure setup"
    	if ! run_test_erasure; then
    		echo "FAILED"
    		purge "$WORK_DIR"
    		exit 1
    	fi
    
    	echo "Testing in Distributed Erasure setup"
    	if ! run_test_dist_erasure; then
    		echo "FAILED"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 19:28:51 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  8. cni/test/install_cni.go

    		return value
    	}
    	return fallback
    }
    
    func mktemp(dir, prefix string, t *testing.T) string {
    	t.Helper()
    	tempDir, err := os.MkdirTemp(dir, prefix)
    	if err != nil {
    		t.Fatalf("Couldn't get current working directory, err: %v", err)
    	}
    	t.Logf("Created temporary dir: %v", tempDir)
    	return tempDir
    }
    
    func ls(dir string, t *testing.T) []string {
    	files, err := os.ReadDir(dir)
    	t.Helper()
    	if err != nil {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 18:38:14 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/SetHashCodeTester.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect.testing.testers;
    
    import static com.google.common.collect.testing.Helpers.getMethod;
    import static com.google.common.collect.testing.features.CollectionFeature.ALLOWS_NULL_VALUES;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. clause/locking_test.go

    package clause_test
    
    import (
    	"fmt"
    	"testing"
    
    	"gorm.io/gorm/clause"
    )
    
    func TestLocking(t *testing.T) {
    	results := []struct {
    		Clauses []clause.Interface
    		Result  string
    		Vars    []interface{}
    	}{
    		{
    			[]clause.Interface{clause.Select{}, clause.From{}, clause.Locking{Strength: clause.LockingStrengthUpdate}},
    			"SELECT * FROM `users` FOR UPDATE", nil,
    		},
    		{
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Dec 15 08:32:56 UTC 2023
    - 1.2K bytes
    - Viewed (0)
Back to top