- Sort Score
- Num 10 results
- Language All
Results 491 - 500 of 785 for EXPECTED (0.39 seconds)
-
src/test/java/org/codelibs/fess/tomcat/webresources/FessWebResourceRootTest.java
} catch (final NoSuchMethodException e) { fail("processWebInfLib method should exist"); } } @Test public void test_packageStructure() { // Verify the class is in the expected package structure final Package pkg = FessWebResourceRoot.class.getPackage(); assertNotNull(pkg, "Package should not be null");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 4.4K bytes - Click Count (0) -
okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt
private val logs = mutableListOf<String>() private var index = 0 fun assertLogEqual(expected: String) = apply { assertThat(index, "No more messages found") .isLessThan(logs.size) assertThat(logs[index++]).isEqualTo(expected) return this } fun assertLogMatch(regex: Regex) = apply {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Nov 07 02:57:33 GMT 2025 - 39.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java
assertTrue( from.getType() + " is expected to be assignable to " + to.getType(), to.isSupertypeOf(from)); assertTrue( to.getType() + " is expected to be a supertype of " + from.getType(), to.isSupertypeOf(from)); assertTrue( from.getType() + " is expected to be a subtype of " + to.getType(), from.isSubtypeOf(to)); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 89.3K bytes - Click Count (0) -
src/test/java/org/codelibs/core/lang/FieldUtilTest.java
final Field field = getClass().getField("STRING_DATA"); assertThat(FieldUtil.getString(field), is(STRING_DATA)); } /** * @throws Exception */ @Test(expected = ClIllegalArgumentException.class) public void testSet() throws Exception { final Field field = getClass().getField("intField"); FieldUtil.set(field, this, "abc"); } /**
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Fri Jun 20 13:40:57 GMT 2025 - 4.1K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java
// The task thread waits for the latch, so we expect a timeout here. try { future.get(20, MILLISECONDS); fail("Should have timed out trying to get the value."); } catch (TimeoutException expected) { } finally { latch.countDown(); } } /** * Tests that a canceled future throws a cancellation exception. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Jul 11 18:52:30 GMT 2025 - 6.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/IndexExportJobTest.java
fail("Expected IllegalArgumentException"); } catch (final IllegalArgumentException e) { assertTrue(e.getMessage().contains("xml")); } } @Test public void test_createFormatter_null() { try { indexExportJob.createFormatter(null); fail("Expected IllegalArgumentException");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Mar 15 09:08:38 GMT 2026 - 66.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/SearchLogHelperTest.java
} catch (Exception e) { // Expected in test environment assertTrue(true); } } @Test public void test_getUserInfo_nullUserCode() { try { var result = searchLogHelper.getUserInfo(null); assertFalse(result.isPresent()); } catch (Exception e) { // Expected in test environment assertTrue(true); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 14:36:23 GMT 2026 - 16.6K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/FakeTickerTest.java
assertEquals(10, ticker.read()); assertEquals(20, ticker.read()); for (TimeUnit timeUnit : TimeUnit.values()) { ticker.setAutoIncrementStep(0, timeUnit); assertEquals( "Expected no auto-increment when setting autoIncrementStep to 0 " + timeUnit, 30, ticker.read()); } } public void testAutoIncrement_negative() { FakeTicker ticker = new FakeTicker();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 6.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/FessPropTest.java
assertEquals("TestAgent", fessConfig.getUserAgentName()); } private void assertArrays(final String[] expected, final String[] actual) { Arrays.sort(expected); Arrays.sort(actual); assertEquals(String.join(",", expected), String.join(",", actual)); } @Test public void test_getEntraIdPermissionFields_withNewKey() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 25.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java
assertBitEquals(VALUES[i], aa.get(i)); aa.lazySet(i, -3.0); assertBitEquals(-3.0, aa.get(i)); } } /** compareAndSet succeeds in changing value if equal to expected else fails */ public void testCompareAndSet() { AtomicDoubleArray aa = new AtomicDoubleArray(SIZE); for (int i : new int[] {0, SIZE - 1}) { double prev = 0.0; double unused = Math.E + Math.PI;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 14.8K bytes - Click Count (0)