From ebff4cd1c0c3250778fd651854aab43320e5a75c Mon Sep 17 00:00:00 2001 From: Matt Pass Date: Mon, 10 Jun 2013 09:55:46 +0100 Subject: [PATCH] Complete rewrite and now covers 12 tests I've decided not to cover every item in the API as this would be a bug undertaking and it's not necessary to test every part. So I have covered the main functions here and areas where items may go wrong, such as opening, updating (testing CM), saving, manipulating content, altering the structure, tab switching and getting remote content By having only the important items to test, we also keep the test speed runtime as short as possible. --- test/index.php | 248 ++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 215 insertions(+), 33 deletions(-) diff --git a/test/index.php b/test/index.php index ee50106..dcfef3a 100644 --- a/test/index.php +++ b/test/index.php @@ -1,81 +1,251 @@ + + + + +ICEcoder Test Suite + - - +noCreate='FAIL Could not create test file';console.log(noCreate);unitTestResults.innerHTML = noCreate;"); +fwrite($fh, 'initial text'); +fclose($fh); +?> + + + +