David Jencks created FELIX-3558:
-----------------------------------

             Summary: [DS] make it easier to debug tests by cribbing code from 
ScrService to print out DS state
                 Key: FELIX-3558
                 URL: https://issues.apache.org/jira/browse/FELIX-3558
             Project: Felix
          Issue Type: Improvement
          Components: Declarative Services (SCR)
    Affects Versions:  scr-1.6.0
            Reporter: David Jencks
            Priority: Minor
             Fix For: scr-1.8.0
         Attachments: FELIX-3558.diff

I've found the attached patch quite useful when trying to figure out what I 
broke in DS :-).  Whenever you want to see the actual component states in your 
test you just insert an info(System.out) line in your test and the state gets 
printed.  Any objection to including this?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to