Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PLANNER-533 Reproducing tests for getKieSessionModel(null) problems
- Loading branch information
Showing
6 changed files
with
82 additions
and
35 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
7 changes: 7 additions & 0 deletions
7
...src/test/resources/org/optaplanner/core/api/solver/kieContainerDefaultKsessionKmodule.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,7 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<kmodule xmlns="http://www.drools.org/xsd/kmodule"> | ||
<!-- This file is copy pasted to the META-INF director in the KieContainer tests to avoid false positive tests --> | ||
<kbase packages="testdata.kjar"> | ||
<ksession name="testdataKsession" default="true"/> | ||
</kbase> | ||
</kmodule> |
11 changes: 11 additions & 0 deletions
11
...urces/org/optaplanner/core/api/solver/kieContainerDefaultKsessionTestdataSolverConfig.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,11 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- This file is copy pasted to another package in the KieContainer test to avoid false positive tests --> | ||
<solver> | ||
<solutionClass>testdata.kjar.ClassloadedTestdataSolution</solutionClass> | ||
<entityClass>testdata.kjar.ClassloadedTestdataEntity</entityClass> | ||
|
||
<!-- Score configuration --> | ||
<scoreDirectorFactory> | ||
<scoreDefinitionType>SIMPLE</scoreDefinitionType> | ||
</scoreDirectorFactory> | ||
</solver> |
4 changes: 4 additions & 0 deletions
4
...nner-core/src/test/resources/org/optaplanner/core/api/solver/kieContainerEmptyKmodule.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,4 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<kmodule xmlns="http://www.drools.org/xsd/kmodule"> | ||
<!-- This file is copy pasted to the META-INF director in the KieContainer tests to avoid false positive tests --> | ||
</kmodule> |
File renamed without changes.
File renamed without changes.