prieto
08ad11624d
Class Validator replaces SettingValidator
vor 7 Jahren
Quentin Bonaventure
c4289764ec
Created and added varcharlist DH to lodelsites EM
vor 7 Jahren
Yann Weber
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)
vor 7 Jahren
Yann Weber
278d10bf43
Written some tests for PluginVersion
vor 7 Jahren
prieto
f612e62fbc
Tests enhancements
vor 7 Jahren
Quentin Bonaventure
c880c99316
Tests for Boolean and Plugin
vor 7 Jahren
Quentin Bonaventure
ff5c13929a
Proposed change for test_text.py
vor 7 Jahren
Quentin Bonaventure
bf4540c1b1
Cleaned tests
vor 7 Jahren
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.
vor 7 Jahren
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.
vor 8 Jahren
Quentin Bonaventure
dd8dde4395
Removed useless assertions
vor 8 Jahren
Quentin Bonaventure
18697e19bb
Proposed changes for FormatString tests
vor 8 Jahren
Quentin Bonaventure
5565ce72f0
Added LeObjectIdentifier and UniqId tests
vor 8 Jahren
Quentin Bonaventure
71391618c7
Added password test
vor 8 Jahren
Yann Weber
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....
vor 8 Jahren
Yann Weber
ea8bb4f6d1
em_test updates
vor 8 Jahren
m.orban
06609ca238
Added tests for MultiRef datahandler and modified _check_data_value raise exception
vor 8 Jahren
m.orban
c270977e4e
Added test for multiple references
vor 8 Jahren
m.orban
41aa0ace6f
Added new tests for reference
vor 8 Jahren
Yann Weber
e2234c5768
Add tests on SettingValidator class for major methods
solves #58
vor 8 Jahren
m.orban
437c41fd49
Modified and added test for regex datahandler
vor 8 Jahren
m.orban
08f07d45a8
Modified and added test for varchar. Modified strict test for datahandler integer
vor 8 Jahren
m.orban
a6cc69294a
Modified test for datetime datahandler
vor 8 Jahren
m.orban
f9d41368ab
Modified and added test unit for integer datahandler
vor 8 Jahren
m.orban
c7c0952ffb
checked_data_value passed test for datahandler class and derived class
vor 8 Jahren
Yann Weber
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.
vor 8 Jahren
Yann Weber
9cf1cc6884
Add a test on hooks priority
vor 8 Jahren
Yann Weber
196d959188
Writing tests on hooks
vor 8 Jahren
Yann Weber
9b27bd1911
Add a file to execute tests on plugins + rewrite the tests
- now runtest runs also make refresh_plugins in the test instance
vor 8 Jahren
Yann Weber
20c1627bda
Commenting & bufixing in datahandlers & queries
vor 8 Jahren
Roland Haroutiounian
51feb0654c
Added a test for a missing name in the from_name method's tests (for the DataHandler class)
vor 8 Jahren
Roland Haroutiounian
b7ae2c465d
Added a from_name method's test for the DataHandler class
vor 8 Jahren
Roland Haroutiounian
909b9478e3
Added tests for the datahandler abstract class
vor 8 Jahren
Roland Haroutiounian
5f7b80682d
Added a test module for the Datahandler base class
vor 8 Jahren
Yann Weber
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
vor 8 Jahren
Roland Haroutiounian
52564ee6db
Added tests for datetime and file datahandlers, with corresponding checks in the corresponding classes
vor 8 Jahren
Yann Weber
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.
vor 8 Jahren
Roland Haroutiounian
f5208caf44
Added construct data test case for the Concat Datahandler
vor 8 Jahren
Roland Haroutiounian
49e893aa37
Added two unit tests for the format string datahandler + fix on a slicing end value
vor 8 Jahren
Roland Haroutiounian
6f95cbb518
Changed the check data test for the Boolean datahandler
vor 8 Jahren
Roland Haroutiounian
e9174bb847
Changed the used method for the check_data tests (using now the public one instead of the protected)
vor 8 Jahren
Roland Haroutiounian
46173c1dc9
Added unit test for the check data of the Text DataHandler
vor 8 Jahren
Roland Haroutiounian
d14a7377a2
Added some unit tests for the can_override and check_data_value methods of the Varchar Datahandler
vor 8 Jahren
Roland Haroutiounian
5e171fa067
Deleted two debug outputs
vor 8 Jahren
Roland Haroutiounian
0a6c5c96bd
Added unit tests for the Integer Datahandler
vor 8 Jahren
Roland Haroutiounian
83a7b53808
Added a test for the can_override method of the Boolean Datahandler
vor 8 Jahren
Roland Haroutiounian
ae3335deb8
Added a test for the check data functionnality of the Boolean datahandler
vor 8 Jahren
Roland Haroutiounian
358c92c7a8
Added a test for the Regex DataHandler's can_override method
vor 8 Jahren
Roland Haroutiounian
7850e6c2be
Added the test_regex module under version control
vor 8 Jahren
Yann Weber
0aec7f6ca8
Bugfixe in leobject
Deleted hardcoded condition that brokes standart field validation process
vor 8 Jahren