From 5d02383b3d664b09cda8983b742c54376721e6f7 Mon Sep 17 00:00:00 2001 From: volodya-lombrozo Date: Fri, 11 Aug 2023 17:23:44 +0300 Subject: [PATCH] feat(#2375): Add todo for the future test implementation --- .../src/main/java/org/eolang/maven/TranspileMojo.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/eo-maven-plugin/src/main/java/org/eolang/maven/TranspileMojo.java b/eo-maven-plugin/src/main/java/org/eolang/maven/TranspileMojo.java index 3e0e3118a5..7847f13057 100644 --- a/eo-maven-plugin/src/main/java/org/eolang/maven/TranspileMojo.java +++ b/eo-maven-plugin/src/main/java/org/eolang/maven/TranspileMojo.java @@ -259,6 +259,12 @@ private List transpile( * {@link java.nio.file.AccessDeniedException}, which could crash the build. * _____ * @param java The list of java files. + * @todo #2375:90min. Add concurrency tests for the TranspileMojo.cleanUpClasses method. + * We should be sure that the method works correctly in a concurrent environment. + * In order to do so we should add a test that will run the cleanUpClasses method in + * multiple threads and check that the method works correctly without exceptions. + * We can apply the same approach as mentioned in that post: + * Post */ private void cleanUpClasses(final Collection java) { final Set unexpected = java.stream()