- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for assertValue (0.07 sec)
-
ParamMapTest.java
L108: assertTrue(paramMap.containsKey("aaaBbbCcc")); L109: assertFalse(paramMap.containsKey("AaaBbbCcc")); // false L110: assertFalse(paramMap.containsKey("aaabbbcc")); L111: assertTrue(paramMap.containsKey("ccc.ddd")); L112: assertFalse(paramMap.containsKey("cccDdd")); L113: assertFalse(paramMap.containsKey("DccDdd")); L114: } L115:}...github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:37:57 UTC 2024 4.5K bytes -
SynonymItemTest.java
new String[] { "A", "a" }, new String[] { "B", "b" }))); L78: assertFalse(synonymItem1.equals(new SynonymItem(2, new String[] { "A", "a" }, new String[] { "B", }))); L79: assertFalse(synonymItem1.equals(new SynonymItem(2, new String[] { "A" }, new String[] { "B", "b" }))); L80: assertFalse(synonymItem1.equals(new SynonymItem(1, new String[] { "A", "a" }, new String[] { "B", "c" }))); L81: assertFalse(synonymItem1.equals(new SynonymItem(1, new String[] { "A", "c" }, new...github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:37:57 UTC 2024 5K bytes -
ContentOutputStreamTest.java
IOException { L55: ContentOutputStream cos = new ContentOutputStream(10, Curl.tmpDir); L56: cos.write(new byte[] { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0 }); L57: assertFalse(cos.done); L58: assertFalse(cos.isInMemory()); L59: cos.close(); L60: assertFalse(cos.done); L61: assertFalse(cos.getFile().exists()); L62: } L63:}...github.com/codelibs/curl4j/src/test/java/org/co...Mon Nov 14 21:05:19 UTC 2022 2K bytes -
KuromojiItemTest.java
"p1"))); L52: assertTrue(kuromojiItem1.equals(new KuromojiItem(2, "t1", "s1", "r1", "p1"))); L53: assertFalse(kuromojiItem1.equals(new KuromojiItem(1, "T1", "s1", "r1", "p1"))); L54: assertFalse(kuromojiItem1.equals(new KuromojiItem(1, "t1", "S1", "r1", "p1"))); L55: assertFalse(kuromojiItem1.equals(new KuromojiItem(1, "t1", "s1", "R1", "p1"))); L56: assertFalse(kuromojiItem1.equals(new KuromojiItem(1, "t1", "s1", "r1", "P1"))); L57: } L58: L59: public void test_toLineString()...github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:37:57 UTC 2024 3K bytes -
DocBoostMatcherTest.java
assertTrue(docBoostMatcher.match(map)); L97: L98: map.put("data1", "aaa test bbb"); L99: assertFalse(docBoostMatcher.match(map)); L100: L101: map.put("data1", "hoge"); L102: assertFalse(docBoostMatcher.match(map)); L103: L104: map.remove("data1"); L105: assertFalse(docBoostMatcher.match(map)); L106: L107: map.put("data2", "hoge"); L108: assertFalse(docBoostMatcher.match(map)); L109: L110: docBoostMatcher.setMatchExpression("data1.matches(\".*test.*\")");...github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:37:57 UTC 2024 4.6K bytes -
QueryProcessorTest.java
QueryProcessor.Filter() { L71: @Override L72: public QueryBuilder execute(QueryContext context, Query query, float boost, FilterChain chain) { L73: calledSecond.set(true); L74: assertFalse(called.get()); L75: assertFalse(calledFirst.get()); L76: QueryBuilder builder = chain.execute(context, query, boost); L77: assertTrue(called.get()); L78: assertTrue(calledFirst.get()); L79: return...github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:37:57 UTC 2024 3.5K bytes -
StemmerOverrideItemTest.java
assertNull(stemmerOverrideItem.getNewInput()); L28: assertNull(stemmerOverrideItem.getNewOutput()); L29: assertFalse(stemmerOverrideItem.isUpdated()); L30: assertFalse(stemmerOverrideItem.isDeleted()); L31: L32: stemmerOverrideItem.setNewInput("bbb"); L33: stemmerOverrideItem.setNewOutput("b"); L34: assertTrue(stemmerOverrideItem.isUpdated()); L35: assertFalse(stemmerOverrideItem.isDeleted()); L36: L37: stemmerOverrideItem.setNewInput(""); L38: ste...github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:37:57 UTC 2024 2.5K bytes -
ProtocolHelperTest.java
ols()[1]); L41: assertEquals(2, 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]);...github.com/codelibs/fess/src/test/java/org/code...Tue Jun 18 00:44:11 UTC 2024 4.5K bytes -
LabelTypeHelperTest.java
@Override L27: public void setUp() throws Exception { L28: super.setUp(); L29: labelTypeHelper = new LabelTypeHelper(); L30: } L31: L32: public void test_matchLocale() { L33: assertFalse(labelTypeHelper.matchLocale(Locale.ENGLISH, Locale.JAPANESE)); L34: assertFalse(labelTypeHelper.matchLocale(Locale.SIMPLIFIED_CHINESE, Locale.TRADITIONAL_CHINESE)); L35: L36: assertTrue(labelTypeHelper.matchLocale(null, Locale.ROOT)); L37: assertTrue(labelTypeHelper...github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:37:57 UTC 2024 1.7K bytes -
LdapManagerTest.java
permissionList.toArray(n -> new String[n]); L106: } L107: }; L108: L109: allowEmptyPermission.set(true); L110: assertTrue(ldapManager.allowEmptyGroupAndRole(user)); L111: allowEmptyPermission.set(false); L112: assertFalse(ldapManager.allowEmptyGroupAndRole(user)); L113: L114: permissionList.add("2aaa"); L115: L116: allowEmptyPermission.set(true); L117: assertTrue(ldapManager.allowEmptyGroupAndRole(user)); L118: allowEmptyPermission.set(false);...github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:37:57 UTC 2024 5.2K bytes