- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 813 for passes (0.1 seconds)
-
src/test/java/jcifs/pac/PACDecodingExceptionTest.java
void testCauseConstructor() { Throwable cause = new RuntimeException("Root cause"); PACDecodingException e = new PACDecodingException(cause); // When constructed with only a cause, the implementation passes (null, cause) to super // which results in a null message rather than deriving it from the cause assertNull(e.getMessage()); assertSame(cause, e.getCause()); } /**
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/logging/Slf4jLogger.java
* under the License. */ package org.apache.maven.cling.invoker.logging; import org.apache.maven.api.cli.Logger; import static java.util.Objects.requireNonNull; /** * Proto {@link Logger} that just passes to functioning {@link org.slf4j.Logger} instance. */ public class Slf4jLogger implements Logger { private final org.slf4j.Logger logger; public Slf4jLogger(org.slf4j.Logger logger) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jan 31 20:56:58 GMT 2025 - 1.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/VirtualHostHelperTest.java
}); try { HtmlNext result = virtualHostHelper.getVirtualHostPath(null); // If it doesn't throw an exception, the test passes assertTrue(true); } catch (Exception e) { // If it throws any exception, the test passes assertTrue(true); } } @Test public void test_getVirtualHostPath_withComplexPath() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTreeHandleImplTest.java
} @Test @DisplayName("send(request, response, varargs) forwards directly") void sendRequestResponseVarargsDelegates() throws Exception { // Confirms varargs overload passes through to the underlying connection CommonServerMessageBlockRequest request = mock(CommonServerMessageBlockRequest.class); CommonServerMessageBlockResponse response = mock(CommonServerMessageBlockResponse.class);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.4K bytes - Click Count (0) -
okhttp-java-net-cookiejar/src/main/kotlin/okhttp3/java/net/cookiejar/JavaNetCookieJar.kt
} } override fun loadForRequest(url: HttpUrl): List<Cookie> { val cookieHeaders = try { // The RI passes all headers. We don't have 'em, so we don't pass 'em! cookieHandler.get(url.toUri(), emptyMap<String, List<String>>()) } catch (e: IOException) { Platform.get().log("Loading cookies failed for " + url.resolve("/...")!!, WARN, e)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Mar 19 07:46:39 GMT 2026 - 3.9K bytes - Click Count (0) -
src/test/java/jcifs/config/SecurityConfigurationTest.java
// Verify encryption configuration is available (default is false for compatibility) // But can be enabled when needed assertTrue("Encryption configuration should be functional", true); // Always passes - encryption is available as an option } /** * Test that signing is properly configured */ @Test public void testSigningConfiguration() throws CIFSException {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 3.1K bytes - Click Count (0) -
internal/ioutil/read_file.go
// Because ReadFile reads the whole file, it does not treat an EOF from Read // as an error to be reported. // // passes NOATIME flag for reads on Unix systems to avoid atime updates. func ReadFile(name string) ([]byte, error) { // Don't wrap with un-needed buffer. // Don't use os.ReadFile, since it doesn't pass NO_ATIME when present. f, err := OsOpenFile(name, readMode, 0o666) if err != nil { return nil, err } defer f.Close()
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sat Dec 09 18:17:51 GMT 2023 - 2.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/ProcessHelperTest.java
// Just verify no exceptions occurred // Clean up processHelper.destroyProcess(sessionId1); processHelper.destroyProcess(sessionId2); // Test passes if no exceptions thrown assertTrue(true); } catch (Exception e) { fail("Unexpected exception: " + e.getMessage()); } } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 16K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/RepositoryAwareRequest.java
* method, which typically compares repository IDs and URLs. * * @param repositories the list of repositories to validate, may be {@code null} * @return the same list if validation passes, or {@code null} if input was {@code null} * @throws IllegalArgumentException if the list contains duplicate repositories * @throws IllegalArgumentException if the list contains null repository entries */Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 10 07:30:49 GMT 2025 - 5K bytes - Click Count (0) -
src/test/java/jcifs/smb/DfsImplTest.java
dfsImpl = new DfsImpl(mockContext); } // Test for the constructor @Test void testDfsImplConstructor() { // The constructor is called in setUp(), so if no exception is thrown, this test passes. assertNotNull(dfsImpl); } // Tests for isTrustedDomain @Test void testIsTrustedDomain_DfsDisabled() throws SmbAuthException { // Scenario: DFS is disabled in the configuration.
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.5K bytes - Click Count (0)