Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 6,581 for klass (0.02 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSession.kt

      override fun getValueNames(): Array<String> = delegate!!.valueNames
    
      @Throws(SSLPeerUnverifiedException::class)
      override fun getPeerCertificates(): Array<Certificate>? = delegate!!.peerCertificates
    
      override fun getLocalCertificates(): Array<Certificate>? = delegate!!.localCertificates
    
      @Throws(SSLPeerUnverifiedException::class)
      override fun getPeerCertificateChain(): Array<X509Certificate> = delegate!!.peerCertificateChain
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/convert/NumberConversionUtilTest.java

    import org.codelibs.core.misc.LocaleUtil;
    
    /**
     * @author shot
     *
     */
    public class NumberConversionUtilTest extends TestCase {
    
        /**
         * @throws Exception
         */
        public void testConvertNumber_byte() throws Exception {
            assertEquals(Byte.valueOf("1"), NumberConversionUtil.convertNumber(Byte.class, "1"));
        }
    
        /**
         * @throws Exception
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  3. docs/pt/docs/how-to/testing-database.md

    Aqui tem um mini <a href="https://sqlmodel.tiangolo.com/tutorial/fastapi/" class="external-link" target="_blank">tutorial de como usar SQLModel com FastAPI</a>. ✨
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Oct 18 12:04:04 UTC 2024
    - 547 bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/curl/io/ContentCache.java

     *     InputStream inputStream = cache.getInputStream();
     *     // Read from inputStream
     * }
     * }
     * </pre>
     *
     */
    public class ContentCache implements Closeable {
    
        /**
         * The logger for this class.
         */
        protected static final Logger logger = Logger.getLogger(ContentCache.class.getName());
    
        /**
         * A byte array that holds the cached content data.
         */
        private final byte[] data;
    
        /**
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralTest.java

            // Mock the request buffer
            DfsReferralRequestBuffer mockRequest = mock(DfsReferralRequestBuffer.class);
            when(mockRequest.encode(any(byte[].class), anyInt())).thenReturn(10);
    
            // Inject mock request
            Field requestField = Trans2GetDfsReferral.class.getDeclaredField("request");
            requestField.setAccessible(true);
            requestField.set(trans2GetDfsReferral, mockRequest);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/testing.md

    Thanks to <a href="https://www.starlette.io/testclient/" class="external-link" target="_blank">Starlette</a>, testing **FastAPI** applications is easy and enjoyable.
    
    It is based on <a href="https://www.python-httpx.org" class="external-link" target="_blank">HTTPX</a>, which in turn is designed based on Requests, so it's very familiar and intuitive.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/http/NtlmHttpServletRequestTest.java

    import org.junit.jupiter.params.provider.ValueSource;
    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jakarta.servlet.http.HttpServletRequest;
    
    @ExtendWith(MockitoExtension.class)
    public class NtlmHttpServletRequestTest {
    
        @Test
        @DisplayName("constructor stores principal and delegates properly")
        void testHappyPath(@Mock HttpServletRequest mockRequest, @Mock Principal mockPrincipal) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java

        /**
         * The path identified by the Java {@code --class-path} option.
         * Used for compilation, execution and Javadoc among others.
         * The Java tools location is {@link StandardLocation#CLASS_PATH}.
         *
         * <h4>Context-sensitive interpretation</h4>
         * A dependency with this path type will not necessarily be placed on the class path.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jun 26 07:56:58 UTC 2025
    - 15K bytes
    - Viewed (1)
  9. src/test/java/jcifs/smb/DirFileEntryAdapterIteratorTest.java

     *
     * This test class verifies the basic functionality of DirFileEntryAdapterIterator.
     * Due to the iterator's constructor calling advance() immediately, which requires
     * the adapt() method to be functional, we test the behavior using simple mock
     * scenarios that don't require complex filter setups.
     */
    @ExtendWith(MockitoExtension.class)
    class DirFileEntryAdapterIteratorTest {
    
        @Mock
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

    import jcifs.context.BaseContext;
    import jcifs.smb.NtlmPasswordAuthentication;
    
    /**
     * Tests for the NtlmHttpURLConnection class.
     * This class uses Mockito to simulate the behavior of HttpURLConnection and other dependencies.
     */
    @ExtendWith(MockitoExtension.class)
    @MockitoSettings(strictness = Strictness.LENIENT)
    class NtlmHttpURLConnectionTest {
    
        @Mock
        private HttpURLConnection mockConnection;
    
        private URL mockUrl;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.6K bytes
    - Viewed (0)
Back to top