PrivateBin/tst
El RIDO 49c6e3c1b6 updated base64.js to version 2.1.9, using minified version found at
9192c510f5/base64.min.js
kudos Dan Kogai

small improvements to input checking
implementing default values for most configuration options
switching to versioned JS files to avoid version hack used in template
2015-08-16 12:27:06 +02:00
..
zerobin reviewed unit tests, fixing line endings, added more tests 2015-08-15 18:32:31 +02:00
auto.php reviewed unit tests, fixing line endings, added more tests 2015-08-15 18:32:31 +02:00
bootstrap.php removed leftovers from submodule uglifyjs, added credits file, 2012-08-26 00:49:11 +02:00
filter.php Time attack protection on hmac comparison 2015-08-15 23:44:03 +02:00
mcrypt_mock.php Time attack protection on hmac comparison 2015-08-15 23:44:03 +02:00
phpunit.xml Time attack protection on hmac comparison 2015-08-15 23:44:03 +02:00
RainTPL.php updated base64.js to version 2.1.9, using minified version found at 2015-08-16 12:27:06 +02:00
README.md removed leftovers from submodule uglifyjs, added credits file, 2012-08-26 00:49:11 +02:00
sjcl.php reviewed unit tests, fixing line endings, added more tests 2015-08-15 18:32:31 +02:00
trafficlimiter.php reviewed unit tests, fixing line endings, added more tests 2015-08-15 18:32:31 +02:00
vizhash16x16.php Time attack protection on hmac comparison 2015-08-15 23:44:03 +02:00

Running unit tests

In order to run these tests, you will need to install the following packages and its dependencies:

  • phpunit
  • php5-gd
  • php5-sqlite
  • php5-xdebug

Example for Debian and Ubuntu: $ sudo aptitude install phpunit php5-mysql php5-xdebug

To run the tests, just change into this directory and run phpunit: $ cd ZeroBin/tst $ phpunit