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....
8 years ago
Yann Weber
ea8bb4f6d1
em_test updates
8 years ago
m.orban
06609ca238
Added tests for MultiRef datahandler and modified _check_data_value raise exception
8 years ago
m.orban
c270977e4e
Added test for multiple references
8 years ago
m.orban
41aa0ace6f
Added new tests for reference
8 years ago
Yann Weber
e2234c5768
Add tests on SettingValidator class for major methods
solves #58
8 years ago
m.orban
437c41fd49
Modified and added test for regex datahandler
8 years ago
m.orban
08f07d45a8
Modified and added test for varchar. Modified strict test for datahandler integer
8 years ago
m.orban
a6cc69294a
Modified test for datetime datahandler
8 years ago
m.orban
f9d41368ab
Modified and added test unit for integer datahandler
8 years ago
m.orban
c7c0952ffb
checked_data_value passed test for datahandler class and derived class
8 years ago
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.
8 years ago
Yann Weber
9cf1cc6884
Add a test on hooks priority
8 years ago
Yann Weber
196d959188
Writing tests on hooks
8 years ago
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
8 years ago
Yann Weber
20c1627bda
Commenting & bufixing in datahandlers & queries
8 years ago
Roland Haroutiounian
51feb0654c
Added a test for a missing name in the from_name method's tests (for the DataHandler class)
8 years ago
Roland Haroutiounian
b7ae2c465d
Added a from_name method's test for the DataHandler class
8 years ago
Roland Haroutiounian
909b9478e3
Added tests for the datahandler abstract class
8 years ago
Roland Haroutiounian
5f7b80682d
Added a test module for the Datahandler base class
8 years ago
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
8 years ago
Roland Haroutiounian
52564ee6db
Added tests for datetime and file datahandlers, with corresponding checks in the corresponding classes
8 years ago
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.
8 years ago
Roland Haroutiounian
f5208caf44
Added construct data test case for the Concat Datahandler
8 years ago
Roland Haroutiounian
49e893aa37
Added two unit tests for the format string datahandler + fix on a slicing end value
8 years ago
Roland Haroutiounian
6f95cbb518
Changed the check data test for the Boolean datahandler
8 years ago
Roland Haroutiounian
e9174bb847
Changed the used method for the check_data tests (using now the public one instead of the protected)
8 years ago
Roland Haroutiounian
46173c1dc9
Added unit test for the check data of the Text DataHandler
8 years ago
Roland Haroutiounian
d14a7377a2
Added some unit tests for the can_override and check_data_value methods of the Varchar Datahandler
8 years ago
Roland Haroutiounian
5e171fa067
Deleted two debug outputs
8 years ago
Roland Haroutiounian
0a6c5c96bd
Added unit tests for the Integer Datahandler
8 years ago
Roland Haroutiounian
83a7b53808
Added a test for the can_override method of the Boolean Datahandler
8 years ago
Roland Haroutiounian
ae3335deb8
Added a test for the check data functionnality of the Boolean datahandler
8 years ago
Roland Haroutiounian
358c92c7a8
Added a test for the Regex DataHandler's can_override method
8 years ago
Roland Haroutiounian
7850e6c2be
Added the test_regex module under version control
8 years ago
Yann Weber
0aec7f6ca8
Bugfixe in leobject
Deleted hardcoded condition that brokes standart field validation process
8 years ago
Yann Weber
52c60a9f63
Bugfixes in XmlFile translator & in base_classes datahandlers
8 years ago
Yann Weber
25a231702e
Changed confspec to include Auth specs + em_test modifications
8 years ago
Yann Weber
dd2f93faea
A lot of small bugfixes
8 years ago
Yann Weber
703b4adf7e
MongoDB datasource debugging + field_list handling changes in leobject -> query -> datasource chain
8 years ago
Yann Weber
557d277186
Multiple bugfixes + create_instance.sh script update
- Add an update feature to create_instance.sh script
- Updated webui plugin load instruction (running loader.start() in run)
- Updated the way EmCmponents handles EmGroup
- Updated the way EmFields handles EmClass
- Updated xmlfile translator according to EmComponent modification
8 years ago
Yann Weber
69f59baa2c
Bugfix on group activation (in EmClasses all fields were always actives)
8 years ago
Yann Weber
ae8d8c05a6
Bugfix on EM groups handling (now we have to set actives groups in settings)
8 years ago
Yann Weber
8ca3b20c0b
Updated tests
8 years ago
Yann Weber
ece5029d66
em_test update + bugfix in tests
8 years ago
Yann Weber
d54ef17061
Unskipping and debuging a test
8 years ago
Yann Weber
5ba8fd8e7f
em_test update + DataHandler bugfix & enhancement
8 years ago
prieto
d24b7a92d6
Comments for doxygene
8 years ago
Yann Weber
d12d1e2865
Bugfixes in query.py and leobject.py + more test on Query <-> Datasource relations
8 years ago
Roland Haroutiounian
2e13ab78bc
Changed the mongodb migration handler name to a more generic one
8 years ago