Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
JBRULES-2438 - BUGZILLA: Test case to prove that multiple sheets are …
…possible (still TODO: it should fail gracefully if multiple sheets use the same RuleTable name)
- Loading branch information
Showing
3 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+23.5 KB
drools-decisiontables/src/test/resources/org/drools/decisiontable/multipleSheets.xls
Binary file not shown.
13 changes: 13 additions & 0 deletions
13
...ls-decisiontables/src/test/resources/org/drools/decisiontable/multipleSheetsChangeSet.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<change-set xmlns='http://drools.org/drools-5.0/change-set' | ||
xmlns:xs='http://www.w3.org/2001/XMLSchema-instance' | ||
xs:schemaLocation='http://drools.org/drools-5.0/change-set http://anonsvn.jboss.org/repos/labs/labs/jbossrules/trunk/drools-api/src/main/resources/change-set-1.0.0.xsd' > | ||
|
||
<add> | ||
<resource source="classpath:org/drools/decisiontable/multipleSheets.xls" type="DTABLE"> | ||
<decisiontable-conf input-type="XLS" worksheet-name="Sheet1" /> | ||
</resource> | ||
<resource source="classpath:org/drools/decisiontable/multipleSheets.xls" type="DTABLE"> | ||
<decisiontable-conf input-type="XLS" worksheet-name="Sheet2" /> | ||
</resource> | ||
</add> | ||
</change-set> |