- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 35 for tearDown (0.19 sec)
-
src/test/java/org/codelibs/fess/unit/UnitFessTestCase.java
@Override protected String prepareConfigFile() { return "test_app.xml"; } @Override public void tearDown() throws Exception { ComponentUtil.setFessConfig(null); super.tearDown(); }
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/DictionaryManagerTest.java
file1 = new File(testDir, "synonym.txt"); FileUtil.writeBytes(file1.getAbsolutePath(), "abc=>123\nxyz,890".getBytes(Constants.UTF_8)); } @Override public void tearDown() throws Exception { super.tearDown(); FileUtils.deleteDirectory(testDir); } public void test_init() { final DictionaryManager dictionaryManager = new DictionaryManager(); dictionaryManager.init();
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 2.4K bytes - Viewed (0) -
src/test/java/jcifs/tests/WatchTest.java
super.setUp(); this.executor = Executors.newSingleThreadExecutor(); this.base = createTestDirectory(); } @Override @After public void tearDown () throws Exception { if ( this.executor != null ) { this.executor.shutdown(); if ( this.future != null ) { this.future.cancel(true); }
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 8.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/timer/TimeoutManagerTest.java
private int expiredCount; protected void setUp() throws Exception { expiredCount = 0; TimeoutManager.getInstance().clear(); } protected void tearDown() throws Exception { TimeoutManager.getInstance().clear(); } /** * @throws Exception */ public void testExpired() throws Exception {
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 2.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/exception/NullArgumentExceptionTest.java
* */ public class NullArgumentExceptionTest { @Before public void setUp() throws Exception { LocaleUtil.setDefault(() -> Locale.JAPANESE); } @After public void tearDown() throws Exception { LocaleUtil.setDefault(null); } /** * @throws Exception */ @Test public void testErrorMessage_ja() throws Exception { // ## Arrange ##
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/admin/SuggestTests.java
assertTrue(res.containsKey("query_words_num")); assertEquals(new Integer(0), JsonPath.from(response).get("response.status")); } @Override protected void tearDown() { // do nothing } @Test void crudTest() { testRead(); }
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 2.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/CalendarConversionUtilTest.java
*/ @Before public void setUp() throws Exception { TimeZone.setDefault(TimeZone.getTimeZone("GMT")); } /** * @throws Exception */ @After public void tearDown() throws Exception { TimeZone.setDefault(null); } /** * @throws Exception */ @Test public void testToCalendar() throws Exception { final Date date = new Date();
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 2.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/message/MessageFormatterTest.java
/** * @author higa */ public class MessageFormatterTest { @Before public void setUp() throws Exception { LocaleUtil.setDefault(() -> Locale.JAPANESE); } @After public void tearDown() throws Exception { LocaleUtil.setDefault(null); } /** * @throws Exception */ @Test public void testGetMessage() throws Exception {
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 3.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/admin/GeneralTests.java
assertTrue(!res.isEmpty()); assertEquals(new Integer(0), JsonPath.from(response).get("response.status")); } @Override protected void tearDown() { // do nothing } @Test void crudTest() { testRead(); }
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 2.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/admin/dict/DictTests.java
final int status = JsonPath.from(response).getInt("response.status"); assertEquals(total, dicts.size()); assertEquals(0, status); } @Override protected void tearDown() { // do nothing } @Test void crudTest() { testRead(); }
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 2.7K bytes - Viewed (0)