Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,123 for fooo (0.03 sec)

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

        assertEquals("fooBar", LOWER_HYPHEN.to(LOWER_CAMEL, "foo-bar"));
      }
    
      public void testLowerHyphenToUpperCamel() {
        assertEquals("Foo", LOWER_HYPHEN.to(UPPER_CAMEL, "foo"));
        assertEquals("FooBar", LOWER_HYPHEN.to(UPPER_CAMEL, "foo-bar"));
      }
    
      public void testLowerHyphenToUpperUnderscore() {
        assertEquals("FOO", LOWER_HYPHEN.to(UPPER_UNDERSCORE, "foo"));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu May 04 09:41:29 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  2. tests/test_additional_properties_bool.py

        else:
    
            class Config:
                extra = "forbid"
    
    
    class Foo(FooBaseModel):
        pass
    
    
    app = FastAPI()
    
    
    @app.post("/")
    async def post(
        foo: Union[Foo, None] = None,
    ):
        return foo
    
    
    client = TestClient(app)
    
    
    def test_call_invalid():
        response = client.post("/", json={"foo": {"bar": "baz"}})
        assert response.status_code == 422
    
    
    def test_call_valid():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ComparisonChainTest.java

                .thenComparing(foo -> foo.anEnum, nullsLast(naturalOrder()));
        ImmutableList<Foo> instances =
            ImmutableList.of(
                new Foo("a", 1, TriState.TRUE),
                new Foo("a", 2, TriState.TRUE),
                new Foo("b", 1, TriState.FALSE),
                new Foo("b", 1, TriState.TRUE),
                new Foo("b", 1, null));
        for (Foo a : instances) {
          for (Foo b : instances) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 27 13:27:08 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. tests/test_jsonable_encoder.py

        assert jsonable_encoder(model, exclude_defaults=True) == {"foo": "foo"}
        assert jsonable_encoder(model, exclude_unset=True, exclude_defaults=True) == {
            "foo": "foo"
        }
        assert jsonable_encoder(model, include={"foo"}) == {"foo": "foo"}
        assert jsonable_encoder(model, exclude={"bla"}) == {"foo": "foo", "bar": "bar"}
        assert jsonable_encoder(model, include={}) == {}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 21:56:59 UTC 2024
    - 9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java

      private static final ImmutableSet<String> NON_PS =
          ImmutableSet.of(
              "foo.bar.com",
              "foo.ca",
              "foo.bar.ca",
              "foo.blogspot.com",
              "foo.blogspot.co.uk",
              "foo.uk.com",
              "foo.bar.co.il",
              "state.CA.us",
              "www.state.pa.us",
              "pvt.k12.ca.us",
              "www.google.com",
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  6. android/guava-testlib/test/com/google/common/collect/testing/features/FeatureUtilTest.java

        Set<Feature<?>> features = newHashSet(FOO);
        assertThat(addImpliedFeatures(features)).isSameInstanceAs(features);
      }
    
      public void testAddImpliedFeatures_addsImpliedFeatures() {
        assertThat(addImpliedFeatures(newHashSet(FOO))).containsExactly(FOO);
    
        assertThat(addImpliedFeatures(newHashSet(IMPLIES_IMPLIES_FOO)))
            .containsExactly(IMPLIES_IMPLIES_FOO, IMPLIES_FOO, FOO);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 05 22:05:05 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  7. android/guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java

        assertThat(findClassesToTest(ImmutableList.of(Foo.class))).containsExactly(Foo.class);
        assertThat(findClassesToTest(ImmutableList.of(Foo.class, Foo2Test.class)))
            .containsExactly(Foo.class);
      }
    
      public void testFindClassesToTest_publicApiOnly() {
        sanityTests.publicApiOnly();
        assertThat(findClassesToTest(ImmutableList.of(Foo.class))).isEmpty();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 21:37:55 UTC 2019
    - 5.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/AbstractTableTest.java

          assertEquals((Character) 'c', table.get("foo", 3));
        }
      }
    
      public void testRowClearAndPut() {
        if (supportsRemove()) {
          table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
          Map<Integer, C> row = table.row("foo");
          assertEquals(ImmutableMap.of(1, 'a', 3, 'c'), row);
          table.remove("foo", 3);
          assertEquals(ImmutableMap.of(1, 'a'), row);
          table.remove("foo", 1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  9. internal/lock/lock_windows_test.go

    		// cases below where it doesn't.
    		{`C:\long\foo.txt`, `\\?\C:\long\foo.txt`},
    		{`C:/long/foo.txt`, `\\?\C:\long\foo.txt`},
    		{`C:\long\foo\\bar\.\baz\\`, `\\?\C:\long\foo\bar\baz`},
    		{`\\unc\path`, `\\unc\path`},
    		{`long.txt`, `long.txt`},
    		{`C:long.txt`, `C:long.txt`},
    		{`c:\long\..\bar\baz`, `c:\long\..\bar\baz`},
    		{`\\?\c:\long\foo.txt`, `\\?\c:\long\foo.txt`},
    		{`\\?\c:\long/foo.txt`, `\\?\c:\long/foo.txt`},
    	} {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 18 18:08:15 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/DuplicateHostHelperTest.java

            duplicateHostHelper.duplicateHostList = new ArrayList<DuplicateHost>();
    
            DuplicateHost foo = new DuplicateHost();
            foo.setRegularName("www.foo.com");
            foo.setDuplicateHostName("foo.com");
            duplicateHostHelper.duplicateHostList.add(foo);
            DuplicateHost bar = new DuplicateHost();
            bar.setRegularName("www.bar.com");
            bar.setDuplicateHostName("mail.bar.com");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top