- Sort Score
- Num 10 results
- Language All
Results 611 - 620 of 1,153 for EXPECTED (0.06 seconds)
-
src/test/java/org/codelibs/fess/filter/WebApiFilterTest.java
}; ComponentUtil.register(factory, "webApiManagerFactory"); // Execute and expect IOException try { webApiFilter.doFilter(request, response, chain); fail("Expected IOException"); } catch (IOException e) { assertEquals("Test IOException", e.getMessage()); } catch (ServletException e) { fail("Unexpected ServletException: " + e.getMessage());Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 21 06:04:58 GMT 2026 - 26.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/info/Smb2SetInfoResponse.java
final int structureSize = SMBUtil.readInt2(buffer, bufferIndex); if (structureSize != 2) { throw new SMBProtocolDecodingException("Expected structureSize = 2"); } return 2; }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MapMakerTest.java
MapMaker maker = new MapMaker().initialCapacity(16); try { // even to the same value is not allowed maker.initialCapacity(16); fail(); } catch (IllegalStateException expected) { } } public void testReturnsPlainConcurrentHashMapWhenPossible() { Map<?, ?> map = new MapMaker().initialCapacity(5).makeMap(); assertTrue(map instanceof ConcurrentHashMap); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 2.8K bytes - Click Count (0) -
okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt
.eventListenerFactory(loggingEventListenerFactory) .build() try { client.newCall(request().build()).execute() fail<Any>() } catch (expected: UnknownHostException) { } logRecorder .assertLogMatch(Regex("""callStart: Request\{method=GET, url=$url\}""")) .assertLogMatch(Regex("""proxySelectStart: $url"""))
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Jun 20 11:46:46 GMT 2025 - 10.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/util/StringUtilTest.java
@DisplayName("Should handle various delimiter types") @MethodSource("provideDelimiters") void testJoinWithVariousDelimiters(String delimiter, String expected) { String result = StringUtil.join(delimiter, "A", "B", "C"); assertEquals(expected, result); } private static Stream<Arguments> provideDelimiters() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/math/DoubleUtilsTest.java
public void testBigToDouble() { for (BigInteger b : ALL_BIGINTEGER_CANDIDATES) { if (b.doubleValue() != DoubleUtils.bigToDouble(b)) { failFormat( "Converting %s to double: expected doubleValue %s but got bigToDouble %s", b, b.doubleValue(), DoubleUtils.bigToDouble(b)); } } } public void testEnsureNonNegative() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 05:21:26 GMT 2026 - 2.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java
assertBitEquals(1.0, at.get()); for (double x : VALUES) { at.lazySet(x); assertBitEquals(x, at.get()); } } /** compareAndSet succeeds in changing value if equal to expected else fails */ public void testCompareAndSet() { double prev = Math.E; double unused = Math.E + Math.PI; AtomicDouble at = new AtomicDouble(prev); for (double x : VALUES) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 10.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java
fileFsSizeInfo.decode(buffer.array(), 0, 24); String result = fileFsSizeInfo.toString(); // Then String expected = "SmbInfoAllocation[alloc=123456,free=78910,sectPerAlloc=16,bytesPerSect=4096]"; assertEquals(expected, result); } @Test @DisplayName("Should handle negative values in toString")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 25.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/validation/FessActionValidatorTest.java
} @Test public void test_constructorExists() { // Verify constructor exists with expected parameters try { FessActionValidator.class.getConstructor(RequestManager.class, UserMessagesCreator.class, Class[].class); assertTrue("Constructor with required parameters exists", true);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 2.8K bytes - Click Count (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/DefaultProfileSelectorTest.java
SimpleProblemCollector problems = new SimpleProblemCollector(); List<Profile> active = selector.getActiveProfiles(profiles, context, problems); assertTrue( active.isEmpty(), "Expected collection to be empty but had " + active.size() + " elements: " + active); assertEquals(1, problems.getErrors().size()); assertEquals( "Failed to determine activation for profile one: BOOM",
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 2.9K bytes - Click Count (0)