Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 56 for assertRun (0.14 seconds)

  1. guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

        assertThat(e).hasMessageThat().contains("toString representation");
      }
    
      private static void assertErrorMessage(Throwable e, String message) {
        // TODO(kevinb): use a Truth assertion here
        if (!e.getMessage().contains(message)) {
          fail("expected <" + e.getMessage() + "> to contain <" + message + ">");
        }
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed May 14 19:40:47 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

         * iterator's next element and pass it to the reference iterator through this method so it can
         * return the same element. This enables the assertion to pass and the reference iterator to
         * properly update its state.
         */
        void promoteToNext(E e) {
          if (nextElements.remove(e)) {
            nextElements.push(e);
          } else {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 20.8K bytes
    - Click Count (0)
  3. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

            } else {
                System.getProperties().remove(MavenCli.MULTIMODULE_PROJECT_DIRECTORY);
            }
        }
    
        // Helper method for containsExactlyInAnyOrder assertion
        private static <T> void assertContainsExactlyInAnyOrder(Collection<T> actual, T... expected) {
            assertEquals(expected.length, actual.size(), "Collection size mismatch");
            for (T item : expected) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 30.9K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/sso/saml/SamlAuthenticatorTest.java

            Map<String, Object> defaultSettings = createDefaultSettings();
            String supportEmail = (String) defaultSettings.get("onelogin.saml2.contacts.support.email_address");
    
            // The critical assertion: must NOT contain double @
            assertFalse("Support email must not contain @@", supportEmail.contains("@@"));
    
            // And must be the correct value
            assertEquals("******@****.***", supportEmail);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 18.4K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/doc/RestTestsFromSnippetsTask.groovy

                 * else that we don't want to teach people to do. The REST test
                 * framework doesn't allow us to have assertions in the setup
                 * section so we have to skip it there. We also omit the assertion
                 * from APIs that don't return a JSON object
                 */
                if (false == inSetup && skipShardFailures == false && shouldAddShardFailureCheck(path)) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 19.5K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

     *
     * @param <K> the type of keys used by the maps under test
     * @param <V> the type of mapped values used the maps under test
     * @author George van den Driessche
     */
    // TODO: Descriptive assertion messages, with hints as to probable fixes.
    // TODO: Add another constructor parameter indicating whether the class under test is ordered, and
    // check the order if so.
    // TODO: Refactor to share code with SetTestBuilder etc.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 43.9K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/sso/saml/SamlAuthenticator.java

     * </pre>
     *
     * <h3>Option 2: Set individual SP URLs</h3>
     * <pre>
     * # SP Entity ID (Audience URI in IdP)
     * saml.sp.entityid=https://your-fess-server.example.com/sso/metadata
     *
     * # Assertion Consumer Service URL
     * saml.sp.assertion_consumer_service.url=https://your-fess-server.example.com/sso/
     *
     * # Single Logout Service URL
     * saml.sp.single_logout_service.url=https://your-fess-server.example.com/sso/logout
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 02 03:13:33 GMT 2026
    - 20.2K bytes
    - Click Count (3)
  8. guava-tests/test/com/google/common/math/StatsTesting.java

      }
    
      /**
       * Asserts that {@code transformation} is horizontal with the given value of {@code y}. Includes
       * assertions about all the public instance methods of {@link LinearTransformation}, including an
       * assertion that {@link LinearTransformation#transform} and {@link LinearTransformation#slope} on
       * its inverse throws as expected.
       */
      static void assertHorizontalLinearTransformation(LinearTransformation transformation, double y) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 24K bytes
    - Click Count (0)
  9. cmd/object-api-listobjects_test.go

    				// should match in both expected result from test cases
    				// and in the output. On failure calling t.Fatalf,
    				// otherwise it may lead to index out of range error in
    				// assertion following this.
    				if !testCase.versioned {
    					if len(testCase.resultL.Objects) != len(resultL.Objects) {
    						t.Logf("want: %v", objInfoNames(testCase.resultL.Objects))
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 10 18:57:03 GMT 2025
    - 76.1K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/math/StatsTesting.java

      }
    
      /**
       * Asserts that {@code transformation} is horizontal with the given value of {@code y}. Includes
       * assertions about all the public instance methods of {@link LinearTransformation}, including an
       * assertion that {@link LinearTransformation#transform} and {@link LinearTransformation#slope} on
       * its inverse throws as expected.
       */
      static void assertHorizontalLinearTransformation(LinearTransformation transformation, double y) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 24K bytes
    - Click Count (0)
Back to Top