]
Jozef Marko closed DROOLS-2049.
-------------------------------
Resolution: Won't Do
Won't be done due to changed focus on DMN and ScenarioSImulation assets
Remove private void checkMarshallingUsingDsl method
---------------------------------------------------
Key: DROOLS-2049
URL:
https://issues.jboss.org/browse/DROOLS-2049
Project: Drools
Issue Type: Task
Components: DSLs Editor
Affects Versions: 7.3.0.Final
Reporter: Jozef Marko
Assignee: Jozef Marko
Priority: Major
Labels: drools-tools
The
[
testclass|https://github.com/kiegroup/drools/blob/master/drools-workbench...]
contains methods shown bellow. There is potential error in tests that expect
checkMarshallingUsingDsl will behave differently from checkMarshalling. This
checkMarshallingUsingDsl should be removed and tests which use it should be rewritten.
{code:java}
private void checkMarshalling(String expected,
RuleModel m) {
String drl = ruleModelPersistence.marshal(m);
assertNotNull(drl);
if (expected != null) {
assertEqualsIgnoreWhitespace(expected,
drl);
}
}
private void checkMarshallingUsingDsl(String expected,
RuleModel m) {
String drl = ruleModelPersistence.marshal(m);
assertNotNull(drl);
if (expected != null) {
assertEqualsIgnoreWhitespace(expected,
drl);
}
}
{code}