Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 1,466 for assertEquals (0.04 sec)

  1. android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

            // this getUnchecked() call shouldn't be a cache miss; verified below
            assertEquals(newValue, cache.getUnchecked(entry.getKey()));
            assertEquals(entry.getValue(), cache.getUnchecked(newKey));
            // don't let the new entry get GCed
            warmed.add(entryOf(newKey, entry.getValue()));
          }
          assertEquals(WARMUP_SIZE, cache.stats().missCount());
          checkValidState(cache);
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/api/WebApiRequestTest.java

            webApiRequest = new WebApiRequest(mockRequest, customPath);
    
            // Verify that other methods are properly delegated
            assertEquals("POST", webApiRequest.getMethod());
            assertEquals("/test/uri", webApiRequest.getRequestURI());
            assertEquals(testHeaderValue, webApiRequest.getHeader(testHeader));
        }
    
        // Test multiple calls to getServletPath
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/dict/DictionaryExceptionTest.java

            assertNotNull(exception);
            assertEquals(message, exception.getMessage());
            assertNotNull(exception.getCause());
            assertEquals(middleCause, exception.getCause());
            assertEquals("Middle cause", exception.getCause().getMessage());
            assertNotNull(exception.getCause().getCause());
            assertEquals(rootCause, exception.getCause().getCause());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGeneratorTest.java

            // Test without mappings
            assertEquals("path/to/file", generator.expandPath("path/to/file"));
            assertNull(generator.expandPath(null));
    
            // Test with exact match mappings (expandPath only replaces exact matches)
            generator.filePathMap.put("${home}/file", "/home/user/file");
            assertEquals("/home/user/file", generator.expandPath("${home}/file"));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapReplaceValuesTester.java

        int size = multimap().size();
        List<V> oldValues = new ArrayList<>(multimap().get(k0()));
        List<V> values = emptyList();
        assertEquals(oldValues, new ArrayList<V>(multimap().replaceValues(k0(), values)));
        assertGet(k0());
        assertEquals(size - oldValues.size(), multimap().size());
      }
    
      @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE})
      public void testReplaceValuesWithDuplicates() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 15:07:59 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java

            }
    
            // The value 0xCD should be encoded as a 16-bit value (0x00CD) in little-endian
            byte[] bufferData = buf.getBuffer();
            assertEquals((byte) 0xCD, bufferData[startIndex + alignmentBytes], "Least significant byte should be first");
            assertEquals((byte) 0x00, bufferData[startIndex + alignmentBytes + 1], "Most significant byte should be second");
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/curl/CurlResponseTest.java

            // All header access should be case-insensitive
            assertEquals("application/json", response.getHeaderValue("content-type"));
            assertEquals("application/json", response.getHeaderValue("CONTENT-TYPE"));
            assertEquals("application/json", response.getHeaderValue("Content-Type"));
    
            assertEquals("100", response.getHeaderValue("content-length"));
            assertEquals("100", response.getHeaderValue("CONTENT-LENGTH"));
    
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java

            int result = response.writeSetupWireFormat(dst, 10);
            assertEquals(0, result);
        }
    
        @Test
        void testWriteParametersWireFormat() {
            // Test that writeParametersWireFormat returns 0
            byte[] dst = new byte[100];
            int result = response.writeParametersWireFormat(dst, 20);
            assertEquals(0, result);
        }
    
        @Test
        void testWriteDataWireFormat() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/SmbRandomAccessFileTest.java

            assertEquals(0, smbRandomAccessFile.getFilePointer());
        }
    
        @Test
        void testGetFilePointer() throws SmbException {
            assertEquals(0, smbRandomAccessFile.getFilePointer());
        }
    
        @Test
        void testSeek() throws SmbException {
            long newPosition = 100L;
            smbRandomAccessFile.seek(newPosition);
            assertEquals(newPosition, smbRandomAccessFile.getFilePointer());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java

          expectUnchanged();
          // Be extra thorough in case internal state was corrupted by the expected null.
          assertEquals(new ArrayList<>(), new ArrayList<>(values));
          assertEquals(size, multimap().size());
        } else {
          assertEquals(newArrayList(v3()), new ArrayList<>(values));
          assertEquals(size + 1, multimap().size());
        }
      }
    
      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 7.4K bytes
    - Viewed (0)
Back to top