felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Jencks (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (FELIX-3558) [DS] make it easier to debug tests by cribbing code from ScrService to print out DS state
Date Sun, 10 Feb 2013 07:55:12 GMT

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

David Jencks resolved FELIX-3558.
---------------------------------

    Resolution: Fixed
    
> [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

Mime
View raw message