- Sort Score
- Result 10 results
- Languages All
Results 601 - 610 of 4,401 for classe (0.03 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddAtIndexTester.java
assertThrows( ConcurrentModificationException.class, () -> { Iterator<E> iterator = collection.iterator(); getList().add(0, e3()); iterator.next(); }); } @ListFeature.Require(absent = SUPPORTS_ADD_WITH_INDEX) public void testAddAtIndex_unsupportedNotPresent() { assertThrows(UnsupportedOperationException.class, () -> getList().add(0, e3())); expectUnchanged();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/InfoTest.java
* Unit tests for the {@link Info} implementations used by the SMB1 * protocol handling code. */ class InfoTest { // A tiny mock to illustrate Mockito interaction patterns. @Mock private SmbComTransactionResponse transactionMock; @BeforeEach void setUp() { transactionMock = mock(SmbComTransactionResponse.class); } @Test void testSmbComQueryInformationResponseGetters() throws Exception {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt
} override fun close() { } }.apply { level = Level.FINEST } private fun applyLogger(fn: Logger.() -> Unit) { Logger.getLogger(OkHttpClient::class.java.`package`.name).fn() Logger.getLogger(OkHttpClient::class.java.name).fn() Logger.getLogger(Http2::class.java.name).fn() Logger.getLogger(TaskRunner::class.java.name).fn()Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri May 30 21:28:20 UTC 2025 - 10.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java
SrvCopychunk mockChunk1 = mock(SrvCopychunk.class); SrvCopychunk mockChunk2 = mock(SrvCopychunk.class); SrvCopychunk mockChunk3 = mock(SrvCopychunk.class); // Simulate different encode return values when(mockChunk1.encode(any(byte[].class), anyInt())).thenReturn(20); when(mockChunk2.encode(any(byte[].class), anyInt())).thenReturn(24);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 23.1K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/EmlExtractorTest.java
container.singleton("mimeTypeHelper", MimeTypeHelperImpl.class) .singleton("tikaExtractor", TikaExtractor.class) .singleton("zipExtractor", ZipExtractor.class) .<ExtractorFactory> singleton("extractorFactory", ExtractorFactory.class, factory -> {
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 4.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java
import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test; /** * Unit tests for TransportException class */ public class TransportExceptionTest { @Nested @DisplayName("Constructor Tests") class ConstructorTests { @Test @DisplayName("Should create exception with no arguments") void testDefaultConstructor() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrObjectTest.java
/** * Tests for the NdrObject abstract class. * This test uses a concrete implementation to verify the abstract contract. */ @ExtendWith(MockitoExtension.class) class NdrObjectTest { @Mock private NdrBuffer mockBuffer; private ConcreteNdrObject ndrObject; // A concrete implementation of NdrObject for testing purposes. private static class ConcreteNdrObject extends NdrObject {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java
import jcifs.internal.smb2.Smb2Constants; import jcifs.internal.util.SMBUtil; /** * Security-focused test cases for Smb2NegotiateResponse input validation. * Tests various malformed input scenarios to ensure proper validation and * protection against buffer overflow, integer overflow, and other attacks. */ public class Smb2NegotiateResponseInputValidationTest { private Configuration mockConfig;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.8K bytes - Viewed (0) -
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/AndroidPlatform.kt
/** * A trust manager for Android applications that customize the trust manager. * * This class exploits knowledge of Android implementation details. This class is potentially * much faster to initialize than [BasicTrustRootIndex] because it doesn't need to load and * index trusted CA certificates. */ internal data class CustomTrustRootIndex( private val trustManager: X509TrustManager,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu May 29 16:52:38 UTC 2025 - 6.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbSessionTest.java
* heavy network interactions through {@link SmbTransport}. */ @ExtendWith(MockitoExtension.class) public class SmbSessionTest { @Mock UniAddress addr; @Mock InetAddress inet; NtlmPasswordAuthentication auth; @Mock SmbTransport transport; // static helper that returns the mocked transport. The real class // performs several other operations, but for the purpose of the testRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0)