Hello,
I'm using Smartgwt EE/Pro eval 3.0 and I'm trying to check if it is possible to write good integration or mock tests of server side smartgwt datasources.
I've read "StandaloneDataSourceUsage" documentation but I really don't know how to configure paths in server.properties file.
When I try to load datasource from my test code:
I'm getting and error:
Where can I find good example of integration (or unit) test of DS?
I'm using Smartgwt EE/Pro eval 3.0 and I'm trying to check if it is possible to write good integration or mock tests of server side smartgwt datasources.
I've read "StandaloneDataSourceUsage" documentation but I really don't know how to configure paths in server.properties file.
When I try to load datasource from my test code:
Code:
DataSource ds = DataSourceManager.get("id_of_DS"); List records = ds.fetch(new Criteria()); Assert.assertNotNull(records);
Code:
Problem loading builtinTypes.xml Exception when loading from /isomorphic/system/schema/builtinTypes.xml: java.io.FileNotFoundException: /isomorphic/system/schema/builtinTypes.xml (No such file or directory)
Comment