- Sort Score
- Num 10 results
- Language All
Results 451 - 460 of 931 for Expected (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
compat/maven-model/src/test/java/org/apache/maven/model/ReportPluginTest.java
new ReportPlugin().equals(new ReportPlugin()); } @Test void testEqualsIdentity() { ReportPlugin thing = new ReportPlugin(); assertTrue(thing.equals(thing), "Expected " + thing + " to equal " + thing); } @Test void testToStringNullSafe() { assertNotNull(new ReportPlugin().toString()); }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 1.6K bytes - Click Count (0) -
compat/maven-model/src/test/java/org/apache/maven/model/ReportingTest.java
new Reporting().equals(new Reporting()); } @Test void testEqualsIdentity() { Reporting thing = new Reporting(); assertTrue(thing.equals(thing), "Expected " + thing + " to equal " + thing); } @Test void testToStringNullSafe() { assertNotNull(new Reporting().toString()); }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 1.6K bytes - Click Count (0) -
.github/ISSUE_TEMPLATE/04-vuln.yml
validations: required: true - type: textarea id: actual-behavior attributes: label: "What did you see happen?" validations: required: true - type: textarea id: expected-behavior attributes: label: "What did you expect to see?" validations:Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Jan 04 23:31:17 GMT 2024 - 1.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/ResourceUtilTest.java
fail("Should throw ResourceNotFoundRuntimeException for non-existent file"); } catch (org.codelibs.core.exception.ResourceNotFoundRuntimeException e) { // Expected behavior - method throws exception for non-existent files assertTrue(e.getMessage().contains("nonexistent.conf")); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 11.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/lock/Smb2LockResponse.java
final int structureSize = SMBUtil.readInt2(buffer, bufferIndex); if (structureSize != 4) { throw new SMBProtocolDecodingException("Expected structureSize = 4"); } return 4; }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.1K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/DcerpcHandleTest.java
class GetterTests { @Test @DisplayName("Should return correct values from getters") void testGetters() throws CIFSException { // When/Then: All getters should return expected values assertEquals(mockBinding, handle.getBinding()); assertTrue(handle.getMaxRecv() > 0); assertTrue(handle.getMaxXmit() > 0);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.3K 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) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/extension/model/io/xpp3/CoreExtensionsXpp3Reader.java
throw new XmlPullParserException( "Expected root element 'extensions' but found '" + parser.getName() + "'", parser, null); } else if (parsed) { // fallback, already expected a XmlPullParserException due to invalid XML throw new XmlPullParserException("Duplicated tag: 'extensions'", parser, null);
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Oct 27 13:24:03 GMT 2025 - 25.3K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/ProfileInjector.java
*/ @Deprecated(since = "4.0.0") public interface ProfileInjector { /** * Merges values from the specified profile into the given model. Implementations are expected to keep the profile * and model completely decoupled by injecting deep copies rather than the original objects from the profile. *Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 2K bytes - Click Count (0)