[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-6953) Disable Usage Reporting in Tests

Andre Dietisheim (JIRA) jira-events at lists.jboss.org
Wed Sep 15 12:52:28 EDT 2010


    [ https://jira.jboss.org/browse/JBIDE-6953?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12551094#action_12551094 ] 

Andre Dietisheim commented on JBIDE-6953:
-----------------------------------------

implemented with identical keys in the 'remote' properties (global kill-switch) on   and in the system properties. The implementation looks for

<snip>
usage_reporting_enabled=[true|false]
</snip>

in the system properites this might be set with a 

<snip>
-Dusage_reporting_enabled=false
</snip>

The local property is checked first and the remote properties are only checked if the local setting is TRUE or inexitant.

> Disable Usage Reporting in Tests
> --------------------------------
>
>                 Key: JBIDE-6953
>                 URL: https://jira.jboss.org/browse/JBIDE-6953
>             Project: Tools (JBoss Tools)
>          Issue Type: Release
>          Components: Build/Releng, usage
>    Affects Versions: 3.2.0.M2
>         Environment: CI, Tests
>            Reporter: Andre Dietisheim
>            Assignee: Andre Dietisheim
>            Priority: Blocker
>             Fix For: 3.2.0.Beta
>
>
> the UI tests we run should not trigger hits in our usage tracking. The plugin has a preferences setting that disables reporting. 
> It looks like we disable reporting for our UI test by having a custom config.ini for our UI tests.
> The "org.jboss.tools.usage" bundle has 2 preferences settings: 
> "allowUsageReportPreference"
> Furthermore the usage plugin shall not pop up a dialog that asks the user if he allows us to report hits. This can be done with 
> "askUserForUsageReportPreference"
> Both are in the Configuration Scope (common to all workbenches of a particular eclipse instance).
> For further lookup @see IUsageReportPreferenceConstants#USAGEREPORT_ENABLED_ID and IUsageReportPreferenceConstants#ASK_USER_USAGEREPORT_ID

-- 
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 jbosstools-issues mailing list