Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 177 for Succeeded (0.08 sec)

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

        try {
          collection.add(sampleElement);
          fail("add succeeded on unmodifiable collection");
        } catch (UnsupportedOperationException expected) {
        }
    
        assertCollectionsAreEquivalent(copy, collection);
    
        try {
          collection.addAll(siblingCollection);
          fail("addAll succeeded on unmodifiable collection");
        } catch (UnsupportedOperationException expected) {
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

        try {
          collection.add(sampleElement);
          fail("add succeeded on unmodifiable collection");
        } catch (UnsupportedOperationException expected) {
        }
    
        assertCollectionsAreEquivalent(copy, collection);
    
        try {
          collection.addAll(siblingCollection);
          fail("addAll succeeded on unmodifiable collection");
        } catch (UnsupportedOperationException expected) {
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/Transport.java

         * source MUST BE relative from the {@link RemoteRepository#getUrl()} root.
         *
         * @return {@code true} if operation succeeded, {@code false} if source does not exist.
         * @throws RuntimeException If failed (and not due source not exists).
         */
        boolean get(@Nonnull URI relativeSource, @Nonnull Path target);
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  4. samples/guide/src/main/java/okhttp3/recipes/kt/PerCallSettings.kt

        val client1 =
          client.newBuilder()
            .readTimeout(500, TimeUnit.MILLISECONDS)
            .build()
        try {
          client1.newCall(request).execute().use { response ->
            println("Response 1 succeeded: $response")
          }
        } catch (e: IOException) {
          println("Response 1 failed: $e")
        }
    
        // Copy to customize OkHttp for this request.
        val client2 =
          client.newBuilder()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. samples/guide/src/main/java/okhttp3/recipes/PerCallSettings.java

        OkHttpClient client1 = client.newBuilder()
            .readTimeout(500, TimeUnit.MILLISECONDS)
            .build();
        try (Response response = client1.newCall(request).execute()) {
          System.out.println("Response 1 succeeded: " + response);
        } catch (IOException e) {
          System.out.println("Response 1 failed: " + e);
        }
    
        // Copy to customize OkHttp for this request.
        OkHttpClient client2 = client.newBuilder()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun May 22 01:29:42 UTC 2016
    - 1.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/reflect/TypeVisitor.java

              visitGenericArrayType((GenericArrayType) type);
            } else {
              throw new AssertionError("Unknown type: " + type);
            }
            succeeded = true;
          } finally {
            if (!succeeded) { // When the visitation failed, we don't want to ignore the second.
              visited.remove(type);
            }
          }
        }
      }
    
      void visitClass(Class<?> t) {}
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Apr 16 21:10:04 UTC 2021
    - 3.7K bytes
    - Viewed (0)
  7. docs/releasing.md

          "s/version = \".*\"/version = \"$NEXT_VERSION\"/g" \
          build.gradle.kts
        git commit -am "Prepare next development version."
        git push
        ```
    
    7. Confirm the [GitHub Actions][github_actions] publish job succeeded.
    
    [github_actions]: https://github.com/square/okhttp/actions
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Dec 26 22:07:16 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  8. cmd/net_test.go

    		if testCase.expectedErr == nil && err != nil {
    			t.Fatalf("Test %d: should succeed but failed with err: %v", i+1, err)
    		}
    		if testCase.expectedErr != nil && err == nil {
    			t.Fatalf("Test %d:, should fail but succeeded.", i+1)
    		}
    		if err == nil {
    			if host != testCase.host {
    				t.Fatalf("Test %d: expected: %v, found: %v", i+1, testCase.host, host)
    			}
    			if port != testCase.port {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 19 08:43:09 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  9. .github/workflows/test-redistribute.yml

        if: always()
        needs:
          - test-redistribute
        runs-on: ubuntu-latest
        steps:
          - name: Decide whether the needed jobs succeeded or failed
            uses: re-actors/alls-green@release/v1
            with:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Aug 08 23:34:25 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. internal/config/etcd/etcd_test.go

    			if err != nil && testCase.success {
    				t.Errorf("expected to succeed but failed with %s", err)
    			}
    			if !testCase.success && err == nil {
    				t.Error("expected failure but succeeded instead")
    			}
    			if testCase.success {
    				if !reflect.DeepEqual(endpoints, testCase.endpoints) {
    					t.Errorf("expected %s, got %s", testCase.endpoints, endpoints)
    				}
    				if secure != testCase.secure {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 2.1K bytes
    - Viewed (0)
Back to top