- Sort Score
- Num 10 results
- Language All
Results 161 - 170 of 411 for Works (0.02 seconds)
-
src/test/java/org/codelibs/fess/crawler/helper/FessMimeTypeHelperTest.java
public String getCrawlerDocumentMimetypeExtensionOverrides() { return ".sql=text/x-sql"; } }); mimeTypeHelper.init(); // Override works even without an input stream assertEquals("text/x-sql", mimeTypeHelper.getContentType(null, "test.sql")); } @Test public void test_getContentType_overridePriority() throws IOException {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Jan 24 09:06:33 GMT 2026 - 12.1K bytes - Click Count (0) -
ci/devinfra/docker/windows/Dockerfile
[Environment]::SetEnvironmentVariable(\"JAVA_HOME\", $env:JAVA_HOME, \"Machine\") # Point to the LLVM installation. # The Bazel Windows guide claims it can find LLVM automatically, # but it likely only works if it's installed somewhere inside C:\Program Files. ENV BAZEL_LLVM "C:\tools\LLVM" # These variables may be useful, but so far haven't been. Keeping for posterity. # ENV CLANG_COMPILER_PATH "C:\tools\llvm\bin\clang.exe"
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Fri Jan 17 16:35:57 GMT 2025 - 8.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/CurlHelperTest.java
@Override public String getSearchEngineHttpUrl() { return fesenUrl; } }); // Set system property to ensure ResourceUtil.getFesenHttpUrl() works System.setProperty("fess.search_engine.http_address", fesenUrl); } private NodeManager getNodeManager(CurlHelper curlHelper) { try {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 10.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
import java.util.List; import java.util.concurrent.atomic.AtomicInteger; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Tester to ensure forwarding wrapper works by delegating calls to the corresponding method with * the same parameters forwarded and return value forwarded back or exception propagated as is. * * <p>For example: * * {@snippet :Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 9.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/JdkFutureAdaptersTest.java
*/ return false; } } private static final class RecordingRunnable implements Runnable { final CountDownLatch wasRun = new CountDownLatch(1); // synchronized so that checkState works as expected. @Override public synchronized void run() { checkState(wasRun.getCount() > 0); wasRun.countDown(); } }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 10K bytes - Click Count (0) -
src/test/java/jcifs/SmbResourceLocatorTest.java
loc.setDfsReferral(dfs); // Verify we can retrieve it DfsReferralData received = loc.getDfsReferral(); assertSame(dfs, received); // Verify that the URL returned by getURL works with SMB handler URL returned = loc.getURL(); if (returned != null) { assertEquals(url, returned.toString()); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8K bytes - Click Count (0) -
okhttp-tls/README.md
.heldCertificate(localhostCertificate) .build(); MockWebServer server = new MockWebServer(); server.useHttps(serverCertificates.sslSocketFactory(), false); ``` `HandshakeCertificates` also works for clients where its job is to define which root certificates to trust. In this simplified example we trust the server's self-signed certificate: ```java
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Mar 15 09:01:42 GMT 2026 - 9.1K bytes - Click Count (0) -
BUILDING.md
} ``` This test artifact mechanism makes use of the concept of [component capabilities](https://docs.gradle.org/current/userguide/component_capabilities.html) similar to how the gradle build-in `java-test-fixtures` plugin works. `testArtifact` is a shortcut declared in the elasticsearch build. Alternatively you can declare the dependency via ``` dependencies { testImplementation(project(":fixture-providing-project')) {
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Thu Sep 23 07:45:59 GMT 2021 - 6.7K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/PluginUpgradeCliTest.java
String[] args = {"apply", "--plugins"}; CommonsCliUpgradeOptions options = CommonsCliUpgradeOptions.parse(args); // Test that interpolation works (even though there's nothing to interpolate here) UpgradeOptions interpolated = (CommonsCliUpgradeOptions) options.interpolate(s -> s);
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Sep 29 14:48:39 GMT 2025 - 9.9K bytes - Click Count (0) -
src/test/java/jcifs/http/HandlerTest.java
} @Test void testOpenConnection_HttpsProtocol_ReturnsNtlmHttpURLConnection() throws Exception { // This test ensures that for a standard HTTPS URL, openConnection also works and // wraps the connection, using mock handlers to avoid dependency on system handlers. setupMockProtocolHandlers(); URL url = new URL("https://example.com/resource");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.1K bytes - Click Count (0)