- Sort Score
- Result 10 results
- Languages All
Results 1661 - 1670 of 7,990 for KClass (0.04 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/CallKotlinTest.kt
@RetryingTest(5) @Flaky fun testHeadAfterPut() { class ErringRequestBody : RequestBody() { override fun contentType(): MediaType = "application/xml".toMediaType() override fun writeTo(sink: BufferedSink) { sink.writeUtf8("<el") sink.flush() throw IOException("failed to stream the XML") } } class ValidRequestBody : RequestBody() {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 8.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionToArrayTester.java
@Ignore("test runners must not instantiate and run this directly, only via suites we build") // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") public class CollectionToArrayTester<E> extends AbstractCollectionTester<E> { public void testToArray_noArgs() { Object[] array = collection.toArray(); expectArrayContentsAnyOrder(createSamplesArray(), array); } /**Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 08 18:35:13 UTC 2025 - 8.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/dict/stopwords/AdminDictStopwordsAction.java
* */ public class AdminDictStopwordsAction extends FessAdminAction { /** * Default constructor. */ public AdminDictStopwordsAction() { super(); } /** The role for this action. */ public static final String ROLE = "admin-dict"; private static final Logger logger = LogManager.getLogger(AdminDictStopwordsAction.class);Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 20.3K bytes - Viewed (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/ParserRequest.java
@Override public <T> T lookup(Class<T> type) { throw new LookupException("empty lookup"); } @Override public <T> T lookup(Class<T> type, String name) { throw new LookupException("empty lookup"); } @Override public <T> Optional<T> lookupOptional(Class<T> type) { return Optional.empty();Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sat Jun 07 06:22:47 UTC 2025 - 15.9K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4Test.java
ExpressionEvaluator ee = createExpressionEvaluator(createDefaultProject(), new Properties()); Exception e = assertThrows(Exception.class, () -> ee.evaluate("${session.rootDirectory}")); e = assertInstanceOf(IntrospectionException.class, e.getCause()); e = assertInstanceOf(IllegalStateException.class, e.getCause()); assertEquals(RootLocator.UNABLE_TO_FIND_ROOT_PROJECT_MESSAGE, e.getMessage()); } @Test
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Mar 26 19:31:34 UTC 2025 - 19.3K bytes - Viewed (0) -
docs/zh-hant/docs/environment-variables.md
//// tab | Linux, macOS, Windows Bash <div class="termy"> ```console // 你可以使用以下指令建立一個名為 MY_NAME 的環境變數 $ export MY_NAME="Wade Wilson" // 然後,你可以在其他程式中使用它,例如 $ echo "Hello $MY_NAME" Hello Wade Wilson ``` </div> //// //// tab | Windows PowerShell <div class="termy"> ```console // 建立一個名為 MY_NAME 的環境變數 $ $Env:MY_NAME = "Wade Wilson"
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Nov 09 12:17:55 UTC 2024 - 8K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/PackageSanityTests.java
mutableNetworkB.addNode("b"); setDistinctValues(AbstractGraphBuilder.class, graphBuilderA, graphBuilderB); setDistinctValues(Graph.class, IMMUTABLE_GRAPH_A, IMMUTABLE_GRAPH_B); setDistinctValues(MutableNetwork.class, mutableNetworkA, mutableNetworkB); setDistinctValues(NetworkBuilder.class, networkBuilderA, networkBuilderB); setDistinctValues(Network.class, IMMUTABLE_NETWORK_A, IMMUTABLE_NETWORK_B);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 28 01:26:26 UTC 2024 - 3.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbFileTest.java
import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; /** * Unit tests for the SmbFile class. * This class focuses on testing the logic of SmbFile without actual network communication, * using mocks where necessary. */ @ExtendWith(MockitoExtension.class) public class SmbFileTest { @Mock private NtlmPasswordAuthentication mockAuth; @BeforeEach public void setUp() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/converter/TimestampConverterTest.java
public void testIsTarget() throws Exception { final TimestampConverter converter = new TimestampConverter("yyyy/MM/dd"); assertThat(converter.isTarget(java.sql.Timestamp.class), is(true)); assertThat(converter.isTarget(java.util.Date.class), is(not(true))); }
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.6K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/GwtFuturesCatchingSpecialization.java
* the {@link Futures#catching(ListenableFuture, Class, com.google.common.base.Function, * java.util.concurrent.Executor) Futures.catching} family of methods. Those versions have slightly * different signatures. */ @GwtCompatible @J2ktIncompatible // Super-sourced abstract class GwtFuturesCatchingSpecialization { /* * This server copy of the class is empty. The corresponding GWT copy contains alternativeRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 1.4K bytes - Viewed (0)