3 Replies Latest reply on Mar 22, 2012 4:15 AM by jarirajari

    The extending acme subsystem example unit tests fail

    jarirajari Newbie



      I downloaded the example subsystem code from https://docs.jboss.org/author/display/AS7/Example+subsystem


      When I run the unit tests 4 out of 5 available unit tests fail and each of them print out the following message:


      junit.framework.AssertionFailedError: Failed due to validation errors in the model. Please fix :-) VALIDATION ERRORS IN MODEL:Expected operation-name 'add' for operation 'add' @[("subsystem" => "tracker")]

      Expected operation-name 'add' for operation 'add' @[

          ("subsystem" => "tracker"),

          ("type" => "*")



      Is there something wrong with the example? Thanks.