- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for Latest (0.03 sec)
-
SambaHelperTest.java
return false; L45: } L46: L47: @Override L48: public boolean isLdapIgnoreNetbiosName() { L49: return false; L50: } L51: }); L52: sambaHelper.init(); L53: L54: assertEquals("1Test User", sambaHelper.getAccountId(USER_SID)); L55: L56: } L57: L58: public void test_smb_account_lowercase() throws SmbException { L59: ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() { L60: @Override L61: public...github.com/codelibs/fess/src/test/java/org/code...Thu Jun 27 10:55:43 UTC 2024 3.1K bytes -
ProtocolHelperTest.java
protocolHelper.getFileProtocols().length); L42: assertEquals("file:", protocolHelper.getFileProtocols()[0]); L43: assertEquals("smb:", protocolHelper.getFileProtocols()[1]); L44: L45: assertFalse(protocolHelper.isValidWebProtocol("httpx://test")); L46: L47: protocolHelper.addWebProtocol("httpx"); L48: assertEquals(3, protocolHelper.getWebProtocols().length); L49: assertEquals("http:", protocolHelper.getWebProtocols()[0]); L50: assertEquals("https:", protocolH...github.com/codelibs/fess/src/test/java/org/code...Tue Jun 18 00:44:11 UTC 2024 4.5K bytes -
TestHandler.java
an "AS IS" BASIS, L12: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, L13: * either express or implied. See the License for the specific language L14: * governing permissions and limitations under the License. L15: */ L16:package org.codelibs.fess.test.net.protocol.xxx5; L17: L18:public class TestHandler { L19: L20:}...github.com/codelibs/fess/src/test/java/org/code...Tue Jun 18 00:44:11 UTC 2024 702 bytes -
Handler.java
an "AS IS" BASIS, L12: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, L13: * either express or implied. See the License for the specific language L14: * governing permissions and limitations under the License. L15: */ L16:package org.codelibs.fess.test.net.protocol.xxx4; L17: L18:import java.io.IOException; L19:import java.net.URL; L20:import java.net.URLConnection; L21:import java.net.URLStreamHandler; L22: L23:public class Handler extends URLStreamHandler { L24: L25: @Override L26: protected...github.com/codelibs/fess/src/test/java/org/code...Tue Jun 18 00:44:11 UTC 2024 951 bytes -
Handler.java
an "AS IS" BASIS, L12: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, L13: * either express or implied. See the License for the specific language L14: * governing permissions and limitations under the License. L15: */ L16:package org.codelibs.fess.test.net.protocol.xxx2; L17: L18:import java.io.IOException; L19:import java.net.URL; L20:import java.net.URLConnection; L21:import java.net.URLStreamHandler; L22: L23:public class Handler extends URLStreamHandler { L24: L25: public static final String...github.com/codelibs/fess/src/test/java/org/code...Tue Jun 18 00:44:11 UTC 2024 1007 bytes -
IndexingHelperTest.java
docList.add(new HashMap<>(Map.of(// L115: "_id", "001", // L116: "config_id", "W01", // L117: "url", "http://test.com/001"// L118: ))); L119: docList.add(new HashMap<>(Map.of(// L120: "_id", "002", // L121: "thumbnail", "http://test.com/002", // L122: "url", "http://test.com/002"// L123: ))); L124: indexingHelper.sendDocuments(client, docList); L125: assertEquals(0, docList.size()); L126:...github.com/codelibs/fess/src/test/java/org/code...Wed Jul 24 08:54:24 UTC 2024 23.4K bytes -
Handler.java
language L14: * governing permissions and limitations under the License. L15: */ L16:package org.codelibs.fess.test.net.protocol.xxx3; L17: L18:import java.io.IOException; L19:import java.net.URL; L20:import java.net.URLConnection; L21:import java.net.URLStreamHandler; L22: L23:public class Handler extends URLStreamHandler { L24: L25: public static final String PROTOCOL_TYPE = "test"; L26: L27: @Override L28: protected URLConnection openConnection(URL u) throws IOException { L29: ...github.com/codelibs/fess/src/test/java/org/code...Tue Jun 18 00:44:11 UTC 2024 1007 bytes -
ComponentUtil.java
try { L598: return SingletonLaContainer.getComponent(SYSTEM_HELPER) != null; L599: } catch (final Exception e) { L600: // ignore L601: } L602: return false; L603: } L604: L605: /** L606: * For test purpose only. L607: * L608: * @param fessConfig fessConfig instance L609: */ L610: public static void setFessConfig(final FessConfig fessConfig) { L611: ComponentUtil.fessConfig = fessConfig; L612: if (fessConfig == null)...github.com/codelibs/fess/src/main/java/org/code...Mon Jun 17 13:35:51 UTC 2024 20.2K bytes -
QueryHelperTest.java
"{\"function_score\":{\"query\":{\"match_phrase\":{\"title\":{\"query\":\"test\",\"slop\":0,\"zero_terms_query\":\"NONE\",\"boost\":1.0}}},\"functions\":[{\"filter\":{\"match_all\":{\"boost\":1.0}},\"field_value_factor\":{\"field\":\"boost\",\"factor\":1.0,\"modifier\":\"none\"}}],\"score_mode\":\"multiply\",\"max_boost\":3.4028235E38,\"boost\":1.0}}", L319: Map.of("title", List.of("test")), // L320: Set.of("test"), // L321: buildQuery("allintitle:test")); L322:...github.com/codelibs/fess/src/test/java/org/code...Thu Jul 11 08:26:36 UTC 2024 39.8K bytes -
FessMultipartRequestHandler.java
Exception(contentType, boundarySize, limitSize); L164: } L165: } L166: L167: protected int getBoundaryLimitSize() { L168: // one HTTP proxy tool already limits the size (e.g. 3450 bytes) L169: // so specify this size for test L170: return 2000; // you can override as you like it L171: } L172: L173: protected void throwTooLongBoundarySizeException(final String contentType, final int boundarySize, final int limitSize) { L174: final ExceptionMessageBuilder...github.com/codelibs/fess/src/main/java/org/code...Wed Oct 23 13:27:21 UTC 2024 18.6K bytes