Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 19 of 19 for testValues (0.1 seconds)

  1. guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

          } catch (UnsupportedOperationException | NullPointerException e) {
            // Expected.
          }
        }
        assertInvariants(map);
      }
    
      public void testValues() {
        Map<K, V> map;
        try {
          map = makePopulatedMap();
        } catch (UnsupportedOperationException e) {
          return;
        }
        assertInvariants(map);
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 43.9K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertThat(loader.getCount()).isEqualTo(1);
    
        Object two = map.get(key, loader);
        assertThat(two).isNotSameInstanceAs(one);
        assertThat(loader.getCount()).isEqualTo(2);
      }
    
      public void testValues() {
        LocalCache<Object, Object> map = makeLocalCache(createCacheBuilder());
        map.put("foo", "bar");
        map.put("baz", "bar");
        map.put("quux", "quux");
        assertThat(map.values() instanceof Set).isFalse();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 12 00:25:21 GMT 2025
    - 117.5K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertThat(loader.getCount()).isEqualTo(1);
    
        Object two = map.get(key, loader);
        assertThat(two).isNotSameInstanceAs(one);
        assertThat(loader.getCount()).isEqualTo(2);
      }
    
      public void testValues() {
        LocalCache<Object, Object> map = makeLocalCache(createCacheBuilder());
        map.put("foo", "bar");
        map.put("baz", "bar");
        map.put("quux", "quux");
        assertThat(map.values() instanceof Set).isFalse();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 12 00:25:21 GMT 2025
    - 115.9K bytes
    - Click Count (0)
  4. impl/maven-core/src/test/java/org/apache/maven/configuration/internal/CompositeBeanHelperPerformanceTest.java

            // Repeat to test caching
            PlexusConfiguration config1 = new XmlPlexusConfiguration("name");
            config1.setValue("testValue2");
            originalHelper.setProperty(bean, "name", String.class, config1);
            PlexusConfiguration config = new XmlPlexusConfiguration("count");
            config.setValue("456");
            originalHelper.setProperty(bean, "count", Integer.class, config);
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jul 17 07:40:49 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  5. impl/maven-core/src/test/java/org/apache/maven/configuration/internal/EnhancedCompositeBeanHelperTest.java

            config.setValue("testValue");
    
            when(evaluator.evaluate("testValue")).thenReturn("testValue");
    
            helper.setProperty(bean, "name", String.class, config);
    
            assertEquals("testValue", bean.getName());
            verify(listener).notifyFieldChangeUsingSetter("name", "testValue", bean);
        }
    
        @Test
        void testSetPropertyWithField() throws Exception {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Nov 12 14:59:46 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  6. src/test/java/jcifs/dcerpc/ndr/NdrHyperTest.java

            // Test the encode method
            long testValue = 987654321098765L;
            NdrHyper ndrHyper = new NdrHyper(testValue);
    
            // Call the encode method with the mocked NdrBuffer
            ndrHyper.encode(mockNdrBuffer);
    
            // Verify that enc_ndr_hyper was called exactly once with the correct value
            verify(mockNdrBuffer, times(1)).enc_ndr_hyper(testValue);
            verifyNoMoreInteractions(mockNdrBuffer);
        }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  7. src/test/java/jcifs/dcerpc/ndr/NdrLongTest.java

            int testValue = 98765;
            NdrLong ndrLong = new NdrLong(testValue);
    
            // Call the encode method
            ndrLong.encode(mockNdrBuffer);
    
            // Verify that enc_ndr_long was called exactly once with the correct value
            verify(mockNdrBuffer, times(1)).enc_ndr_long(testValue);
            // Verify that no other interactions occurred with the mock buffer
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  8. src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java

                // Given: NdrShort with test value
                int testValue = 123;
                NdrShort ndrShort = new NdrShort(testValue);
    
                // When: Encoding the value
                ndrShort.encode(mockBuffer);
    
                // Then: Should call enc_ndr_short with masked value
                verify(mockBuffer).enc_ndr_short(testValue & 0xFF);
                verifyNoMoreInteractions(mockBuffer);
            }
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  9. compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilderTest.java

        @BeforeEach
        void onSetup() {
            // MockitoAnnotations.openMocks(this);
    
            Map<String, String> envVarMap = new HashMap<>();
            envVarMap.put("testKey", "testValue");
            envVarMap.put("testSpecialCharactersKey", "<test&Value>");
            OperatingSystemUtils.setEnvVarSource(new TestEnvVarSource(envVarMap));
        }
    
        @Test
        void testBuildEmptyRequest() throws Exception {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 14K bytes
    - Click Count (0)
Back to Top