Bharat Mediratta
cbd04e1ae0
Move random::string() to be test::random_string() and have it return a
...
random string of any length. Also introduce test::lorem_ipsum() and
use that in places where we want strings of words. Fixes #1713 .
2011-04-25 23:26:43 -07:00
Bharat Mediratta
423daa52d5
Update copyright to 2011.
2011-01-21 23:01:06 -08:00
Bharat Mediratta
167f635a6c
Add arguments to random::int() to match mt_rand(). Follow on to cd48b89f31
...
for #1527 .
2011-01-16 23:06:19 -08:00
Bharat Mediratta
cd48b89f31
Consolidate all the random code into a random helper that offers:
...
random::hash()
random::string()
random::percent()
random::int()
So that we don't have lots of different ways to get random values all
over the code. Follow-on to #1527 .
2010-12-15 14:57:00 -08:00