- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 83 for MISSING (0.03 sec)
-
src/test/java/org/codelibs/curl/CurlResponseTest.java
String contentLength = response.getHeaderValue("content-length"); // Test case insensitive String missing = response.getHeaderValue("Missing-Header"); assertEquals("application/json", contentType); assertEquals("100", contentLength); assertNull(missing); } @Test public void testGetHeaderValues() { CurlResponse response = new CurlResponse();
Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Nov 20 13:34:13 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterResourceLoadingTest.java
import java.nio.charset.StandardCharsets; import org.junit.Test; /** * Test class for resource loading functionality in Suggester class. * * Tests cover: * - Successful resource loading * - Missing resource error handling * - Resource content validation * - InputStream null safety in try-with-resources */ public class SuggesterResourceLoadingTest { /**Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 9.6K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacTest.java
byte[] pacData = baos.toByteArray(); PACDecodingException e = assertThrows(PACDecodingException.class, () -> new Pac(pacData, keys)); // The error could be about version or missing buffers assertNotNull(e.getMessage()); } @Test void testUnalignedBuffer() throws IOException { // Create PAC with unaligned buffer offset
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/net/protocol/gcs/HandlerTest.java
Handler handler = new Handler(); Handler.GcsURLConnection conn = (Handler.GcsURLConnection) handler.openConnection(url); // getInputStream should try to auto-connect (and fail due to missing project ID) try { conn.getInputStream(); fail("Should throw IOException"); } catch (IOException e) {
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 08:38:29 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacMacTest.java
/** * Test calculateMac with a missing key. */ @Test void testCalculateMacMissingKey() { Map<Integer, KerberosKey> keys = new HashMap<>(); // Empty map PACDecodingException e = assertThrows(PACDecodingException.class, () -> PacMac.calculateMac(PacSignature.KERB_CHECKSUM_HMAC_MD5, keys, TEST_DATA)); assertEquals("Missing key", e.getMessage()); } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/FacetInfo.java
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 5.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/SearchRequestParams.java
if (StringUtil.isNotBlank(sort)) { facetInfo.sort = sort; } final String missing = request.getParameter("facet.missing"); if (StringUtil.isNotBlank(missing)) { facetInfo.missing = missing; } return facetInfo; } /** * Creates a geo info. * * @param request The request.
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 8K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacMac.java
* @param data the data to calculate the MAC for * @return the calculated mac bytes * @throws PACDecodingException if the MAC calculation fails or required keys are missing */ public static byte[] calculateMac(int type, Map<Integer, KerberosKey> keys, byte[] data) throws PACDecodingException { try { int usage = 17;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java
.missing(0.1f) .modifier(FieldValueFactorFunction.Modifier.LOG2P) .setWeight(1.0F))); flist.add(new FunctionScoreQueryBuilder.FilterFunctionBuilder(ScoreFunctionBuilders.fieldValueFactorFunction(FieldNames.QUERY_FREQ) .missing(0.1f) .modifier(FieldValueFactorFunction.Modifier.LOG2P)Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 17.8K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/EXTRACTOR_TESTS_README.md
**Key Test Areas**: - Parameter handling (null, empty, missing) - Special character handling - Input stream validation (not consumption) - Edge cases (long filenames, paths, whitespace) **Test Count**: 10 tests **Key Scenarios**: - ✅ Valid filename extraction - ✅ Null parameters handling - ✅ Empty/missing resource name - ✅ Special characters in filename (Japanese, paths)
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Wed Nov 19 08:55:01 UTC 2025 - 5.7K bytes - Viewed (0)