- Sort Score
- Result 10 results
- Languages All
Results 331 - 340 of 579 for prevent (0.04 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/platform/Jdk9PlatformTest.kt
assertThat(buildIfSupported()).isNotNull() } @Test fun buildsWhenJdk8() { platform.assumeJdk8() try { SSLSocket::class.java.getMethod("getApplicationProtocol") // also present on JDK8 after build 252. assertThat(buildIfSupported()).isNotNull() } catch (nsme: NoSuchMethodException) { assertThat(buildIfSupported()).isNull() } } @Test
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/CsvExtractorTest.java
CloseableUtil.closeQuietly(in); // Verify no column metadata assertNull(extractData.getValues("columns")); // But content should still be present final String content = extractData.getContent(); assertTrue(content.contains("John Doe")); } public void test_delimiterDetection() { // The test.csv uses comma delimiter
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Nov 23 03:46:53 UTC 2025 - 5.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SMBSignatureValidationExceptionTest.java
// Assert assertEquals(2283323396289696982L, value, "serialVersionUID should be stable"); } // Behavior check: toString contains class name and message when present @Test @DisplayName("toString contains class name and message when provided") void toString_containsClassName_and_Message() { // Arrange String msg = "signature invalid";Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.3K bytes - Viewed (0) -
android/guava/src/com/google/common/net/UrlEscapers.java
/** * Returns an {@link Escaper} instance that escapes strings so they can be safely included in <a * href="https://url.spec.whatwg.org/#application-x-www-form-urlencoded-percent-encode-set">URL * form parameter names and values</a>. Escaping is performed with the UTF-8 character encoding. * The caller is responsible for <aRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 7.1K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerRelay.kt
*/ package okhttp3 /** * A special [EventListener] for testing the mechanics of event listeners. * * Each instance processes a single event on [call], and then adds a successor [EventListenerRelay] * on the same [call] to process the next event. * * By forcing the list of listeners to change after every event, we can detect if buggy code caches * a stale [EventListener] in a field or local variable. */
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Nov 05 18:28:35 UTC 2025 - 1.5K bytes - Viewed (0) -
okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceRecorder.kt
?: throw AssertionError("Timed out waiting for event.") fun assertExhausted() { assertThat(events).isEmpty() } fun assertEvent( id: String?, type: String?, data: String, ) { assertThat(nextEvent()).isEqualTo(Event(id, type, data)) } fun assertOpen(): EventSource { val event = nextEvent() as Open return event.eventSource } fun assertClose() {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Aug 30 11:32:52 UTC 2025 - 3.2K bytes - Viewed (0) -
src/test/java/jcifs/spnego/NegTokenTargTest.java
byte[] bytes = token.toByteArray(); NegTokenTarg parsed = new NegTokenTarg(bytes); assertEquals(NegTokenTarg.ACCEPT_INCOMPLETE, parsed.getResult(), "result should be present"); assertNull(parsed.getMechanism(), "mechanism should be null when omitted"); assertNull(parsed.getMechanismToken(), "mechanism token should be null when omitted");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapContainsValueTester.java
@SuppressWarnings("JUnit4ClassUsedInJUnit3") public class MapContainsValueTester<K, V> extends AbstractMapTester<K, V> { @CollectionSize.Require(absent = ZERO) public void testContains_yes() { assertTrue("containsValue(present) should return true", getMap().containsValue(v0())); } public void testContains_no() { assertFalse("containsValue(notPresent) should return false", getMap().containsValue(v3())); }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 3.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionContainsTester.java
@SuppressWarnings("JUnit4ClassUsedInJUnit3") public class CollectionContainsTester<E> extends AbstractCollectionTester<E> { @CollectionSize.Require(absent = ZERO) public void testContains_yes() { assertTrue("contains(present) should return true", collection.contains(e0())); } public void testContains_no() { assertFalse("contains(notPresent) should return false", collection.contains(e3())); }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 3.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/error/ErrorSystemerrorAction.java
import org.lastaflute.web.response.HtmlResponse; /** * Action class for handling HTTP 500 Internal Server Error pages. * This action displays error pages when the server encounters * an unexpected condition that prevents it from fulfilling the request. */ public class ErrorSystemerrorAction extends FessSearchAction { /** * Default constructor for ErrorSystemerrorAction. */ public ErrorSystemerrorAction() {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.1K bytes - Viewed (0)