return gm;
}
public void test_gen_by_operation() throws Exception{
File file = FileHelper.getFileByClassLoader("cn/org/rapid_framework/generator/ext/tableconfig/user_info.xml");
TableConfig t = new TableConfigXmlBuilder().parseFromXML(new FileInputStream(file));
g.addTemplateRootDir("classpath:generator/template/rapid/operation/dal/src/main");
g.addTemplateRootDir("classpath:generator/template/rapid/share/dal");
String content = GeneratorTestHelper.generateBy(g,new Helper().getMapBySql(t, "testIncludeWhere"));
assertContains(content,"java/com/company/project/user_info/operation/userinfo/TestIncludeWhereQuery.java");
assertContains(content, "package com.company.project.user_info.operation.userinfo;");