Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 871 for xctest (0.09 sec)

  1. tensorflow/c/eager/c_api_experimental_reader_test.cc

                           int64_t delta = 1);
    
    TEST(CAPI, MonitoringCellReader0) {
      auto counter_name = "test/counter0";
      auto* counter = CreateCounter0(counter_name);
      auto* reader = TFE_MonitoringNewCounterReader(counter_name);
      IncrementCounter0(counter);
    
      int64_t actual = TFE_MonitoringReadCounter0(reader);
    
      CHECK_EQ(actual, 1);
    }
    
    TEST(CAPI, MonitoringCellReader1) {
      auto counter_name = "test/counter1";
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Apr 20 03:14:47 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  2. okhttp-testing-support/src/test/kotlin/okhttp3/testing/PlatformRuleTest.kt

      }
    
      @Test
      fun testGreenCase() {
      }
    
      @Test
      fun testGreenCaseFailingOnLater() {
        platform.expectFailureFromJdkVersion(PlatformVersion.majorVersion + 1)
      }
    
      @Test
      fun failureCase() {
        platform.expectFailureFromJdkVersion(PlatformVersion.majorVersion)
    
        check(false)
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 14:55:09 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/CookiesTest.kt

    import okhttp3.Cookie.Companion.parse
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.java.net.cookiejar.JavaNetCookieJar
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.Timeout
    import org.junit.jupiter.api.extension.RegisterExtension
    
    /** Derived from Android's CookiesTest.  */
    @Timeout(30)
    class CookiesTest {
      @RegisterExtension
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 13K bytes
    - Viewed (0)
  4. compat/maven-model/src/test/java/org/apache/maven/model/v4/MavenModelVersionTest.java

            }
        }
    
        @Test
        void testV4Model() {
            assertEquals("4.0.0", new MavenModelVersion().getModelVersion(model));
        }
    
        @Test
        void testV4ModelVersion() {
            Model m = model.withModelVersion("4.1.0");
            assertEquals("4.0.0", new MavenModelVersion().getModelVersion(m));
        }
    
        @Test
        void testV4ModelRoot() {
            Model m = model.withRoot(true);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. .github/workflows/pylint-presubmit.yml

    name: PyLint
    on:
      pull_request:
        paths:
          - '**.py'
    
    permissions:
      contents: read
    
    jobs:
      build:
        name: PyLint
        runs-on: ubuntu-latest
        steps:
        - name: Checkout code
          uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
        - name: Get file changes
          id: get_file_changes
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Nov 01 08:40:10 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. cmd/object-handlers-common_test.go

    			canonicalizedETag: "abcd",
    		},
    		{
    			etag:              "abcd\"\"",
    			canonicalizedETag: "abcd",
    		},
    	}
    	for _, test := range testCases {
    		etag := canonicalizeETag(test.etag)
    		if test.canonicalizedETag != etag {
    			t.Fatalf("Expected %s , got %s", test.canonicalizedETag, etag)
    		}
    	}
    }
    
    // Tests - CheckPreconditions()
    func TestCheckPreconditions(t *testing.T) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 06:33:53 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  7. cmd/endpoint_test.go

    				t.Errorf("error: expected = %v, got = <nil>", test.expectedErr)
    			case test.expectedErr.Error() != err.Error():
    				t.Errorf("error: expected = %v, got = %v", test.expectedErr, err)
    			}
    
    			if err == nil {
    				if (test.expectedEndpoint.URL == nil) != (endpoint.URL == nil) {
    					t.Errorf("endpoint url: expected = %#v, got = %#v", test.expectedEndpoint.URL, endpoint.URL)
    					return
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jan 13 07:53:03 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  8. .github/ISSUE_TEMPLATE/bug_report.md

    about: A reproducible problem
    title: ''
    labels: bug
    assignees: ''
    
    ---
    
    Good bug reports include a failing test! Writing a test helps you to isolate and describe the problem, and it helps us to fix it fast. Bug reports without a failing test or reproduction steps are likely to be closed.
    
    Here’s an example test to get you started.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Dec 30 22:44:40 UTC 2018
    - 412 bytes
    - Viewed (0)
  9. compat/maven-model/src/test/java/org/apache/maven/model/DependencyTest.java

        @Test
        void testEqualsNullSafe() {
            assertFalse(new Dependency().equals(null));
    
            new Dependency().equals(new Dependency());
        }
    
        @Test
        void testEqualsIdentity() {
            Dependency thing = new Dependency();
            assertTrue(thing.equals(thing));
        }
    
        @Test
        void testToStringNullSafe() {
            assertNotNull(new Dependency().toString());
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. compat/maven-model/src/test/java/org/apache/maven/model/DistributionManagementTest.java

        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new DistributionManagement().equals(null));
    
            new DistributionManagement().equals(new DistributionManagement());
        }
    
        @Test
        void testEqualsIdentity() {
            DistributionManagement thing = new DistributionManagement();
            assertTrue(thing.equals(thing));
        }
    
        @Test
        void testToStringNullSafe() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top