- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 61 for getResults (0.2 sec)
-
maven-core/src/test/java/org/apache/maven/project/ProjectBuilderTest.java
assertEquals(1, pex.getResults().size()); assertNotNull(pex.getResults().get(0).getPomFile()); assertThat(pex.getResults().get(0).getProblems().size(), greaterThan(0)); assertThat( pex.getResults(), contains(projectBuildingResultWithProblemMessage(
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Tue Nov 28 17:17:10 GMT 2023 - 18.2K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/project/DefaultMavenProjectBuilderTest.java
ProjectBuildingException.class, () -> projectBuilder.build(pomFile, request), "Project building did not fail despite invalid POM"); List<ProjectBuildingResult> results = e.getResults(); assertNotNull(results); assertEquals(1, results.size()); ProjectBuildingResult result = results.get(0); assertNotNull(result); assertNotNull(result.getProject());
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Mon Jun 19 15:04:04 GMT 2023 - 16.5K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/project/collector/MultiModuleCollectionStrategy.java
*/ private boolean isModuleOutsideRequestScopeDependingOnPluginModule( MavenExecutionRequest request, ProjectBuildingException exception) { return exception.getResults().stream() .map(ProjectBuildingResult::getProject) .filter(Objects::nonNull) .filter(project -> request.getPom().equals(project.getFile())) .findFirst()
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Sep 22 09:07:17 GMT 2023 - 9.1K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/project/ProjectBuildingException.java
} else { return "null"; } } public String getProjectId() { return projectId; } public List<ProjectBuildingResult> getResults() { return results; } private static String createMessage(String message, String projectId, File pomFile) { StringBuilder buffer = new StringBuilder(256); buffer.append(message);
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 3K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/project/ProjectBuilder.java
* {@code null}. * @throws ProjectBuildingException If an error was encountered during building of any project. * {@link ProjectBuildingException#getResults()} provides access to the details of the problems. */ List<ProjectBuildingResult> build(List<File> pomFiles, boolean recursive, ProjectBuildingRequest request) throws ProjectBuildingException;
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 5.4K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java
List<ExceptionSummary> children = null; if (exception instanceof ProjectBuildingException) { List<ProjectBuildingResult> results = ((ProjectBuildingException) exception).getResults(); children = new ArrayList<>(); for (ProjectBuildingResult result : results) { ExceptionSummary child = handle(result); if (child != null) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Jul 19 15:37:28 GMT 2023 - 10.4K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java
localProject = pomResult.getRepository() instanceof WorkspaceRepository; } catch (org.eclipse.aether.resolution.ArtifactResolutionException e) { if (e.getResults().get(0).isMissing() && allowStubModel) { return build(null, createStubModelSource(artifact)); } throw new ProjectBuildingException(
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 15:10:38 GMT 2024 - 56.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/TestThread.java
assertEquals(null, getResponse(methodName).getResult()); } /** * Asserts that a prior call that had caused this thread to block or wait has since returned the * expected boolean value. */ public void assertPriorCallReturns(boolean expected, @Nullable String methodName) throws Exception { assertEquals(expected, getResponse(methodName).getResult()); } /**
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 26 20:07:17 GMT 2023 - 10.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/TestThread.java
assertEquals(null, getResponse(methodName).getResult()); } /** * Asserts that a prior call that had caused this thread to block or wait has since returned the * expected boolean value. */ public void assertPriorCallReturns(boolean expected, @Nullable String methodName) throws Exception { assertEquals(expected, getResponse(methodName).getResult()); } /**
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Apr 26 20:07:17 GMT 2023 - 10.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java
assertFalse(future.isCancelled()); ExecutorService executor = Executors.newSingleThreadExecutor(); try { Future<Boolean> getResult = executor.submit(() -> future.get()); // Release the future value. latch.countDown(); assertTrue(getResult.get(10, SECONDS)); } finally { executor.shutdownNow(); } assertTrue(future.isDone()); assertFalse(future.isCancelled());
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 18:30:30 GMT 2023 - 6K bytes - Viewed (0)