The purpose of this repository is to provide a set of usage examples for AMF and AML functions. The examples are incremental, from simple to more complex.
To run the Java examples you must build the project with gradle and then run the unit tests:
./gradlew :AMF4:clean build
./gradlew :AMF4:test
You can also run a specific file. For example, you can run only the parsing examples:
./gradlew :AMF4:test --tests "ParsingTest"
To run the Javascript you need to go to the AMF4 folder, build the project with npm and run the unit tests with jest, it can all be done running the following command on the root folder:
npm run test-amf4
You can also run a specific file. For example, you can run only the parsing examples:
jest parsing.test.js
To run the Java examples you must build the project with gradle and then run the unit tests:
./gradlew :AMF5:clean build
./gradlew :AMF5:test
To run the Scala examples you must build the project with gradle and then run the scalatest unit tests:
./gradlew :AMF5:clean build
./gradlew :AMF5:scalatest
To run the Javascript you need to go to the AMF5 folder, build the project with npm and run the unit tests, it can all be done running the following command on the root folder:
npm run test-amf5
You can run all AMF 5 tests (Scala, Java and TypeScript) by running the following task:
./gradlew :AMF5:testAll