Update of /cvsroot/popfile/engine/tests
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23448/tests
Modified Files:
TestConfiguration.tst
Log Message:
Change Log
1. New options in cloning user
UI/HTML.pm
Classifier/Bayes.pm
skins/default/users-page.thtml
languages/English.msg
languages/Nihongo.msg
Following two options are added:
1. Copy user's magnets
2. Copy user's corpus
If these options are choosed, the magnets or corpus data of the
cloned user will be copied to the new user.
2. The language cache is now updated correctly
UI/HTML.pm
3. Admin's language setting is copied to the global language setting
in the single user mode
UI/HTML.pm
4. A new module 'POPFile::Random'
A new option 'GLOBAL_random_module'
A new function 'random_()'
POPFile/Random.pm
POPFile/Configuration.pm
POPFile/Module.pm
Classifier/Bayes.pm
UI/HTML.pm
UI/HTTP.pm
tests/TestConfiguration.tst
The new module 'POPFile::Random' is used for generating random strings.
The new option 'GLOBAL_random_module' is used for specifying which
module to be used in the POPFile::Random module.
The new function 'random_()' is used for accessing the POPFile::Random
module.
5. jump_to_message now works even if the UI is protected with a password
UI/HTML.pm
6. The log files cannot be accessed from non admin users
UI/HTML.pm
7. The log files won't be cached by the web browsers
UI/HTTP.pm
8. The password input box is automatically selected in the single user mode
skins/default/password-page.thtml
9. Fixed some typos
skins/default/pop3-chain-panel.thtml
languages/English.msg
languages/Nihongo.msg
Current state of the test suite:
TestBayesScript PASS
TestBayes PASS
TestConfiguration PASS *
TestHistory PASS *
TestHTML PASS *
TestHTTP PASS
TestIMAP fail
TestInsertScript PASS *
TestLogger PASS
TestMailParse PASS
TestModule PASS
TestMQ PASS
TestMutex PASS
TestPipeScript PASS
TestPOP3 PASS
TestProxy PASS
TestWordMangle PASS
TestXMLRPC PASS (but child process does not terminate)
* : needs to add tests for multi user support
TODO
1. multi user mode tests are needed
tests/TestConfiguration.tst
tests/TestHistory.tst
tests/TestHTML.tst
tests/TestInsertScript.tst
Index: TestConfiguration.tst
===================================================================
RCS file: /cvsroot/popfile/engine/tests/TestConfiguration.tst,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -d -r1.24 -r1.25
*** TestConfiguration.tst 9 Apr 2008 17:20:48 -0000 1.24
--- TestConfiguration.tst 13 Apr 2008 03:08:09 -0000 1.25
***************
*** 131,134 ****
--- 131,136 ----
test_assert_regexp( $line, 'GLOBAL_msgdir messages/' );
$line = <FILE>;
+ test_assert_regexp( $line, 'GLOBAL_random_module Crypt::OpenSSL::Random' );
+ $line = <FILE>;
test_assert_regexp( $line, 'GLOBAL_single_user 1' );
$line = <FILE>;
|