Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 465 for Present (0.12 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java

      }
    
      @MapFeature.Require(absent = SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testPut_unsupportedPresentExistingValue() {
        try {
          assertEquals("put(present, existingValue) should return present or throw", v0(), put(e0()));
        } catch (UnsupportedOperationException tolerated) {
        }
        expectUnchanged();
      }
    
      @MapFeature.Require(absent = SUPPORTS_PUT)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/validation/CustomSizeTest.java

            assertNotNull("Retention annotation should be present", retention);
            assertEquals("Retention should be RUNTIME", RetentionPolicy.RUNTIME, retention.value());
        }
    
        // Test annotation target elements
        public void test_targetElements() {
            final Target target = CustomSize.class.getAnnotation(Target.class);
            assertNotNull("Target annotation should be present", target);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessJsonResourceProviderTest.java

            assertNotNull(option);
    
            // Verify the field naming is set to CAMEL_TO_LOWER_SNAKE
            OptionalThing<JsonFieldNaming> fieldNamingOpt = option.getFieldNaming();
            assertTrue("Field naming should be present", fieldNamingOpt.isPresent());
            assertEquals(JsonFieldNaming.CAMEL_TO_LOWER_SNAKE, fieldNamingOpt.get());
        }
    
        public void test_provideMappingOption_notNull() {
            // Test that mapping option is never null
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/validation/UriTypeTest.java

            assertNotNull("Retention annotation should be present", retention);
            assertEquals("Retention should be RUNTIME", RetentionPolicy.RUNTIME, retention.value());
        }
    
        // Test annotation target elements
        public void test_targetElements() {
            final Target target = UriType.class.getAnnotation(Target.class);
            assertNotNull("Target annotation should be present", target);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 21K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfAbsentTester.java

      @CollectionSize.Require(absent = ZERO)
      public void testComputeIfAbsent_unsupportedPresentExistingValue() {
        try {
          assertEquals(
              "computeIfAbsent(present, returnsCurrentValue) should return present or throw",
              v0(),
              getMap()
                  .computeIfAbsent(
                      k0(),
                      k -> {
                        assertEquals(k0(), k);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapPutIfAbsentTester.java

      @MapFeature.Require(absent = SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testPutIfAbsent_unsupportedPresentExistingValue() {
        try {
          assertEquals(
              "putIfAbsent(present, existingValue) should return present or throw",
              v0(),
              putIfAbsent(e0()));
        } catch (UnsupportedOperationException tolerated) {
        }
        expectUnchanged();
      }
    
      @MapFeature.Require(absent = SUPPORTS_PUT)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/MapPutIfAbsentTester.java

      @MapFeature.Require(absent = SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testPutIfAbsent_unsupportedPresentExistingValue() {
        try {
          assertEquals(
              "putIfAbsent(present, existingValue) should return present or throw",
              v0(),
              getMap().putIfAbsent(k0(), v0()));
        } catch (UnsupportedOperationException tolerated) {
        }
        expectUnchanged();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfAbsentTester.java

      @CollectionSize.Require(absent = ZERO)
      public void testComputeIfAbsent_unsupportedPresentExistingValue() {
        try {
          assertEquals(
              "computeIfAbsent(present, returnsCurrentValue) should return present or throw",
              v0(),
              getMap()
                  .computeIfAbsent(
                      k0(),
                      k -> {
                        assertEquals(k0(), k);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutIfAbsentTester.java

      @MapFeature.Require(absent = SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testPutIfAbsent_unsupportedPresentExistingValue() {
        try {
          assertEquals(
              "putIfAbsent(present, existingValue) should return present or throw",
              v0(),
              getMap().putIfAbsent(k0(), v0()));
        } catch (UnsupportedOperationException tolerated) {
        }
        expectUnchanged();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapPutIfAbsentTester.java

      @MapFeature.Require(absent = SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testPutIfAbsent_unsupportedPresentExistingValue() {
        try {
          assertEquals(
              "putIfAbsent(present, existingValue) should return present or throw",
              v0(),
              putIfAbsent(e0()));
        } catch (UnsupportedOperationException tolerated) {
        }
        expectUnchanged();
      }
    
      @MapFeature.Require(absent = SUPPORTS_PUT)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top