Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-2049

Remove private void checkMarshallingUsingDsl method

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 7.3.0.Final
    • DSLs Editor
    • NEW
    • NEW

      The testclass 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.

      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);
              }
          }
      

            rh-ee-jomarko Jozef Marko
            rh-ee-jomarko Jozef Marko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: