- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 24 for fails (0.01 sec)
-
RoleQueryHelperTest.java
assertEquals(3, roleSet.size()); L94: assertTrue(roleSet.contains("role1")); L95: assertTrue(roleSet.contains("role2")); L96: assertTrue(roleSet.contains("role3")); L97: L98: getMockRequest().setParameter("fess2", "fail"); L99: roleSet = buildByParameter(roleQueryHelperImpl, getMockRequest()); L100: assertEquals(0, roleSet.size()); L101: L102: roleQueryHelperImpl.parameterKey = "fess3"; L103: L104: roleQueryHelperImpl.encryptedParameterValue...github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:53:18 UTC 2024 14.2K bytes -
BackupTests.java
getItemEndpointSuffix() { L62: return ITEM_ENDPOINT_SUFFIX; L63: } L64: L65: @Override L66: protected Map<String, Object> createTestParam(int id) { L67: fail(); // Unreachable L68: return null; L69: } L70: L71: @Override L72: protected Map<String, Object> getUpdateMap() { L73: fail(); // Unreachable L74: return null; L75: } L76: L77: @Override L78: protected void testRead() { L79: final Map<String, Object> searchBody = new HashMap<>();...github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:37:57 UTC 2024 2.5K bytes -
SuggestTests.java
getItemEndpointSuffix() { L63: return ITEM_ENDPOINT_SUFFIX; L64: } L65: L66: @Override L67: protected Map<String, Object> createTestParam(int id) { L68: fail(); // Unreachable L69: return null; L70: } L71: L72: @Override L73: protected Map<String, Object> getUpdateMap() { L74: fail(); // Unreachable L75: return null; L76: } L77: L78: @Override L79: protected void testRead() { L80: final Map<String, Object> searchBody = new HashMap<>();...github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:37:57 UTC 2024 2.7K bytes -
DictTests.java
getItemEndpointSuffix() { L63: return ITEM_ENDPOINT_SUFFIX; L64: } L65: L66: @Override L67: protected Map<String, Object> createTestParam(int id) { L68: fail(); // Unreachable L69: return null; L70: } L71: L72: @Override L73: protected Map<String, Object> getUpdateMap() { L74: fail(); // Unreachable L75: return null; L76: } L77: L78: @Override L79: protected void testRead() { L80: final Map<String, Object> searchBody = new HashMap<>();...github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:37:57 UTC 2024 2.7K bytes -
DefaultQueryBuilderTest.java
public void test_invalid_null() { L23: try { L24: new DefaultQueryBuilder(null); L25: fail(); L26: } catch (IllegalArgumentException e) { L27: // nothing L28: } L29: } L30: L31: public void test_invalid_query() { L32: try { L33: new DefaultQueryBuilder(QueryBuilders.matchAllQuery()); L34: fail(); L35: } catch (IllegalArgumentException e) { L36: // nothing L37: } L38: } L39:}...github.com/codelibs/fess/src/test/java/org/code...Thu Jul 11 08:26:36 UTC 2024 1.2K bytes -
LogTests.java
getItemEndpointSuffix() { L62: return ITEM_ENDPOINT_SUFFIX; L63: } L64: L65: @Override L66: protected Map<String, Object> createTestParam(int id) { L67: fail(); // Unreachable L68: return null; L69: } L70: L71: @Override L72: protected Map<String, Object> getUpdateMap() { L73: fail(); // Unreachable L74: return null; L75: } L76: L77: @Override L78: protected void testRead() { L79: final Map<String, Object> searchBody = new HashMap<>();...github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:37:57 UTC 2024 2.5K bytes -
CrawlTestBase.java
language L14: * governing permissions and limitations under the License. L15: */ L16:package org.codelibs.fess.it; L17: L18:import static io.restassured.RestAssured.given; L19:import static org.hamcrest.Matchers.equalTo; L20:import static org.junit.Assert.fail; L21:import static org.junit.jupiter.api.Assertions.assertEquals; L22:import static org.junit.jupiter.api.Assertions.assertTrue; L23: L24:import java.util.ArrayList; L25:import java.util.HashMap; L26:import java.util.List; L27:import java.util.Map;...github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:37:57 UTC 2024 9.9K bytes -
DictCrudTestBase.java
the License. L15: */ L16:package org.codelibs.fess.it.admin.dict; L17: L18:import static org.junit.jupiter.api.Assertions.assertEquals; L19:import static org.junit.jupiter.api.Assertions.assertTrue; L20:import static org.junit.jupiter.api.Assertions.fail; L21: L22:import java.util.ArrayList; L23:import java.util.HashMap; L24:import java.util.List; L25:import java.util.Map; L26: L27:import org.codelibs.fess.it.CrudTestBase; L28:import org.junit.jupiter.api.BeforeEach; L29: L30:import io.restassured...github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:37:57 UTC 2024 3.3K bytes -
ScriptExecutorJob.java
.toString()); L111: } L112: jobLog.setJobStatus(Constants.OK); L113: } catch (final Throwable t) { L114: logger.warn("Failed to execute {}: {}", id, script, t); L115: jobLog.setJobStatus(Constants.FAIL); L116: jobLog.setScriptResult(systemHelper.abbreviateLongText(t.getLocalizedMessage())); L117: } finally { L118: if (task != null) { L119: try { L120: task.stop(); L121: ...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 5.3K bytes -
TermQueryCommandTest.java
imestamp\":{\"order\":\"asc\"}}", "sort:timestamp.asc"); L117: assertQueryBuilder("{\"timestamp\":{\"order\":\"desc\"}}", "sort:timestamp.desc"); L118: L119: try { L120: assertQueryBuilder("", "sort:xxx"); L121: fail(); L122: } catch (InvalidQueryException e) { L123: // nothing L124: } L125: } L126: L127: public void test_convertTermQuery_dismax() throws Exception { L128: setQueryType("dismax"); L129: assertQueryBui...github.com/codelibs/fess/src/test/java/org/code...Thu Jul 11 08:26:36 UTC 2024 9.2K bytes