Search Options

Results per page
Sort
Preferred Languages
Advance

Results 751 - 760 of 1,684 for testOrg (0.1 sec)

  1. android/guava-tests/test/com/google/common/collect/CompactLinkedHashMapTest.java

    import static java.lang.Math.max;
    
    import com.google.common.collect.testing.MapTestSuiteBuilder;
    import com.google.common.collect.testing.TestStringMapGenerator;
    import com.google.common.collect.testing.features.CollectionFeature;
    import com.google.common.collect.testing.features.CollectionSize;
    import com.google.common.collect.testing.features.MapFeature;
    import java.util.List;
    import java.util.Map;
    import java.util.Map.Entry;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. tests/associations_has_many_test.go

    package tests_test
    
    import (
    	"testing"
    
    	"gorm.io/gorm"
    	. "gorm.io/gorm/utils/tests"
    )
    
    func TestHasManyAssociation(t *testing.T) {
    	user := *GetUser("hasmany", Config{Pets: 2})
    
    	if err := DB.Create(&user).Error; err != nil {
    		t.Fatalf("errors happened when create: %v", err)
    	}
    
    	CheckUser(t, user, user)
    
    	// Find
    	var user2 User
    	DB.Find(&user2, "id = ?", user.ID)
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 16K bytes
    - Viewed (0)
  3. tests/hooks_test.go

    package tests_test
    
    import (
    	"errors"
    	"log"
    	"os"
    	"reflect"
    	"strings"
    	"testing"
    
    	"gorm.io/gorm"
    	. "gorm.io/gorm/utils/tests"
    )
    
    type Product struct {
    	gorm.Model
    	Name                  string
    	Code                  string
    	Price                 float64
    	AfterFindCallTimes    int64
    	BeforeCreateCallTimes int64
    	AfterCreateCallTimes  int64
    	BeforeUpdateCallTimes int64
    	AfterUpdateCallTimes  int64
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 17 03:59:06 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ArrayListMultimapTest.java

    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.collect.testing.features.CollectionFeature;
    import com.google.common.collect.testing.features.CollectionSize;
    import com.google.common.collect.testing.features.MapFeature;
    import com.google.common.collect.testing.google.ListMultimapTestSuiteBuilder;
    import com.google.common.collect.testing.google.TestStringListMultimapGenerator;
    import java.util.ConcurrentModificationException;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/net/UrlEscaperTesting.java

     * limitations under the License.
     */
    
    package com.google.common.net;
    
    import static com.google.common.escape.testing.EscaperAsserts.assertEscaping;
    import static com.google.common.escape.testing.EscaperAsserts.assertUnescaped;
    import static com.google.common.escape.testing.EscaperAsserts.assertUnicodeEscaping;
    import static junit.framework.Assert.assertEquals;
    import static junit.framework.Assert.fail;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 17:53:22 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. cmd/xl-storage_windows_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"bytes"
    	"context"
    	"fmt"
    	"testing"
    )
    
    // Test if various paths work as expected when converted to UNC form
    func TestUNCPaths(t *testing.T) {
    	testCases := []struct {
    		objName string
    		pass    bool
    	}{
    		{"/abcdef", true},
    		{"/a/b/c/d/e/f/g", true},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Nov 29 06:35:16 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  7. cmd/erasure-metadata_test.go

    package cmd
    
    import (
    	"context"
    	"fmt"
    	"slices"
    	"strconv"
    	"testing"
    	"time"
    
    	"github.com/dustin/go-humanize"
    )
    
    const ActualSize = 1000
    
    // Test FileInfo.AddObjectPart()
    func TestAddObjectPart(t *testing.T) {
    	testCases := []struct {
    		partNum       int
    		expectedIndex int
    	}{
    		{1, 0},
    		{2, 1},
    		{4, 2},
    		{5, 3},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jul 25 21:02:50 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  8. cmd/xl-storage_test.go

    package cmd
    
    import (
    	"bytes"
    	"context"
    	"crypto/rand"
    	"io"
    	"net/url"
    	"os"
    	slashpath "path"
    	"runtime"
    	"strings"
    	"syscall"
    	"testing"
    
    	"github.com/google/uuid"
    )
    
    func TestCheckPathLength(t *testing.T) {
    	// Check path length restrictions are not same on windows/darwin
    	if runtime.GOOS == "windows" || runtime.GOOS == "darwin" {
    		t.Skip()
    	}
    
    	testCases := []struct {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  9. cmd/kms-handlers_test.go

    			wantResp:       []string{"AccessDenied"},
    		},
    	}
    	for testNum, test := range tests {
    		t.Run(fmt.Sprintf("%d %s", testNum+1, test.name), func(t *testing.T) {
    			execKMSTest(t, test, adminTestBed)
    		})
    	}
    }
    
    func TestKMSHandlersKeyStatus(t *testing.T) {
    	adminTestBed, tearDown := setupKMSTest(t, true)
    	defer tearDown()
    
    	tests := []kmsTestCase{
    		{
    			name:   "create a first key root user",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/SingletonImmutableMapWithUnhashableValueMapInterfaceTest.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.collect.testing.SampleElements.Unhashables;
    import com.google.common.collect.testing.UnhashableObject;
    import java.util.Map;
    
    @GwtIncompatible // GWT's ImmutableMap emulation is backed by java.util.HashMap.
    public class SingletonImmutableMapWithUnhashableValueMapInterfaceTest
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 09 02:18:08 UTC 2022
    - 1.2K bytes
    - Viewed (0)
Back to top