[
https://jira.jboss.org/browse/JBIDE-6953?page=com.atlassian.jira.plugin.s...
]
Andre Dietisheim commented on JBIDE-6953:
-----------------------------------------
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