Yann Weber
c126922ecd
Cleaning EmType.superiors() comments and variable name
9 年之前
ArnAud
5fb9c8b7b6
EmComponent: get_max_rank() should return an int
9 年之前
Yann Weber
661f7f24ea
Merge branch 'new_me'
9 年之前
Yann Weber
e530211a1e
Comments update
9 年之前
Yann Weber
0901c29a33
Bugfix on EmComponent.check()
9 年之前
Yann Weber
9d77bb6a52
Rewrite tests for EmComponent and Model
9 年之前
Yann Weber
d2f6509397
Checking type of model argument (without importing Model)
The check is done on the __class__.__name__ attr of model argument (maybe not a good solution ?)
9 年之前
Roland Haroutiounian
1b3565d890
[Tests EmComponent] Added the support of MlString in check_equals
9 年之前
Roland Haroutiounian
fd87cd8619
[Tests EmComponent] Started the implementation of the create process
9 年之前
Roland Haroutiounian
8e12772546
[Tests - EmComponent] Added the reimplementation of the tests for the save method
It should be adjusted once the save method is implemented
9 年之前
Roland Haroutiounian
79b0369007
[Tests EmComponent]
9 年之前
Roland Haroutiounian
ee9a082f42
[Tests - EmComponent] Tests on the init process
9 年之前
Roland Haroutiounian
615e0e8f86
[Tests - EmFieldGroup] Cleaned old and useless comments in the code
9 年之前
Roland Haroutiounian
a9cbd03e17
[Tests - EmFieldGroup] Rewrote the tests for the fields() method of the class
9 年之前
Driky
ac6f791508
Réimplémentation du test TestEmClassCreation
9 年之前
Roland Haroutiounian
e4038f4f3a
[Tests on EmFieldgroup] Added the creation process tests for this class
9 年之前
Roland Haroutiounian
f1d819c254
[EmFieldGroup] Changed the assertions for the init tests with bad arguments
9 年之前
Roland Haroutiounian
03113ae8bf
Changes in the tests for the fieldgroups
9 年之前
Driky
cee5b53445
Correction syntax sur la nouvelle méthode d'ouverture du fichier json
9 年之前
Driky
b94f867764
Correction du warning sur la non fermeture du fichier json du quel est chargé le ME
9 年之前
Roland Haroutiounian
91e12a9df3
Merge branch 'new_me_tests' into new_me
9 年之前
Roland Haroutiounian
ba2ac6880c
[Tests] Changed the tests for the EmField class using the new Model object
9 年之前
Roland Haroutiounian
113deb302d
[EmComponent] added a test to not take uids into account in the hash computation process
9 年之前
Roland Haroutiounian
bf5704d361
[Model] pep8+pylint
9 年之前
Roland Haroutiounian
8b2bd59daf
[EmField] pep8+pylint
9 年之前
Roland Haroutiounian
efcd7448d2
[EmFieldGroup] pep8+pylint
9 年之前
Roland Haroutiounian
33d163db8f
[Exceptions] pep8+pylint on exceptions.py
9 年之前
Roland Haroutiounian
ccf36dfe8b
[EditorialModel - classes] pep8+pylint on classes.py
9 年之前
Roland Haroutiounian
ab51b27b78
[migration handler] pylint+pep8 on migrationhandler/dummy.py
9 年之前
Roland Haroutiounian
53c3f1f687
[json_backend] pylint+pep8 on json_backend.py
9 年之前
Yann Weber
6aa32322a0
SHA512 hash for Model
9 年之前
Roland Haroutiounian
0bf24b6c48
[#45 ] Changed the return of the hash methods, we get integer instead of string
9 年之前
ArnAud
674f72559d
EmType : implement superiors()
9 年之前
Yann Weber
4dfb751bb3
Removing a debug print
9 年之前
Yann Weber
084b8af6c1
MigrationHandler enhancement (now records Model's hash for each changes). Better beaviour of Model.create_component if MigrationHandler raises
9 年之前
Roland Haroutiounian
873edf19a6
[#45 ] Reimplemented the __eq__ method of the Model class so that it uses the newly defined __hash__ method
9 年之前
Roland Haroutiounian
8a6fdd4c6a
[#45 ] Added the __hash__ method implementation for the Model class
9 年之前
ArnAud
34fdd8d8b3
EmType: implement select and unselect _field
9 年之前
Roland Haroutiounian
c916801c99
[#45 ] Changed the __hash__ implementation of the EmComponent class
9 年之前
Yann Weber
ed9133016f
Fixing component deletion
9 年之前
Yann Weber
fe9184f608
Reimplementig EmComponent::__setattr__ to call migration handler
Addding a method to indicate the end of a component initialisation phase (used in Model.load and Model.create_component)
Adding a method that dump component attributes (used in Model.create_component and Model.delete_component to call the migration_handler)
9 年之前
ArnAud
c28511bc3a
EmType: check the nature of the subordinates
9 年之前
Yann Weber
195cca24a4
Implementing check methods for each EmComponent child (and EmComponent)
No extended checks was done. Only tested if the check passes without syntax error and without failing with no reason
9 年之前
ArnAud
886cee22df
EmType : subordinates_list and fields_list
9 年之前
Yann Weber
99ee79b894
Removed the class attribute _fields from EmClass
9 年之前
Roland Haroutiounian
30bbd91f2c
[EmClass] pep8+pylint
9 年之前
Roland Haroutiounian
7e35eeedb7
[EmField] pep8+pylint
9 年之前
Roland Haroutiounian
3b12b84c9d
[EmFieldGroup] pep8+pylint
9 年之前
Yann Weber
405dd318dd
Added type check in EmComponent and childs class type check. Added some cast functions to Backend
9 年之前
Yann Weber
d6af3aaf46
Fixing EmFieldGroup (replacing self._fields access by direct attribute access)
9 年之前