- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 296 for properly (0.06 seconds)
-
guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java
assertFalse(future.set(23)); assertFalse(future.setException(new Exception("bar"))); assertFalse(future.setFuture(SettableFuture.create())); // Check that the future has been set properly. assertTrue(future.isDone()); assertFalse(future.isCancelled()); assertEquals(42, (int) future.get()); } public void testSetException() throws Exception {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 7.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/FacetResponseTest.java
assertEquals("query:", Constants.FACET_QUERY_PREFIX); } @Test public void test_unicode_base64_encoding() { // Test that unicode strings are properly encoded/decoded String unicodeString = "日本語テスト"; String encoded = BaseEncoding.base64().encode(unicodeString.getBytes(StandardCharsets.UTF_8));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 6.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java
assertFalse(future.set(23)); assertFalse(future.setException(new Exception("bar"))); assertFalse(future.setFuture(SettableFuture.create())); // Check that the future has been set properly. assertTrue(future.isDone()); assertFalse(future.isCancelled()); assertEquals(42, (int) future.get()); } public void testSetException() throws Exception {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 7.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/InvalidAccessTokenExceptionTest.java
assertSame(firstCall, secondCall); assertEquals(type, firstCall); } @Test public void test_inheritanceFromFessSystemException() { // Test that InvalidAccessTokenException is properly inherited from FessSystemException String type = "SessionToken"; String message = "Session expired"; InvalidAccessTokenException exception = new InvalidAccessTokenException(type, message);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 10.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/opensearch/client/CrawlerEngineClientTest.java
assertNotNull(crawlerEngineClient); } // Test inheritance @Test public void test_inheritance() { // Test that CrawlerEngineClient is properly inherited assertTrue(crawlerEngineClient instanceof org.codelibs.fess.crawler.client.FesenClient); } // Test multiple instances @Test public void test_multipleInstances() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/ServletRuntimeExceptionTest.java
assertNotNull(causeStackTrace); assertTrue(causeStackTrace.length > 0); } @Test public void test_throwAndCatch() { // Test that the exception can be thrown and caught properly ServletException originalException = new ServletException("Throw test"); try { throw new ServletRuntimeException(originalException); } catch (ServletRuntimeException caught) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 5.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainBeforeHookTest.java
TimeZone.setDefault(originalDefault); } } @Test public void test_processDBFluteSystem_unlocksAndLocks() { // This test verifies that the DBFluteSystem is properly unlocked and locked // during the process, though we can't directly test the lock state // When try { curtainBeforeHook.processDBFluteSystem();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 8.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/SearchEngineUtilTest.java
} } @Test public void test_scroll_callbackHandling() { // This test verifies the scroll method exists and handles callbacks properly // Note: In a real test environment, this would require proper SearchEngineClient setup // For now, we test that the method signature is correct and can be called AtomicInteger callbackCount = new AtomicInteger(0);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 13.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/timer/MonitorTargetTest.java
monitorTarget.append(buf, "dateKey", supplier); String result = buf.toString(); assertTrue(result.startsWith("\"dateKey\":\"")); // Check that the date was converted to string and properly escaped assertTrue(result.contains("2021") || result.contains("Jan") || result.contains("1609459200000")); } // Test appendTimestamp method @Test public void test_appendTimestamp() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exec/CrawlerTest.java
public void test_process_withPropertiesPath() throws Exception { // Test that properties path is properly handled // Create temporary properties file File propFile = File.createTempFile("test", ".properties"); propFile.deleteOnExit(); FileUtil.writeBytes(propFile.getAbsolutePath(), "test.property=value".getBytes()); Crawler.Options options = new Crawler.Options();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 30.8K bytes - Click Count (0)