aboutsummaryrefslogtreecommitdiffstats
path: root/lang/js/BrowserTestExtension/browsertest.html
diff options
context:
space:
mode:
authorMaximilian Krambach <[email protected]>2018-05-03 16:03:22 +0000
committerMaximilian Krambach <[email protected]>2018-05-03 16:03:22 +0000
commitc755287ba845c4cbbf1d50e5aafecb2e687c7ac9 (patch)
tree6b174738ce28aef4bdc29be8afa9e87db9fcaa69 /lang/js/BrowserTestExtension/browsertest.html
parentjs: changed Key class stub (diff)
downloadgpgme-c755287ba845c4cbbf1d50e5aafecb2e687c7ac9.tar.gz
gpgme-c755287ba845c4cbbf1d50e5aafecb2e687c7ac9.zip
js: Added browser testing for unit tests
-- * Added unittests to be run inside a Browser. To be able to access the non-exposed functions and classes, a testing bundle will be created, containing the tests (unittests.js) and the items to be tested. * src/Helpelpers, src/Key, src/Keyring: fixed some errors found during testing.
Diffstat (limited to 'lang/js/BrowserTestExtension/browsertest.html')
-rw-r--r--lang/js/BrowserTestExtension/browsertest.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/lang/js/BrowserTestExtension/browsertest.html b/lang/js/BrowserTestExtension/browsertest.html
index d2c6396f..ce037a11 100644
--- a/lang/js/BrowserTestExtension/browsertest.html
+++ b/lang/js/BrowserTestExtension/browsertest.html
@@ -14,9 +14,11 @@
<script src="libs/gpgmejs.bundle.js"></script>
<script src="tests/inputvalues.js"></script>
+ <script src="libs/gpgmejs_unittests.bundle.js"></script>
<!-- insert tests here-->
<script src="tests/startup.js"></script>
<script src="tests/encryptTest.js"></script>
+
<!-- run tests -->
<script src="runbrowsertest.js"></script>
</body>