1
0
Fork 0
mirror of https://github.com/yweber/lodel2.git synced 2025-10-30 11:09:03 +01:00
Commit graph

158 commits

Author SHA1 Message Date
Quentin Bonaventure
02cc999816 Licensing follow up 2017-05-04 08:52:13 +02:00
Quentin Bonaventure
ec1e531aa2 Most of licence headers + LICENCE.md 2017-05-04 08:42:40 +02:00
prieto
cdd13d9b4b Delete is_exist 2017-03-23 15:35:10 +01:00
Yann
bf1ed9ff1a Bugfix on settings_loader default values solves #308 2017-02-22 17:09:16 +01:00
prieto
08ad11624d Class Validator replaces SettingValidator 2017-02-17 09:27:42 +01:00
Quentin Bonaventure
c4289764ec Created and added varcharlist DH to lodelsites EM 2017-02-01 17:05:47 +01:00
Yann
d89203665b Updated tests on Plugin class
The Plugin class and discover steps were updated. Some test are deleted
because they were obsolete (discover method do not take any argument
anymore)
2017-01-27 16:30:07 +01:00
Yann
278d10bf43 Written some tests for PluginVersion 2017-01-11 14:44:05 +01:00
prieto
f612e62fbc Tests enhancements 2017-01-11 09:57:14 +01:00
Quentin Bonaventure
c880c99316 Tests for Boolean and Plugin 2017-01-06 12:17:40 +01:00
Quentin Bonaventure
ff5c13929a Proposed change for test_text.py 2017-01-02 10:26:25 +01:00
Quentin Bonaventure
bf4540c1b1 Cleaned tests 2016-12-29 14:01:21 +01:00
Quentin Bonaventure
a9e90b7368 Proposed rewrite of test_regex
Here is a rewritten test suite for Regex DataHandler. This rewrite aims
at being lighter, more readable, accurate.
2016-12-29 13:49:19 +01:00
Quentin Bonaventure
ef60a76d68 ConcatTestCase rewrite
The previous test was testing FormatString.construct_data which is
irrelevant to this test case. Thus, I rewrote it to test what Concat
does : format a format_string to initialize FormatString with.
2016-12-26 15:18:16 +01:00
Quentin Bonaventure
dd8dde4395 Removed useless assertions 2016-12-26 14:50:48 +01:00
Quentin Bonaventure
18697e19bb Proposed changes for FormatString tests 2016-12-23 14:53:36 +01:00
Quentin Bonaventure
5565ce72f0 Added LeObjectIdentifier and UniqId tests 2016-12-23 14:52:03 +01:00
Quentin Bonaventure
71391618c7 Added password test 2016-12-23 14:48:32 +01:00
Yann
2be79e50f0 Changes & bugfix in lodel.plugin.plugins
There were manual import through importlib, we have to replace them with LodelContext calls.
Actually the plugins module is in a dirty state....
2016-11-18 08:52:47 +01:00
Yann
ea8bb4f6d1 em_test updates 2016-09-30 17:26:30 +02:00
m.orban
06609ca238 Added tests for MultiRef datahandler and modified _check_data_value raise exception 2016-09-08 13:57:08 +02:00
m.orban
c270977e4e Added test for multiple references 2016-09-08 09:27:55 +02:00
m.orban
41aa0ace6f Added new tests for reference 2016-09-08 09:27:55 +02:00
Yann
e2234c5768 Add tests on SettingValidator class for major methods
solves #58
2016-09-07 16:36:34 +02:00
m.orban
437c41fd49 Modified and added test for regex datahandler 2016-09-07 15:08:56 +02:00
m.orban
08f07d45a8 Modified and added test for varchar. Modified strict test for datahandler integer 2016-09-07 14:40:39 +02:00
m.orban
a6cc69294a Modified test for datetime datahandler 2016-09-07 14:11:11 +02:00
m.orban
f9d41368ab Modified and added test unit for integer datahandler 2016-09-07 14:11:11 +02:00
m.orban
c7c0952ffb checked_data_value passed test for datahandler class and derived class 2016-09-02 15:33:25 +02:00
Yann
8316ab82ff Configure autotools for distributing lodel2
IMPORTANT : tests are broken. See details below

A new lodel/buildconf.py.ini file created. It will be transformed to a lodel/buildconf.py file by ./configure .
This file goal is to store build time constant (for the moment the presence of pymongo).
You have to build lodel2 before being able to run the tests.
2016-08-30 14:01:25 +02:00
Yann
9cf1cc6884 Add a test on hooks priority 2016-08-29 15:07:51 +02:00
Yann
196d959188 Writing tests on hooks 2016-08-29 14:50:44 +02:00
Yann
9b27bd1911 Add a file to execute tests on plugins + rewrite the tests
- now runtest runs also make refresh_plugins in the test instance
2016-08-29 14:19:02 +02:00
Yann
20c1627bda Commenting & bufixing in datahandlers & queries 2016-08-26 11:35:13 +02:00
Roland Haroutiounian
51feb0654c Added a test for a missing name in the from_name method's tests (for the DataHandler class) 2016-08-24 15:06:54 +02:00
Roland Haroutiounian
b7ae2c465d Added a from_name method's test for the DataHandler class 2016-08-24 14:49:49 +02:00
Roland Haroutiounian
909b9478e3 Added tests for the datahandler abstract class 2016-08-24 14:05:48 +02:00
Roland Haroutiounian
5f7b80682d Added a test module for the Datahandler base class 2016-08-24 11:58:18 +02:00
Yann
585cc61dff Quick & dirty interfacePlugin implementation + small import bugfixes
Import bugfixes in settings validator. Hooks must be imported in validatore definition to avoid circular import failure
2016-08-24 10:13:36 +02:00
Roland Haroutiounian
52564ee6db Added tests for datetime and file datahandlers, with corresponding checks in the corresponding classes 2016-08-19 16:57:31 +02:00
Yann
76e386e321 Implements SessionHandlerPlugin ExtensionsPlugin + settings preload
Implements both Plugin child classes handling extensions and session handling.
Modified the settings plugin preload piece of code. It is now adapted to the new plugins organisation.
Each Plugin child classes provides a confspec indicating where the plugin list is stored in configuration.
2016-08-19 16:22:59 +02:00
Roland Haroutiounian
f5208caf44 Added construct data test case for the Concat Datahandler 2016-08-19 11:57:12 +02:00
Roland Haroutiounian
49e893aa37 Added two unit tests for the format string datahandler + fix on a slicing end value 2016-08-19 11:48:48 +02:00
Roland Haroutiounian
6f95cbb518 Changed the check data test for the Boolean datahandler 2016-08-19 10:06:33 +02:00
Roland Haroutiounian
e9174bb847 Changed the used method for the check_data tests (using now the public one instead of the protected) 2016-08-19 09:05:08 +02:00
Roland Haroutiounian
46173c1dc9 Added unit test for the check data of the Text DataHandler 2016-08-18 16:39:33 +02:00
Roland Haroutiounian
d14a7377a2 Added some unit tests for the can_override and check_data_value methods of the Varchar Datahandler 2016-08-18 14:13:31 +02:00
Roland Haroutiounian
5e171fa067 Deleted two debug outputs 2016-08-18 12:12:45 +02:00
Roland Haroutiounian
0a6c5c96bd Added unit tests for the Integer Datahandler 2016-08-18 12:08:01 +02:00
Roland Haroutiounian
83a7b53808 Added a test for the can_override method of the Boolean Datahandler 2016-08-18 11:07:20 +02:00