@Test public void testWSEStoresRulesParsing() { String ruleFilePath = Constants.WSE_STORES_CONDENSED_RULE_FILE_PATH; ItemMatchRuleset wseStoresRuleset = loadRuleset(ruleFilePath); assertNotNull(wseStoresRuleset); assertFalse(wseStoresRuleset.getRules().isEmpty()); }
/** Tests if the WSE Bowker condensed ruleset is parsed properly. */ @Test public void testWSEBowkerCondensedRulesParsing() { String ruleFilePath = Constants.WSE_BOWKER_CONDENSED_RULE_FILE_PATH; ItemMatchRuleset wseBowkerRuleset = loadRuleset(ruleFilePath); assertNotNull(wseBowkerRuleset); assertFalse(wseBowkerRuleset.getRules().isEmpty()); }
/** Tests if the WSE Bowker ruleset is parsed properly. */ @Test public void testWSECNETExpandedRulesParsing() { String ruleFilePath = Constants.WSE_CNET_RULE_FILE_PATH; ItemMatchRuleset wseCnetRuleset = loadRuleset(ruleFilePath); assertNotNull(wseCnetRuleset); assertFalse(wseCnetRuleset.getRules().isEmpty()); }
/** Tests if the WSE-CNET book ruleset is parsed properly. */ @Test public void testBookExpandedRulesParsing() { String bookRuleFileLoc = Constants.WSE_CNET_BOOK_RULE_FILE_PATH; ItemMatchRuleset bookRuleset = loadRuleset(bookRuleFileLoc); assertNotNull(bookRuleset); assertFalse(bookRuleset.getRules().isEmpty()); }