aboutsummaryrefslogtreecommitdiffstats
path: root/ajde
diff options
context:
space:
mode:
authorAlexander Kriegisch <Alexander@Kriegisch.name>2021-03-20 14:45:51 +0700
committerAlexander Kriegisch <Alexander@Kriegisch.name>2021-03-20 14:45:51 +0700
commit2a2f4e20b413c12a634bb6c3732da4da598bad96 (patch)
tree0aa17e9aed391414d51b13f065975b4d0b4cd5af /ajde
parent0b866816fa45166c8b32859ba4090504d5b1da56 (diff)
downloadaspectj-2a2f4e20b413c12a634bb6c3732da4da598bad96.tar.gz
aspectj-2a2f4e20b413c12a634bb6c3732da4da598bad96.zip
Fix tests not finding project base directory 'org.aspectj'
Several LTW tests using class TestServer failed on my machine because there was a hard-coded project base directory name 'org.aspectj' in the class. This class has several other problems, but my quick fix for now - I did not want to rename my project base directory - was to match on a regex '(?i)(org[.])?aspectj' now. That also works for my root directory 'AspectJ'. I also moved the code determining the project dir into a protected (hence testable) method and added a sanity test case checking if the directory can be determined. If not, the test will fail with a rather lengthy warning to developers about the need to have a matching project root folder. Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
Diffstat (limited to 'ajde')
0 files changed, 0 insertions, 0 deletions