Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 1,668 for testIs (0.04 sec)

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

        List<Class<? extends AbstractTester>> testers = copyToList(super.getTesters());
    
        testers.add(CollectionSerializationEqualTester.class);
        testers.add(SetAddAllTester.class);
        testers.add(SetAddTester.class);
        testers.add(SetCreationTester.class);
        testers.add(SetHashCodeTester.class);
        testers.add(SetEqualsTester.class);
        testers.add(SetRemoveTester.class);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationTest.java

    import java.util.Arrays;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    
    import jcifs.smb1.util.Hexdump;
    
    /**
     * Unit test for {@link Trans2QueryFSInformation}. The class contains mostly
     * trivial wire-format helpers and a custom {@code toString()} implementation.
     * All tests are pure unit tests – no network or file system access is
     * required.
     */
    class Trans2QueryFSInformationTest {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

      /**
       * Returns an OkHttpClient for tests to use as a starting point.
       *
       * The returned client installs a default event listener that gathers debug information. This will
       * be logged if the test fails.
       *
       * This client is also configured to be slightly more deterministic, returning a single IP
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri May 30 21:28:20 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  4. utils/utils_test.go

    	}
    	for _, test := range assertEqualTests {
    		t.Run(test.name, func(t *testing.T) {
    			if out := AssertEqual(test.src, test.dst); test.out != out {
    				t.Errorf("AssertEqual(%v, %v) want: %t, got: %t", test.src, test.dst, test.out, out)
    			}
    		})
    	}
    }
    
    func TestToString(t *testing.T) {
    	tests := []struct {
    		name string
    		in   interface{}
    		out  string
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Aug 22 11:03:42 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/SmbAuthExceptionTest.java

    import java.util.stream.Stream;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.Arguments;
    import org.junit.jupiter.params.provider.MethodSource;
    
    /**
     * Tests for {@link SmbAuthException}.
     *
     * These tests exercise the constructor and the mapping logic of
     * {@link SmbException#getMessageByCode(int)} and
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/witness/WitnessNotificationTest.java

    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    
    /**
     * Unit tests for WitnessNotification class.
     */
    public class WitnessNotificationTest {
    
        private WitnessNotification notification;
    
        @BeforeEach
        void setUp() {
            notification = new WitnessNotification(WitnessEventType.CLIENT_MOVE, "TestResource");
        }
    
        @Test
        void testNotificationCreation() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 5K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/AbstractTester.java

    /**
     * This abstract base class for testers allows the framework to inject needed information after
     * JUnit constructs the instances.
     *
     * <p>This class is emulated in GWT.
     *
     * @param <G> the type of the test generator required by this tester. An instance of G should
     *     somehow provide an instance of the class under test, plus any other information required to
     *     parameterize the test.
     * @author George van den Driessche
     */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/asm/pseudo_test.go

    	for _, cat := range testcats {
    		for _, test := range cat.tests {
    			parser.allowABI = cat.allowABI
    			parser.errorCount = 0
    			parser.lineNum++
    			if !parser.pseudo(test.pseudo, tokenize(test.operands)) {
    				t.Fatalf("Wrong pseudo-instruction: %s", test.pseudo)
    			}
    			errorLine := buf.String()
    			if test.expected != errorLine {
    				t.Errorf("Unexpected error %q; expected %q", errorLine, test.expected)
    			}
    			buf.Reset()
    		}
    	}
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Aug 29 07:48:38 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/SmbSessionTest.java

    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Nested;
    import org.junit.jupiter.api.Test;
    
    @DisplayName("SmbSession Interface Contract Tests")
    class SmbSessionTest {
    
        @Nested
        @DisplayName("AutoCloseable Contract Tests")
        class AutoCloseableContractTest {
    
            @Test
            @DisplayName("Should implement AutoCloseable interface")
            void shouldImplementAutoCloseable() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/testing-events.md

    When you need `lifespan` to run in your tests, you can use the `TestClient` with a `with` statement:
    
    {* ../../docs_src/app_testing/tutorial004.py hl[9:15,18,27:28,30:32,41:43] *}
    
    
    You can read more details about the ["Running lifespan in tests in the official Starlette documentation site."](https://www.starlette.io/lifespan/#running-lifespan-in-tests)
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:29:21 UTC 2025
    - 615 bytes
    - Viewed (0)
Back to top