SLING-12510 - Migrate JavaScript Support Test Cases to JUnit 5 for Sling Mocks Compatibility (#7)

* Migrated test cases to JUnit 5 with associated code clean-ups.
* Ensured proper closure of JCR sessions and EspReader after each test case.
* Removed usage of the deprecated initMocks() method.
* Resolved variable shadowing in object field declarations.
* Replaced four cut-and-paste ExpReader test cases with a single parameterized test.
* Eliminated usage of the deprecated MockResourceResolver.
12 files changed
tree: 9ce24a6ffd21ec6710813887d91370ca9248aa94
  1. src/
  2. .asf.yaml
  3. .gitignore
  4. bnd.bnd
  5. CODE_OF_CONDUCT.md
  6. CONTRIBUTING.md
  7. Jenkinsfile
  8. LICENSE
  9. pom.xml
  10. README.md
README.md

Apache Sling

Build Status Test Status Coverage Sonarcloud Status JavaDoc Maven Central scripting License

Apache Sling Scripting JavaScript Support

This module is part of the Apache Sling project.

Support for JavaScript (Rhino) scripting.