Skip to content
This repository was archived by the owner on Dec 5, 2019. It is now read-only.

Commit f9c8cc6

Browse files
committed
changed to use test framework
1 parent 1b43d9d commit f9c8cc6

15 files changed

+167
-3526
lines changed

README.md

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Promise.all([agCrypto.deriveKey('my password'), agCrypto.getRandomValue()])
4242
function (error) {
4343
console.log('error ' + error);
4444
});
45-
45+
4646
// or with regular callbacks
4747

4848
agCrypto.deriveKey('my password', null, {
@@ -119,12 +119,28 @@ cd platforms/ios
119119
pod install
120120
```
121121

122-
### Android
122+
### Android
123123

124124
```shell
125125
cordova platform add android
126126
```
127127

128+
## Run tests
129+
130+
1. Use your existing cordova app, or create a new one.
131+
1. Add the plugin and the tests:
132+
133+
```bash
134+
cordova plugin add https://github.com/aerogear/aerogear-cordova-push.git
135+
cordova plugin add https://github.com/aerogear/aerogear-cordova-push.git#:/tests
136+
```
137+
138+
1. Add this plugin:
139+
```bash
140+
cordova plugin add http://git-wip-us.apache.org/repos/asf/cordova-plugin-test-framework.git
141+
```
142+
1. Change the start page in `config.xml` with `<content src="cdvtests/index.html" />` or navigate to cdvtests/index.html from within your app.
143+
128144
## Documentation
129145

130146
For more details about the current release, please consult [our documentation](https://aerogear.org/docs/specs/aerogear-cordova/).

tests/html/HtmlReporter.js

Lines changed: 0 additions & 101 deletions
This file was deleted.

tests/html/HtmlReporterHelpers.js

Lines changed: 0 additions & 60 deletions
This file was deleted.

tests/html/ReporterView.js

Lines changed: 0 additions & 164 deletions
This file was deleted.

0 commit comments

Comments
 (0)