Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 26 for getErrors (0.06 seconds)

  1. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/SimpleProblemCollector.java

            this.model = model;
        }
    
        public Model getModel() {
            return model;
        }
    
        public List<String> getWarnings() {
            return warnings;
        }
    
        public List<String> getErrors() {
            return errors;
        }
    
        public List<String> getFatals() {
            return fatals;
        }
    
        @Override
        public void add(ModelProblemCollectorRequest req) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexResponse.java

         */
        public boolean hasError() {
            return hasError;
        }
    
        /**
         * Returns the list of errors.
         * @return The list of errors.
         */
        public List<Throwable> getErrors() {
            return errors;
        }
    
        /**
         * Returns the time taken for the operation.
         * @return The time taken in milliseconds.
         */
        public long getTook() {
            return took;
        }
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/suggest/index/SuggestDeleteResponse.java

         */
        public boolean hasError() {
            return !errors.isEmpty();
        }
    
        /**
         * Returns the list of errors.
         * @return The list of errors.
         */
        public List<Throwable> getErrors() {
            return errors;
        }
    
        /**
         * Returns the time taken for the operation.
         * @return The time taken in milliseconds.
         */
        public long getTook() {
            return took;
        }
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 2K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/suggest/index/SuggestDeleteResponseTest.java

            assertNotNull(response);
            assertEquals(100, response.getTook());
            assertFalse(response.hasError());
            assertNotNull(response.getErrors());
            assertEquals(0, response.getErrors().size());
        }
    
        @Test
        public void test_constructorWithErrors() throws Exception {
            List<Throwable> errors = new ArrayList<>();
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Thu Nov 13 00:40:54 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/suggest/index/SuggestIndexResponseTest.java

            assertEquals(5, response.getNumberOfInputDocs());
            assertEquals(100, response.getTook());
            assertFalse(response.hasError());
            assertNotNull(response.getErrors());
            assertEquals(0, response.getErrors().size());
        }
    
        @Test
        public void test_constructorWithErrors() throws Exception {
            List<Throwable> errors = new ArrayList<>();
            errors.add(new Exception("Test error 1"));
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Thu Nov 13 00:40:54 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/DefaultProfileSelectorTest.java

                    active.isEmpty(), "Expected collection to be empty but had " + active.size() + " elements: " + active);
            assertEquals(1, problems.getErrors().size());
            assertEquals(
                    "Failed to determine activation for profile one: BOOM",
                    problems.getErrors().get(0));
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  7. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/AbstractProfileActivatorTest.java

            assertEquals(active, activator.isActive(new org.apache.maven.model.Profile(profile), context, problems));
    
            assertEquals(0, problems.getErrors().size(), problems.getErrors().toString());
            assertEquals(0, problems.getWarnings().size(), problems.getWarnings().toString());
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb2/multichannel/ChannelInfoTest.java

            assertEquals(0, channelInfo.getBytesSent());
            assertEquals(0, channelInfo.getBytesReceived());
            assertEquals(0, channelInfo.getRequestsSent());
            assertEquals(0, channelInfo.getErrors());
    
            channelInfo.addBytesSent(1000);
            channelInfo.addBytesReceived(2000);
            channelInfo.incrementRequestsSent();
            channelInfo.incrementErrors();
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/suggest/index/operations/WordManagementOperations.java

                numberOfSuggestDocs += res.getNumberOfSuggestDocs();
                numberOfInputDocs += res.getNumberOfInputDocs();
                errors.addAll(res.getErrors());
            }
            return new SuggestIndexResponse(numberOfSuggestDocs, numberOfInputDocs, errors, System.currentTimeMillis() - start);
        }
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 6.4K bytes
    - Click Count (0)
  10. build-logic/src/main/kotlin/BndBuildAction.kt

            builder.setSourcepath(validSourcepath.files.toTypedArray())
    
            val builtJar = builder.build()
            if (!builder.isOk) {
              builder.getErrors().forEach { task.logger.error("Error: $it") }
              builder.getWarnings().forEach { task.logger.warn("Warning: $it") }
              throw GradleException("Bundle $archiveFileName has errors")
            }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Feb 05 09:17:33 GMT 2026
    - 8.9K bytes
    - Click Count (0)
Back to Top