Minor changes in the test system; XmlUnmarshaller can unmarshall XML content from a string, file handler of file path; any Appy object now has a method 'getField(name)' that returns a given field (=Appy type); bugfix while counting number of tests found in a gen-application.

This commit is contained in:
Gaetan Delannay 2011-02-17 18:13:42 +01:00
parent 2c6392aa92
commit a8366379dd
5 changed files with 23 additions and 8 deletions

View file

@ -94,6 +94,8 @@ class AbstractWrapper:
def get_fields(self): return self.o.getAllAppyTypes()
fields = property(get_fields)
def getField(self, name): return self.o.getAppyType(name)
def link(self, fieldName, obj):
'''This method links p_obj (which can be a list of objects) to this one
through reference field p_fieldName.'''