[jboss-jira] [JBoss JIRA] Updated: (JBRULES-2776) Left and Right Unlinking

Leonardo Gomes (JIRA) jira-events at lists.jboss.org
Mon Nov 8 00:35:01 EST 2010


     [ https://jira.jboss.org/browse/JBRULES-2776?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leonardo Gomes updated JBRULES-2776:
------------------------------------

    Attachment: lr_unlinking_08_NOV.patch


Left and right unlinking seem to be working here with the following limitations:

- Left picked to be unlinked in the beginning;
- Left and Right can be unlinked, but there should always be one side linked;
- No strategy to prevent churn implemented yet;
- 14 test cases still failing (So far, I'm fixing and re-breaking them all the time - everything should be fixed soon :)

Improvements in the Rete testing harness:

- NodeTestSuite fails per test case (it was one generic fail before);
- NodeTestSuite and SingleTestCase report the name of file (for .nodeTestCase) and name of the testcase, instead of the name of the Test (which was different from the name of the file and harder to track);
- When asserting memory fails, a nicer error msg is printed:

junit.framework.AssertionFailedError: line 98: left Memory expected [] actually [h0, h3], [h1, h3], [h2, h3], [h0, h4], [h1, h4], [h2, h4], [h0, h5], [h1, h5], [h2, h5]

Instead of the toString() of InternalFactHandle, which was hard to decrypt.


> Left and Right Unlinking
> ------------------------
>
>                 Key: JBRULES-2776
>                 URL: https://jira.jboss.org/browse/JBRULES-2776
>             Project: Drools
>          Issue Type: Patch
>      Security Level: Public(Everyone can see) 
>          Components: drools-core
>            Reporter: Leonardo Gomes
>            Assignee: Mark Proctor
>            Priority: Optional
>         Attachments: lr_unlinking_08_NOV.patch
>
>
> The implementation of the feature described here: http://blog.athico.com/2010/08/left-and-right-unlinking-community.html
> [NOV/2011]: It's a work in progress and I'm planning to regularly attach patches here, until it's finalized.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list