- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 55 for setUp (0.02 sec)
-
DocBoostMatcherTest.java
L28: L29:import groovy.lang.Binding; L30:import groovy.lang.GroovyClassLoader; L31:import groovy.lang.GroovyShell; L32: L33:public class DocBoostMatcherTest extends UnitFessTestCase { L34: L35: @Override L36: public void setUp() throws Exception { L37: super.setUp(); L38: ScriptEngineFactory scriptEngineFactory = new ScriptEngineFactory(); L39: ComponentUtil.register(scriptEngineFactory, "scriptEngineFactory"); L40: new AbstractScriptEngine() { L41: L42: ...github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:37:57 UTC 2024 4.6K bytes -
GroovyEngineTest.java
prepareConfigFile() { L29: return "test_app.xml"; L30: } L31: L32: @Override L33: protected boolean isSuppressTestCaseTransaction() { L34: return true; L35: } L36: L37: @Override L38: public void setUp() throws Exception { L39: super.setUp(); L40: groovyEngine = new GroovyEngine(); L41: } L42: L43: @Override L44: public void tearDown() throws Exception { L45: ComponentUtil.setFessConfig(null); L46: super.tearDown(); L47: } L48:...github.com/codelibs/fess/src/test/java/org/code...Thu Oct 17 12:10:08 UTC 2024 1.8K bytes -
maven.yml
branches: L13: - master L14: - "*.x" L15: workflow_dispatch: L16: L17:jobs: L18: build: L19: runs-on: macos-14 L20: timeout-minutes: 15 L21: steps: L22: - uses: actions/checkout@v4 L23: - name: Set up JDK 21 L24: uses: actions/setup-java@v4 L25: with: L26: java-version: '21' L27: distribution: 'temurin' L28: - uses: actions/cache@v4 L29: with: L30: path: ~/.m2/repository L31: key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} L32:...github.com/codelibs/fess/.github/workflows/mave...Sat Feb 10 11:19:11 UTC 2024 1.1K bytes -
PluginHelperTest.java
FessTestCase; L29:import org.lastaflute.di.exception.IORuntimeException; L30: L31:public class PluginHelperTest extends UnitFessTestCase { L32: private PluginHelper pluginHelper; L33: L34: @Override L35: public void setUp() throws Exception { L36: super.setUp(); L37: pluginHelper = new PluginHelper() { L38: protected String[] getRepositories() { L39: return new String[] { "plugin/repo1/", "plugin/repo2/" }; L40: } L41: L42: protected...github.com/codelibs/fess/src/test/java/org/code...Mon Jun 17 12:38:38 UTC 2024 5.9K bytes -
AccessTokenHelperTest.java
t; L26: L27:public class AccessTokenHelperTest extends UnitFessTestCase { L28: L29: protected static final int NUM = 20; L30: L31: private AccessTokenHelper accessTokenHelper; L32: L33: @Override L34: public void setUp() throws Exception { L35: super.setUp(); L36: accessTokenHelper = new AccessTokenHelper(); L37: } L38: L39: public void test_generateAccessToken() { L40: List<String> tokens = new ArrayList<String>(); L41: for (int i = 0; i < NUM; i++)...github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:37:57 UTC 2024 3.1K bytes -
GsaConfigParserTest.java
org.xml.sax.InputSource; L28: L29:public class GsaConfigParserTest extends UnitFessTestCase { L30: L31: private static final Logger logger = LogManager.getLogger(GsaConfigParserTest.class); L32: L33: @Override L34: public void setUp() throws Exception { L35: super.setUp(); L36: ComponentUtil.register(new SystemHelper(), "systemHelper"); L37: } L38: L39: public void test_parse() throws IOException { L40: GsaConfigParser parser = new GsaConfigParser(); L41: try (InputStream...github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:53:18 UTC 2024 3.2K bytes -
CrawlingInfoHelperTest.java
s; L27:import org.codelibs.fess.unit.UnitFessTestCase; L28: L29:public class CrawlingInfoHelperTest extends UnitFessTestCase { L30: private CrawlingInfoHelper crawlingInfoHelper; L31: L32: @Override L33: public void setUp() throws Exception { L34: super.setUp(); L35: crawlingInfoHelper = new CrawlingInfoHelper(); L36: } L37: L38: public void test_generateId() { L39: final Map<String, Object> dataMap = new HashMap<String, Object>(); L40: dataMap.put("url",...github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:37:57 UTC 2024 8.5K bytes -
SynonymFileTest.java
it.UnitFessTestCase; L24: L25:public class SynonymFileTest extends UnitFessTestCase { L26: private SynonymFile synonymFile; L27: L28: // TODO L29: /* L30: private File file1; L31: @Override L32: public void setUp() throws Exception { L33: super.setUp(); L34: file1 = File.createTempFile("synonym", ".txt"); L35: FileUtil.writeBytes(file1.getAbsolutePath(), L36: "a1=>A1\nb1,b2 => B1\nc1 => C1, C2\nx1,X1\ny1, Y1, y2" L37: ....github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:37:57 UTC 2024 9K bytes -
BoostDocumentRuleService.java
(StringUtil.isNotBlank(boostDocumentRulePager.boostExpr)) { L77: cb.query().setBoostExpr_Wildcard(wrapQuery(boostDocumentRulePager.boostExpr)); L78: } L79: // TODO Long, Integer, String supported only. L80: L81: // setup condition L82: cb.query().addOrderBy_SortOrder_Asc(); L83: cb.query().addOrderBy_CreatedTime_Asc(); L84: L85: // search L86: L87: } L88: L89:}...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 3.3K bytes -
RequestHeaderService.java
ReqHeaderPager requestHeaderPager) { L77: if (requestHeaderPager.id != null) { L78: cb.query().docMeta().setId_Equal(requestHeaderPager.id); L79: } L80: // TODO Long, Integer, String supported only. L81: L82: // setup condition L83: cb.query().addOrderBy_Name_Asc(); L84: L85: // search L86: L87: } L88: L89: public List<RequestHeader> getRequestHeaderList(final String webConfigId) { L90: return requestHeaderBhv.selectList(cb -> { L91: ...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 3.2K bytes