Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for expectedValues (0.1 sec)

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

        assertEquals(expected.entrySet(), map.entrySet());
    
        // Assert that expectedValues > mapValues and that
        // mapValues > expectedValues; i.e. that expectedValues == mapValues.
        Collection<?> expectedValues = expected.values();
        Collection<?> mapValues = map.values();
        assertEquals(expectedValues.size(), mapValues.size());
        assertTrue(expectedValues.containsAll(mapValues));
        assertTrue(mapValues.containsAll(expectedValues));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/math/BigDecimalMathTest.java

            if (previous != null) {
              throw new AssertionError();
            }
          }
          return this;
        }
    
        @CanIgnoreReturnValue
        RoundToDoubleTester roundUnnecessaryShouldThrow() {
          unnecessaryShouldThrow = true;
          return this;
        }
    
        void test() {
          assertThat(expectedValues.keySet())
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Nov 19 01:35:24 UTC 2025
    - 11K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java

        assertEquals(expected.entrySet(), map.entrySet());
    
        // Assert that expectedValues > mapValues and that
        // mapValues > expectedValues; i.e. that expectedValues == mapValues.
        Collection<?> expectedValues = expected.values();
        Collection<?> mapValues = map.values();
        assertEquals(expectedValues.size(), mapValues.size());
        assertTrue(expectedValues.containsAll(mapValues));
        assertTrue(mapValues.containsAll(expectedValues));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/math/BigIntegerMathTest.java

            if (previous != null) {
              throw new AssertionError();
            }
          }
          return this;
        }
    
        @CanIgnoreReturnValue
        RoundToDoubleTester roundUnnecessaryShouldThrow() {
          unnecessaryShouldThrow = true;
          return this;
        }
    
        void test() {
          assertThat(expectedValues.keySet())
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Nov 19 01:35:24 UTC 2025
    - 27.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

        assertThat(map.entrySet()).isEqualTo(newMap.entrySet());
        assertThat(map.keySet()).isEqualTo(newMap.keySet());
        Set<Object> expectedValues = ImmutableSet.of(one);
        Set<Object> actualValues = ImmutableSet.copyOf(map.values());
        assertThat(actualValues).isEqualTo(expectedValues);
      }
    
      /** Lookups on the map view shouldn't impact the recency queue. */
      public void testAsMapRecency() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  6. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

          return this;
        }
    
        final void assertNonNullValues(Object... expectedValues) {
          assertEquals(expectedValues.length, arguments.size());
          for (int i = 0; i < expectedValues.length; i++) {
            assertEquals("Default value for parameter #" + i, expectedValues[i], arguments.get(i));
          }
        }
    
        final Object getDefaultParameterValue(int position) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:44:53 UTC 2025
    - 47.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java

        }
    
        @Test
        @DisplayName("Test decode with offset")
        void testDecodeWithOffset() throws SMBProtocolDecodingException {
            // Prepare buffer with offset
            long expectedValue = 0xAAAABBBBCCCCDDDDL;
            byte[] buffer = new byte[20];
            int offset = 7;
            SMBUtil.writeInt8(expectedValue, buffer, offset);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/RequestWithPathTest.java

            assertFalse(testImplementation.isResolveInDfs());
    
            // Multiple toggles
            for (int i = 0; i < 10; i++) {
                boolean expectedValue = (i % 2 == 0);
                testImplementation.setResolveInDfs(expectedValue);
                assertEquals(expectedValue, testImplementation.isResolveInDfs());
            }
        }
    
        /**
         * Test implementation of RequestWithPath interface for testing purposes
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/net/NetServerEnum2Test.java

        void testConstants(String constantName, int expectedValue) {
            if ("SV_TYPE_ALL".equals(constantName)) {
                assertEquals(expectedValue, NetServerEnum2.SV_TYPE_ALL);
                assertEquals(0xFFFFFFFF, NetServerEnum2.SV_TYPE_ALL);
            } else if ("SV_TYPE_DOMAIN_ENUM".equals(constantName)) {
                assertEquals(expectedValue, NetServerEnum2.SV_TYPE_DOMAIN_ENUM);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

        void testDifferentShareTypes(int shareTypeValue, int expectedValue) throws SMBProtocolDecodingException {
            // Given
            byte[] buffer = new byte[256];
            SMBUtil.writeInt2(16, buffer, 0);
            buffer[2] = (byte) shareTypeValue;
    
            // When
            response.readBytesWireFormat(buffer, 0);
    
            // Then
            assertEquals((byte) expectedValue, response.getShareType());
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
Back to top