- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 3,743 for shield (0.04 sec)
-
src/test/java/org/codelibs/fess/query/WildcardQueryCommandTest.java
assertEquals("title", wqb.fieldName()); } public void test_convertWildcardQuery_nonSearchField() throws Exception { // Test with DEFAULT_FIELD when field is not a search field QueryContext queryContext = new QueryContext("test", false); WildcardQuery wildcardQuery = new WildcardQuery(new Term(Constants.DEFAULT_FIELD, "test"));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/RegexRule.java
* @param key the field name to match against * @param regex the regular expression pattern */ public void addRule(final String key, final String regex) { regexMap.put(key, Pattern.compile(regex)); } /** * Adds a compiled regular expression rule for the specified field. * @param key the field name to match against
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 6.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/LanguageHelperTest.java
languageHelper.getReindexScriptSource()); } public void test_init() { try { languageHelper.init(); // Should not throw exception } catch (Exception e) { fail("init() should not throw an exception: " + e.getMessage()); } } public void test_updateDocument_withExistingLang() { Map<String, Object> doc = new HashMap<>();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 12.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/validation/CronExpressionTest.java
validator = factory.getValidator(); } // Test annotation attributes and defaults public void test_annotationAttributes() throws Exception { Field field = TestBean.class.getDeclaredField("cronExpression"); CronExpression annotation = field.getAnnotation(CronExpression.class); assertNotNull(annotation); assertEquals("{org.lastaflute.validator.constraints.CronExpression.message}", annotation.message());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/log/allcommon/EsAbstractConditionAggregation.java
protected AvgAggregationBuilder regAvgA(String name, String field) { AvgAggregationBuilder builder = AggregationBuilders.avg(name).field(field); regA(builder); return builder; } protected MaxAggregationBuilder regMaxA(String name, String field) { MaxAggregationBuilder builder = AggregationBuilders.max(name).field(field); regA(builder); return builder; }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 12.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ResponseData.java
return metaDataMap; } /** * Adds a child URL discovered from this response. * * @param url the child URL to add */ public void addChildUrl(final RequestData url) { childUrlSet.add(url); } /** * Removes a child URL from this response. * * @param url the child URL to remove */
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 11.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java
NdrShort ns = new NdrShort(original); buf.reset(); ns.encode(buf); // should not throw // After encoding, check how many bytes were used int bytesUsed = buf.getIndex(); // Should be 2 bytes for the short value (alignment may add padding) assertTrue(bytesUsed >= 2, "Should use at least 2 bytes for short"); // Reset index to read back buf.reset();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcDfsRootEnumTest.java
assertNotNull(dfsRootEnum, "The MsrpcDfsRootEnum object should not be null."); // The server name is stored in a protected field without a public getter, so we cannot directly test it. // We can test the public fields that are set. assertEquals(200, dfsRootEnum.level, "The level should be initialized to 200."); assertNotNull(dfsRootEnum.info, "The info struct should not be null.");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.5K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/rpcTest.java
// Create a real NdrBuffer mock that can handle the deferred field access // But only test the non-deferred parts to avoid field mocking issues // When: Trying to encode (may throw exception due to deferred buffer) // Then: Should at least call the basic encoding methods before hitting deferred assertThrows(Exception.class, () -> {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java
// Use reflection to verify private fields Field oldFileNameField = SmbComRename.class.getDeclaredField("oldFileName"); oldFileNameField.setAccessible(true); assertEquals(oldFileName, oldFileNameField.get(smbComRename)); Field newFileNameField = SmbComRename.class.getDeclaredField("newFileName"); newFileNameField.setAccessible(true);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0)