Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 60 for testOf1 (0.04 sec)

  1. guava-tests/test/com/google/common/base/OptionalTest.java

      }
    
      public void testAbsent() {
        Optional<String> optionalName = Optional.absent();
        assertFalse(optionalName.isPresent());
      }
    
      public void testOf() {
        assertEquals("training", Optional.of("training").get());
      }
    
      public void testOf_null() {
        assertThrows(NullPointerException.class, () -> Optional.of(null));
      }
    
      public void testFromNullable() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java

            assertTrue(result.getErrors().get(2).contains("test:f"));
        }
    
        @Test
        void testBadDependencyScope() throws Exception {
            SimpleProblemCollector result = validate("bad-dependency-scope.xml");
    
            assertViolations(result, 0, 0, 2);
    
            assertTrue(result.getWarnings().get(0).contains("test:f"));
    
            assertTrue(result.getWarnings().get(1).contains("test:g"));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  3. tests/joins_test.go

    package tests_test
    
    import (
    	"fmt"
    	"regexp"
    	"sort"
    	"testing"
    
    	"github.com/stretchr/testify/assert"
    	"gorm.io/gorm"
    	. "gorm.io/gorm/utils/tests"
    )
    
    func TestJoins(t *testing.T) {
    	user := *GetUser("joins-1", Config{Company: true, Manager: true, Account: true, NamedPet: false})
    
    	DB.Create(&user)
    
    	var user2 User
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 17 03:58:13 UTC 2024
    - 15K bytes
    - Viewed (0)
  4. cni/pkg/nodeagent/server_test.go

    // limitations under the License.
    
    package nodeagent
    
    import (
    	"context"
    	"errors"
    	"net/netip"
    	"sync/atomic"
    	"testing"
    	"time"
    
    	"github.com/stretchr/testify/mock"
    	"golang.org/x/sys/unix"
    	corev1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/types"
    	"k8s.io/client-go/kubernetes"
    	"k8s.io/client-go/kubernetes/fake"
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  5. go.mod

    	github.com/ryanuber/go-glob v1.0.0
    	github.com/spf13/cobra v1.8.1
    	github.com/spf13/pflag v1.0.5
    	github.com/spf13/viper v1.19.0
    	github.com/stoewer/go-strcase v1.3.0
    	github.com/stretchr/testify v1.9.0
    	github.com/vishvananda/netlink v1.3.0
    	github.com/vishvananda/netns v0.0.4
    	github.com/yl2chen/cidranger v1.0.2
    	go.opentelemetry.io/otel v1.31.0
    	go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.31.0
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Nov 06 06:23:25 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  6. configure.py

          test_and_build_filters.append('-gpu')
    
      # Disable tests with "v1only" tag in "v2" Bazel config, but not in "v1" config
      write_to_bazelrc('test:v1 --test_tag_filters=%s' %
                       ','.join(test_and_build_filters + test_only_filters))
      write_to_bazelrc('test:v1 --build_tag_filters=%s' %
                       ','.join(test_and_build_filters))
      write_to_bazelrc(
          'test:v2 --test_tag_filters=%s' %
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 02 22:16:02 UTC 2024
    - 48.2K bytes
    - Viewed (0)
  7. 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)
  8. src/test/java/jcifs/tests/PACTest.java

                KerberosPacAuthData pacData = (KerberosPacAuthData) ed.getUserAuthorizations().get(0);
                Pac pac = pacData.getPac();
                PacLogonInfo li = pac.getLogonInfo();
                Assert.assertEquals("test1", li.getUserName());
            } finally {
                Files.deleteIfExists(p);
                Files.deleteIfExists(krbConfig);
            }
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Oct 01 12:01:17 UTC 2023
    - 22.3K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/XpathTransformerTest.java

                    + "<field name=\"false\">false</field>\n"//
                    + "</doc>";
    
            final ResponseData responseData = new ResponseData();
            responseData.setResponseBody(ResourceUtil.getResourceAsFile("html/test1.html"), false);
            responseData.setCharSet(Constants.UTF_8);
            final ResultData resultData = new ResultData();
            xpathTransformer.storeData(responseData, resultData);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  10. docs/metrics/v3.md

    For example, to query API metrics for buckets `test1` and `test2`, make a scrape request to `/minio/metrics/v3/api/bucket?buckets=test1,test2`. 
    
    ### List Available Metrics
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 02 22:30:11 UTC 2024
    - 45.2K bytes
    - Viewed (0)
Back to top