You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "David Jencks (JIRA)" <ji...@apache.org> on 2013/02/10 08:55:12 UTC

[jira] [Updated] (FELIX-3558) [DS] make it easier to debug tests by cribbing code from ScrService to print out DS state

     [ https://issues.apache.org/jira/browse/FELIX-3558?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Jencks updated FELIX-3558:
--------------------------------

    Fix Version/s:     (was: scr-1.8.0)
                   scr-1.6.2
    
> [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
>            Assignee: David Jencks
>            Priority: Minor
>             Fix For: scr-1.6.2
>
>         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
For more information on JIRA, see: http://www.atlassian.com/software/jira