From df0eaf622a548bad7df820093bb163890b39078b Mon Sep 17 00:00:00 2001 From: lilia Date: Wed, 29 Oct 2014 13:46:09 -0700 Subject: [PATCH] Clean up test files Moved all test code into /test. Renamed test.js to crypto_test.js. (Let's try to keep test files topical.) Merged test_views.html and test.html into a single test/index.html. Todo: use Grunt to generate test/index.html from index.html and files found in /test. Also, write more tests. --- test.html | 65 ---------------------------- js/test.js => test/crypto_test.js | 0 {js => test}/fake_api.js | 0 test/{test_views.html => index.html} | 60 ++++++++++++++----------- {js => test}/testvectors.js | 0 5 files changed, 35 insertions(+), 90 deletions(-) delete mode 100644 test.html rename js/test.js => test/crypto_test.js (100%) rename {js => test}/fake_api.js (100%) rename test/{test_views.html => index.html} (80%) rename {js => test}/testvectors.js (100%) diff --git a/test.html b/test.html deleted file mode 100644 index 84096ddc..00000000 --- a/test.html +++ /dev/null @@ -1,65 +0,0 @@ - - - - - - TextSecure test runner - - - -

Run this out of the chrome-plugin:// namespace (and expect plugin state to be cleared/corrupted), not file://

- -
-
- -
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/js/test.js b/test/crypto_test.js similarity index 100% rename from js/test.js rename to test/crypto_test.js diff --git a/js/fake_api.js b/test/fake_api.js similarity index 100% rename from js/fake_api.js rename to test/fake_api.js diff --git a/test/test_views.html b/test/index.html similarity index 80% rename from test/test_views.html rename to test/index.html index 1bb3ab53..5599cfff 100644 --- a/test/test_views.html +++ b/test/index.html @@ -16,9 +16,11 @@ TextSecure test runner - + +

Run this out of the chrome-plugin:// namespace (and expect plugin state to be cleared/corrupted), not file://

+
@@ -26,17 +28,15 @@
- - - - + + + + @@ -126,19 +136,20 @@ - + + + - + - + - + @@ -150,13 +161,12 @@ + + + - - - - diff --git a/js/testvectors.js b/test/testvectors.js similarity index 100% rename from js/testvectors.js rename to test/testvectors.js