Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 42 for testOf0 (0.11 sec)

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

        IllegalArgumentException expected =
            assertThrows(IllegalArgumentException.class, () -> builder.build());
        assertThat(expected.getMessage()).contains("one");
      }
    
      public void testOf() {
        assertMapEquals(ImmutableBiMap.of("one", 1), "one", 1);
        assertMapEquals(ImmutableBiMap.of("one", 1).inverse(), 1, "one");
        assertMapEquals(ImmutableBiMap.of("one", 1, "two", 2), "one", 1, "two", 2);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

                    .build())
            .addEqualityGroup(
                ImmutableListMultimap.<String, Integer>builder().put("bar", 2).put("foo", 3).build())
            .testEquals();
      }
    
      public void testOf() {
        assertMultimapEquals(ImmutableListMultimap.of("one", 1), "one", 1);
        assertMultimapEquals(ImmutableListMultimap.of("one", 1, "two", 2), "one", 1, "two", 2);
        assertMultimapEquals(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/informers_test.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package nodeagent
    
    import (
    	"context"
    	"fmt"
    	"testing"
    	"time"
    
    	"github.com/stretchr/testify/mock"
    	corev1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/types"
    
    	"istio.io/api/annotation"
    	"istio.io/api/label"
    	"istio.io/istio/cni/pkg/util"
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

                    .build())
            .addEqualityGroup(
                ImmutableSetMultimap.<String, Integer>builder().put("bar", 2).put("foo", 3).build())
            .testEquals();
      }
    
      public void testOf() {
        assertMultimapEquals(ImmutableSetMultimap.of("one", 1), "one", 1);
        assertMultimapEquals(ImmutableSetMultimap.of("one", 1, "two", 2), "one", 1, "two", 2);
        assertMultimapEquals(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ImmutableMapTest.java

          Matcher matcher = pattern.matcher(expected.getMessage());
          assertThat(matcher.matches()).isTrue();
          assertThat(matcher.group(1)).isNotEqualTo(matcher.group(2));
      }
    
      public void testOf() {
        assertMapEquals(ImmutableMap.of("one", 1), "one", 1);
        assertMapEquals(ImmutableMap.of("one", 1, "two", 2), "one", 1, "two", 2);
        assertMapEquals(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  6. CHANGELOG/CHANGELOG-1.29.md

    - github.com/spf13/afero: [v1.2.2 → v1.1.2](https://github.com/spf13/afero/compare/v1.2.2...v1.1.2)
    - github.com/stretchr/testify: [v1.8.2 → v1.8.4](https://github.com/stretchr/testify/compare/v1.8.2...v1.8.4)
    - github.com/vmware/govmomi: [v0.30.0 → v0.30.6](https://github.com/vmware/govmomi/compare/v0.30.0...v0.30.6)
    - go.etcd.io/bbolt: v1.3.7 → v1.3.8
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Wed Oct 23 04:37:31 UTC 2024
    - 375.1K bytes
    - Viewed (1)
  7. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

          Matcher matcher = pattern.matcher(expected.getMessage());
          assertThat(matcher.matches()).isTrue();
          assertThat(matcher.group(1)).isNotEqualTo(matcher.group(2));
      }
    
      public void testOf() {
        assertMapEquals(ImmutableMap.of("one", 1), "one", 1);
        assertMapEquals(ImmutableMap.of("one", 1, "two", 2), "one", 1, "two", 2);
        assertMapEquals(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 36.6K bytes
    - Viewed (0)
  8. src/archive/zip/reader_test.go

    	}
    	// Read in the archive.
    	_, err := NewReader(bytes.NewReader(data), int64(len(data)))
    	if err != nil {
    		t.Errorf("Error reading the archive: %v", err)
    	}
    }
    
    func TestFS(t *testing.T) {
    	for _, test := range []struct {
    		file string
    		want []string
    	}{
    		{
    			"testdata/unix.zip",
    			[]string{"hello", "dir/bar", "readonly"},
    		},
    		{
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 25 00:25:45 UTC 2024
    - 55.6K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.20.md

    - github.com/hashicorp/serf: [v0.8.2](https://github.com/hashicorp/serf/tree/v0.8.2)
    - github.com/jmespath/go-jmespath/internal/testify: [v1.5.1](https://github.com/jmespath/go-jmespath/internal/testify/tree/v1.5.1)
    - github.com/mitchellh/cli: [v1.0.0](https://github.com/mitchellh/cli/tree/v1.0.0)
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Wed Jan 19 21:05:45 UTC 2022
    - 409K bytes
    - Viewed (0)
  10. tests/migrate_test.go

    package tests_test
    
    import (
    	"context"
    	"database/sql"
    	"fmt"
    	"math/rand"
    	"os"
    	"reflect"
    	"strconv"
    	"strings"
    	"testing"
    	"time"
    
    	"github.com/stretchr/testify/assert"
    	"gorm.io/driver/postgres"
    
    	"gorm.io/gorm"
    	"gorm.io/gorm/clause"
    	"gorm.io/gorm/logger"
    	"gorm.io/gorm/migrator"
    	"gorm.io/gorm/schema"
    	"gorm.io/gorm/utils"
    	. "gorm.io/gorm/utils/tests"
    )
    
    func TestMigrate(t *testing.T) {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Mar 18 11:24:16 UTC 2024
    - 56.2K bytes
    - Viewed (0)
Back to top