Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1121 - 1130 of 1,340 for testUsing (0.12 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect.testing;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.io.Serializable;
    import java.util.AbstractSet;
    import java.util.Collection;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/CallHandshakeTest.kt

    import okhttp3.CipherSuite.Companion.TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256
    import okhttp3.internal.effectiveCipherSuites
    import okhttp3.internal.platform.Platform
    import okhttp3.testing.PlatformRule
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.RegisterExtension
    
    class CallHandshakeTest {
      private lateinit var client: OkHttpClient
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Sep 16 07:21:43 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/HttpUpgradesTest.kt

    import okhttp3.RecordingHostnameVerifier
    import okhttp3.Request
    import okhttp3.RequestBody
    import okhttp3.RequestBody.Companion.toRequestBody
    import okhttp3.internal.duplex.MockSocketHandler
    import okhttp3.testing.PlatformRule
    import okio.ProtocolException
    import okio.buffer
    import okio.use
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.RegisterExtension
    
    class HttpUpgradesTest {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolverTest.java

     * under the License.
     */
    package org.apache.maven.repository.metadata;
    
    import javax.inject.Inject;
    
    import org.apache.maven.artifact.ArtifactScopeEnum;
    import org.codehaus.plexus.testing.PlexusTest;
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    
    /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  5. docs/zh/docs/advanced/async-tests.md

    `TestClient` 是基于 <a href="https://www.python-httpx.org" class="external-link" target="_blank">HTTPX</a> 的。幸运的是,我们可以直接使用它来测试API。
    
    ## 示例
    
    举个简单的例子,让我们来看一个[更大的应用](../tutorial/bigger-applications.md){.internal-link target=_blank}和[测试](../tutorial/testing.md){.internal-link target=_blank}中描述的类似文件结构:
    
    ```
    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    │   └── test_main.py
    ```
    
    文件 `main.py` 将包含:
    
    {* ../../docs_src/async_tests/main.py *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 17 21:49:06 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java

        @Inject
        public DefaultUpdateCheckManager(TrackingFileManager trackingFileManager) {
            this.trackingFileManager = trackingFileManager;
        }
    
        /**
         * For testing purposes.
         */
        public DefaultUpdateCheckManager(Logger logger, TrackingFileManager trackingFileManager) {
            enableLogging(logger);
            this.trackingFileManager = trackingFileManager;
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 16 13:41:14 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  7. docs/en/docs/how-to/migrate-from-pydantic-v1-to-pydantic-v2.md

    It also includes what has changed, how validations are now more correct and strict, possible caveats, etc.
    
    You can read it to understand better what has changed.
    
    ## Tests { #tests }
    
    Make sure you have [tests](../tutorial/testing.md){.internal-link target=_blank} for your app and you run them on continuous integration (CI).
    
    This way, you can do the upgrade and make sure everything is still working as expected.
    
    ## `bump-pydantic` { #bump-pydantic }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java

                    files.add(file);
                } catch (Exception e) {
                    log.warn("Error creating SmbFile from cache for {}: {}", fileInfo.getName(), e.getMessage());
                    // For testing purposes, continue processing other files
                    // In a real scenario, you might want to handle this differently
                }
            }
    
            return files;
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/netbios/SessionRequestPacketTest.java

            packet.length = 10;
    
            assertThrows(IOException.class, () -> {
                packet.readTrailerWireFormat(emptyStream, new byte[10], 0);
            });
        }
    
        // Helper class for testing with concrete NetbiosName implementation
        private class TestNetbiosName implements NetbiosName {
            private final String name;
            private final int type;
            private final String scope;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/netbios/UniAddressTest.java

            @Test
            void shouldReturnNullWhenWrappedIsNeitherInetAddressNorAddress() throws Exception {
                // UniAddress only accepts InetAddress, NbtAddress (which implements Address), or Address
                // Testing with NbtAddress which doesn't return anything from toInetAddress
                NbtAddress nbtAddress = mock(NbtAddress.class);
                when(nbtAddress.toInetAddress()).thenReturn(null);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.4K bytes
    - Viewed (0)
Back to top