[jbosstools-issues] [JBoss JIRA] Issue Comment Edited: (JBIDE-6953) Disable Usage Reporting in Tests
Andre Dietisheim (JIRA)
jira-events at lists.jboss.org
Wed Sep 15 10:42:28 EDT 2010
[ https://jira.jboss.org/browse/JBIDE-6953?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12551063#action_12551063 ]
Andre Dietisheim edited comment on JBIDE-6953 at 9/15/10 10:40 AM:
-------------------------------------------------------------------
I added a check against a system property "usage_instance_enabled" (global kill switch's now called "usage_allinstances_enabled"). According to my unit tests things should work. I now test real-life by starting an eclipse instance.
was (Author: adietish):
I added a check againsta a system property "usage_instance_enabled". According to my unit tests things should work. I now test real-life by starting an eclipse instance.
> 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