Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for addFailure (0.05 seconds)

  1. src/test/java/org/codelibs/fess/suggest/index/writer/SuggestWriterResultTest.java

            Exception exception2 = new RuntimeException("Failure 2");
            Exception exception3 = new IllegalArgumentException("Failure 3");
    
            result.addFailure(exception1);
            result.addFailure(exception2);
            result.addFailure(exception3);
    
            assertTrue(result.hasFailure());
            assertEquals(3, result.getFailures().size());
        }
    
        @Test
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Thu Nov 13 00:40:54 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/suggest/index/writer/SuggestIndexWriter.java

            if (response.hasFailures()) {
                for (final BulkItemResponse bulkItemResponses : response.getItems()) {
                    if (bulkItemResponses.isFailed()) {
                        result.addFailure(new SuggestIndexException("Bulk failure. " + bulkItemResponses.getFailureMessage()));
                    }
                }
            }
    
            return result;
        }
    
        @Override
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Thu Nov 20 08:32:33 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  3. tensorflow/c/c_api_test.cc

          EXPECT_FALSE(found_scalar_const);
          found_scalar_const = true;
        } else if (IsAddN(n, 2)) {
          EXPECT_FALSE(found_add);
          found_add = true;
        } else {
          ADD_FAILURE() << "Unexpected NodeDef: " << n.DebugString();
        }
      }
      EXPECT_TRUE(found_placeholder);
      EXPECT_TRUE(found_scalar_const);
      EXPECT_TRUE(found_add);
    
      // Add another oper to the graph.
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Jan 07 04:56:09 GMT 2026
    - 97.3K bytes
    - Click Count (0)
Back to Top