You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by cr...@apache.org on 2020/11/30 18:46:47 UTC
[sling-org-apache-sling-junit-core] branch
SLING-9915-Support-for-SlingAnnotationsTestRunner updated (66110b4 ->
b487d1c)
This is an automated email from the ASF dual-hosted git repository.
cris pushed a change to branch SLING-9915-Support-for-SlingAnnotationsTestRunner
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-junit-core.git.
from 66110b4 fixes for sonarcloud code smells
add b6de942 WIP: Started integration tests for @TestReference. Not working.
add 99d8a32 WIP: Fix integration tests
add 263e196 WIP Continued PAX-style test for TestReference annotation
add 4aa41bc WIP continued - fix integration tests setup
add b487d1c Updated README with more detailed instructions for debugging
No new revisions were added by this update.
Summary of changes:
.gitignore | 2 +-
pom.xml | 60 +++++++
src/it/annotations-it/README.md | 39 +++++
src/it/annotations-it/bnd.bnd | 1 +
src/it/annotations-it/invoker.properties | 17 ++
src/it/annotations-it/pom.xml | 193 +++++++++++++++++++++
.../org/apache/sling/junit/it/MyServiceIT.java} | 4 +-
.../sling/junit/it/TestReferenceJITest.java} | 43 +++--
.../junit/it/impl/MyCoolServiceForTestingIT.java} | 8 +-
.../junit/it/impl/MyLameServiceForTestingIT.java} | 8 +-
.../sling/junit/annotations/ReferenceIT.java | 146 ++++++++++++++++
.../annotations-it/src/test/resources/logback.xml | 30 ++++
src/it/settings.xml | 59 +++++++
.../annotations/SlingAnnotationsTestRunner.java | 8 +-
.../sling/junit/impl/AnnotationsProcessor.java | 3 +-
15 files changed, 592 insertions(+), 29 deletions(-)
create mode 100644 src/it/annotations-it/README.md
create mode 100644 src/it/annotations-it/bnd.bnd
create mode 100644 src/it/annotations-it/invoker.properties
create mode 100644 src/it/annotations-it/pom.xml
rename src/{main/java/org/apache/sling/junit/tests/MyService.java => it/annotations-it/src/main/java/org/apache/sling/junit/it/MyServiceIT.java} (93%)
rename src/{main/java/org/apache/sling/junit/tests/TestReferenceJTest.java => it/annotations-it/src/main/java/org/apache/sling/junit/it/TestReferenceJITest.java} (71%)
rename src/{main/java/org/apache/sling/junit/tests/impl/MyCoolServiceForTesting.java => it/annotations-it/src/main/java/org/apache/sling/junit/it/impl/MyCoolServiceForTestingIT.java} (87%)
rename src/{main/java/org/apache/sling/junit/tests/impl/MyLameServiceForTesting.java => it/annotations-it/src/main/java/org/apache/sling/junit/it/impl/MyLameServiceForTestingIT.java} (87%)
create mode 100644 src/it/annotations-it/src/test/java/org/apache/sling/junit/annotations/ReferenceIT.java
create mode 100644 src/it/annotations-it/src/test/resources/logback.xml
create mode 100644 src/it/settings.xml