Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1061 - 1070 of 1,595 for Tests (0.02 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeTest.kt

    import kotlin.test.Test
    import kotlin.test.assertEquals
    import kotlin.test.assertNull
    import okhttp3.MediaType.Companion.toMediaTypeOrNull
    
    /**
     * Test MediaType API and parsing.
     *
     * This test includes tests from [Guava's](https://code.google.com/p/guava-libraries/)
     * MediaTypeTest.
     */
    open class MediaTypeTest {
      open fun MediaType.charsetName(): String? = parameter("charset")?.uppercase()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

     */
    @GwtCompatible
    @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")
    @NullMarked
    public abstract class AbstractMapTester<K extends @Nullable Object, V extends @Nullable Object>
        extends AbstractContainerTester<Map<K, V>, Entry<K, V>> {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  3. docs/uk/docs/tutorial/testing.md

    /// tip | Порада
    
    Якщо Вам потрібно викликати `async`-функції у ваших тестах, окрім відправлення запитів до FastAPI-застосунку (наприклад, асинхронні функції роботи з базою даних), перегляньте [Асинхронні тести](../advanced/async-tests.md){.internal-link target=_blank} у розширеному керівництві.
    
    ///
    
    ## Розділення тестів
    
    У реальному застосунку Ваші тести, ймовірно, будуть в окремому файлі.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Feb 28 14:12:19 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/hash/BloomFilterTest.java

    import java.util.List;
    import java.util.Random;
    import java.util.stream.Stream;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests for SimpleGenericBloomFilter and derived BloomFilter views.
     *
     * @author Dimitris Andreou
     */
    @NullUnmarked
    public class BloomFilterTest extends TestCase {
      private static final int NUM_PUTS = 100_000;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 22K bytes
    - Viewed (0)
  5. docs/smb3-features/01-smb3-lease-design.md

        }
        
        public int getLeaseVersion() {
            return getIntProperty(LEASE_VERSION, 2);  // Default to V2 if supported
        }
    }
    ```
    
    ## 8. Testing Strategy
    
    ### 8.1 Unit Tests
    ```java
    package jcifs.tests.smb3;
    
    import org.junit.Test;
    import static org.junit.Assert.*;
    
    public class LeaseTest {
        
        @Test
        public void testLeaseKeyGeneration() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 22K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/SmbComNegotiateTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import java.io.UnsupportedEncodingException;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    
    /**
     * Tests for the SmbComNegotiate class.
     */
    class SmbComNegotiateTest {
    
        private SmbComNegotiate smbComNegotiate;
        private static final String DIALECTS = "\u0002NT LM 0.12\u0000";
    
        @BeforeEach
        void setUp() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java

    import java.util.concurrent.ExecutorService;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /** Tests for {@link ListenerCallQueue}. */
    @NullUnmarked
    public class ListenerCallQueueTest extends TestCase {
    
      private static final ListenerCallQueue.Event<Object> THROWING_EVENT =
          new ListenerCallQueue.Event<Object>() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java

    import java.util.concurrent.ExecutorService;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /** Tests for {@link ListenerCallQueue}. */
    @NullUnmarked
    public class ListenerCallQueueTest extends TestCase {
    
      private static final ListenerCallQueue.Event<Object> THROWING_EVENT =
          new ListenerCallQueue.Event<Object>() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapTestSuiteBuilder.java

    import java.util.EnumSet;
    import java.util.List;
    import java.util.Map.Entry;
    import java.util.Set;
    import junit.framework.TestSuite;
    
    /**
     * Creates, based on your criteria, a JUnit test suite that exhaustively tests a {@code SetMultimap}
     * implementation.
     *
     * @author Louis Wasserman
     */
    @GwtIncompatible
    public class SetMultimapTestSuiteBuilder<K, V>
        extends MultimapTestSuiteBuilder<K, V, SetMultimap<K, V>> {
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  10. android/guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java

    import com.google.common.collect.ImmutableList;
    import java.util.Arrays;
    import java.util.List;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit tests for {@link AbstractPackageSanityTests}.
     *
     * @author Ben Yu
     */
    @NullUnmarked
    public class AbstractPackageSanityTestsTest extends TestCase {
      /*
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 02:48:50 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top