- Sort Score
- Num 10 results
- Language All
Results 971 - 980 of 8,919 for KClass (0.06 seconds)
-
src/test/java/jcifs/smb/SmbPipeInputStreamTest.java
Smb2IoctlResponse ioResp = mock(Smb2IoctlResponse.class); SrvPipePeekResponse peek = mock(SrvPipePeekResponse.class); when(peek.getReadDataAvailable()).thenReturn(7); when(ioResp.getOutputData()).thenReturn(peek); when(tree.send(any(Smb2IoctlRequest.class), eq(RequestParam.NO_RETRY))).thenReturn(ioResp); // ActCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/FakeTimeLimiterTest.java
import org.jspecify.annotations.NullUnmarked; /** * Unit test for {@link FakeTimeLimiter}. * * @author Jens Nyman */ @NullUnmarked @GwtIncompatible @J2ktIncompatible public class FakeTimeLimiterTest extends TestCase { private static final int DELAY_MS = 50; private static final String RETURN_VALUE = "abc"; private TimeLimiter timeLimiter; @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 4.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java
import jcifs.internal.smb2.ServerMessageBlock2Request; import jcifs.internal.smb2.Smb2Constants; import jcifs.internal.util.SMBUtil; /** * Test class for Smb2TreeConnectRequest functionality */ @DisplayName("Smb2TreeConnectRequest Tests") @MockitoSettings(strictness = Strictness.LENIENT) class Smb2TreeConnectRequestTest extends BaseTest { private Configuration mockConfig; private CIFSContext mockContext;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.6K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLifecycleRegistry.java
* TODO: this is session scoped as SPI can contribute. */ @Named @Singleton public class DefaultLifecycleRegistry implements LifecycleRegistry { private static final String MAVEN_PLUGINS = "org.apache.maven.plugins:"; public static final String DEFAULT_LIFECYCLE_MODELID = "org.apache.maven:maven-core:" + DefaultLifecycleRegistry.class.getPackage().getImplementationVersion() + ":default-lifecycle-bindings";Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 20.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/PreauthIntegrityServiceTest.java
@DisplayName("Test invalid session ID handling") public void testInvalidSessionIdHandling() { assertThrows(CIFSException.class, () -> { preauthService.initializeSession(null, new byte[32], PreauthIntegrityService.HASH_ALGO_SHA512); }); assertThrows(CIFSException.class, () -> { preauthService.initializeSession("", new byte[32], PreauthIntegrityService.HASH_ALGO_SHA512); }); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 11.1K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java
} }); } } @AfterExperiment void tearDown() throws Exception { executorService.shutdown(); } @Footprint(exclude = {Runnable.class, Executor.class}) public Object measureSize() { list = impl.newExecutionList(); for (int i = 0; i < numListeners; i++) { list.add(listener, directExecutor()); } return list.getImpl(); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 16 17:42:14 GMT 2025 - 15.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ImmutableSetTest.java
*/ @GwtCompatible @NullMarked public class ImmutableSetTest extends AbstractImmutableSetTest { @J2ktIncompatible @GwtIncompatible // suite @AndroidIncompatible // test-suite builders public static Test suite() { TestSuite suite = new TestSuite(); suite.addTest( SetTestSuiteBuilder.using(new ImmutableSetCopyOfGenerator()) .named(ImmutableSetTest.class.getName()) .withFeatures(Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 14.2K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ConnectionListenerTest.kt
response.body.close() listener.removeUpToEvent(ConnectionEvent.ConnectEnd::class.java) listener.removeUpToEvent(ConnectionEvent.ConnectionReleased::class.java) listener.removeUpToEvent(ConnectionEvent.ConnectionAcquired::class.java) listener.removeUpToEvent(ConnectionEvent.ConnectionReleased::class.java) } @Test @Throws(IOException::class) fun successfulConnect() { server.enqueue(MockResponse())
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 18:33:48 GMT 2025 - 9.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/OptionalTest.java
Set<String> presentAsSet = Optional.of("a").asSet(); assertThrows(UnsupportedOperationException.class, () -> presentAsSet.add("b")); } public void testAsSet_absentIsImmutable() { Set<Object> absentAsSet = Optional.absent().asSet(); assertThrows(UnsupportedOperationException.class, () -> absentAsSet.add("foo")); } public void testTransform_absent() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 10.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java
assertThrows(IllegalStateException.class, () -> emptyAccumulator.sampleCovariance()); assertThrows( IllegalStateException.class, () -> emptyAccumulatorByAddAllEmptyPairedStats.sampleCovariance()); assertThrows(IllegalStateException.class, () -> oneValueAccumulator.sampleCovariance()); assertThrows( IllegalStateException.class,
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 05:21:26 GMT 2026 - 23.5K bytes - Click Count (0)