Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 35 for assertive (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/rest/compat/RestCompatTestTransformTask.java

            skippedPatternSet.include(filePattern);
            skippedTestByFilePatternTransformations.put(skippedPatternSet, reason);
        }
    
        /**
         * Replaces all the values of a match assertion for all project REST tests.
         * For example "match":{"_type": "foo"} to "match":{"_type": "bar"}
         *
         * @param subKey the key name directly under match to replace. For example "_type"
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Sep 30 16:30:48 GMT 2021
    - 22.3K bytes
    - Click Count (0)
  2. tensorflow/c/c_test_util.cc

      if (!dims.empty()) {
        TF_SetAttrShape(desc, "shape", dims.data(), dims.size());
      }
      *op = TF_FinishOperation(desc, s);
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
      ASSERT_NE(*op, nullptr);
    }
    
    TF_Operation* Placeholder(TF_Graph* graph, TF_Status* s, const char* name,
                              TF_DataType dtype, const std::vector<int64_t>& dims) {
      TF_Operation* op;
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 04 05:55:32 GMT 2025
    - 17.8K bytes
    - Click Count (1)
  3. src/test/java/org/codelibs/fess/exception/ThumbnailGenerationExceptionTest.java

            assertEquals(error, exception.getCause());
        }
    
        @Test
        public void test_constructorWithThrowableCause_AssertionError() {
            // Test with AssertionError as cause
            String message = "Assertion failed during thumbnail generation";
            AssertionError error = new AssertionError("Unexpected state");
            ThumbnailGenerationException exception = new ThumbnailGenerationException(message, error);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/exception/SsoProcessExceptionTest.java

            }
        }
    
        @Test
        public void test_throwAndCatchWithCause() {
            // Test throwing and catching the exception with cause
            String expectedMessage = "SAML assertion validation failed";
            Exception expectedCause = new IllegalStateException("Invalid SAML response");
    
            try {
                throw new SsoProcessException(expectedMessage, expectedCause);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 13.8K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/exception/DataStoreCrawlingExceptionTest.java

        }
    
        @Test
        public void test_constructorWithThrowableCause_AssertionError() {
            // Test with AssertionError
            String url = "http://example.com/invalid-state";
            String message = "Assertion failed during data store access";
            AssertionError error = new AssertionError("Data integrity check failed");
    
            DataStoreCrawlingException exception = new DataStoreCrawlingException(url, message, error, false);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 16.6K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java

        return "z";
      }
    
      @Override
      protected String getValueNotInPopulatedMap() throws UnsupportedOperationException {
        return "26";
      }
    
      /** Helper assertion comparing two maps */
      private void assertMapsEqual(Map<?, ?> expected, Map<?, ?> map) {
        assertEquals(expected, map);
        assertEquals(expected.hashCode(), map.hashCode());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 12.4K bytes
    - Click Count (0)
  7. android/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)
  8. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java

            if (level == FileInformation.FILE_BASIC_INFO || level == FileInformation.FILE_STANDARD_INFO
                    || level == FileInformation.FILE_ENDOFFILE_INFO) {
                // These are valid levels, skip assertion
                return;
            }
    
            IllegalArgumentException exception =
                    assertThrows(IllegalArgumentException.class, () -> Trans2QueryPathInformation.mapInformationLevel(level));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBrokenInternalLinks.java

                    fw.println(message);
                }
            } catch (IOException e) {
                throw UncheckedException.throwAsUncheckedException(e);
            }
            throw new GradleException("Documentation assertion failed: found invalid internal links. See " + new org.gradle.internal.logging.ConsoleRenderer().asClickableFileUrl(reportFile));
        }
    
        private void writeHeader(PrintWriter fw) {
            fw.println("# Valid links are:");
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 12 23:22:57 GMT 2026
    - 12.8K bytes
    - Click Count (0)
  10. tensorflow/c/c_api_experimental_test.cc

                                 /*output_names=*/nullptr,
                                 /*opts=*/nullptr, description, s.get());
      ASSERT_EQ(TF_OK, TF_GetCode(s.get())) << TF_Message(s.get());
      ASSERT_NE(*func, nullptr);
    }
    
    class CApiExperimentalFunctionTest : public ::testing::Test {
     protected:
      CApiExperimentalFunctionTest()
          : s_(TF_NewStatus()), func_graph_(TF_NewGraph()), func_(nullptr) {}
    
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Jan 07 04:56:09 GMT 2026
    - 13.1K bytes
    - Click Count (0)
Back to Top