Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,056 for fails (0.03 sec)

  1. android/guava-tests/test/com/google/common/net/HostAndPortTest.java

        assertEquals("x", HostAndPort.fromString("x").requireBracketsForIPv6().getHost());
        assertEquals("x", HostAndPort.fromString("x:80").requireBracketsForIPv6().getHost());
    
        // Non-bracketed IPv6 fails.
        assertThrows(
            IllegalArgumentException.class,
            () -> HostAndPort.fromString("::1").requireBracketsForIPv6());
      }
    
      public void testToString() {
        // With ports.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveAllTester.java

            UnsupportedOperationException.class,
            () -> collection.removeAll(MinimalCollection.of(e0())));
        expectUnchanged();
        assertTrue(collection.contains(e0()));
      }
    
      /*
       * AbstractCollection fails the removeAll(null) test when the subject
       * collection is empty, but we'd still like to test removeAll(null) when we
       * can. We split the test into empty and non-empty cases. This allows us to
       * suppress only the former.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/CacheReferencesTest.java

          assertThat(cache.asMap().values()).contains(value2);
          assertEquals(ImmutableSet.of(immutableEntry(key2, value2)), cache.asMap().entrySet());
        }
      }
    
      // fails in Maven with 64-bit JDK: https://github.com/google/guava/issues/1568
    
      private void assertCleanup(
          LoadingCache<Integer, String> cache,
          CountingRemovalListener<Integer, String> removalListener) {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/net/HostAndPort.java

      /**
       * Parses a bracketed host-port string, throwing IllegalArgumentException if parsing fails.
       *
       * @param hostPortString the full bracketed host-port specification. Port might not be specified.
       * @return an array with 2 strings: host and port, in that order.
       * @throws IllegalArgumentException if parsing the bracketed host-port string fails.
       */
      private static String[] getHostAndPortFromBracketedHost(String hostPortString) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 22:02:22 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  5. internal/config/identity/openid/providercfg.go

    	}
    }
    
    const (
    	keyCloakVendor = "keycloak"
    )
    
    // initializeProvider initializes if any additional vendor specific information
    // was provided, initialization will return an error initial login fails.
    func (p *providerCfg) initializeProvider(cfgGet func(string) string, transport http.RoundTripper) error {
    	vendor := cfgGet(Vendor)
    	if vendor == "" {
    		return nil
    	}
    	var err error
    	switch vendor {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java

          dummy ^= sb.toString().length();
        }
        return dummy;
      }
    
      /**
       * Only appends delimiter if the accumulated string is non-empty. Note: this isn't a candidate
       * implementation for Joiner since it fails on leading empty components.
       */
      @Benchmark
      int stringBuilderIsEmpty(int reps) {
        int dummy = 0;
        for (int i = 0; i < reps; i++) {
          StringBuilder sb = new StringBuilder();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.9K bytes
    - Viewed (0)
  7. .github/workflows/codeql.yml

            # queries: security-extended,security-and-quality
    
        # If the analyze step fails for one of the languages you are analyzing with
        # "We were unable to automatically build your code", modify the matrix above
        # to set the build mode to "manual" for that language. Then modify this step
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Aug 14 23:51:19 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  8. build-logic/buildquality/src/test/kotlin/gradlebuild/testcleanup/TestFilesCleanupServiceTest.kt

                include(":successful-report")
                """.trimIndent()
            )
    
            fun File.writeFlakyTest(fail: Boolean) {
                mkdirsAndWriteText(
                    """
                class FlakyTest {
                    @org.junit.jupiter.api.Test
                    public void test() {
                        ${if (fail) "throw new IllegalStateException();" else ""}
                    }
                }
                    """.trimIndent()
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Jun 14 12:35:52 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  9. .teamcity/README.md

      - If there are any errors, read the error and fix your code.
      - IMPORTANT NOTE: if the first import fails, you have to select and apply `Synchronization disabled`, then repeat the step above.
        Otherwise, TeamCity complains "Can't find the previous revision, please commit current settings first".
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Mar 06 23:02:25 UTC 2024
    - 4K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java

                                    } catch (InterruptedException ie) {
                                        // ignore
                                    }
                                    file.delete(); // if this fails, forget about it
                                }
                            }
                        } catch (TransferFailedException e) {
                            getLogger()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.9K bytes
    - Viewed (0)
Back to top