Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5750)

Unified Diff: chrome/test/data/extensions/api_test/activity_log_private/README

Issue 23614016: [Activity Log] Enable end to end tests on windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add TODOs Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/test/data/extensions/api_test/activity_log_private/README
diff --git a/chrome/test/data/extensions/api_test/activity_log_private/README b/chrome/test/data/extensions/api_test/activity_log_private/README
index 235c744dbd27becd4b7557e068c6525ff1560ad7..84c1b21573ad0201c42ee77b5fdef2d016209362 100644
--- a/chrome/test/data/extensions/api_test/activity_log_private/README
+++ b/chrome/test/data/extensions/api_test/activity_log_private/README
@@ -54,6 +54,34 @@ Adding a new test:
reply.js.
+Running a testcase in Incognito mode:
+
+ To check logging when run in incognito mode, add the following to the
+ testcase:
+
+ is_incognito: true
+
+ This will automatically cause all new tabs to be opened in incognito mode and
+ check the url information has been correctly cleaned.
+
+
+Configuring a testcase for a particular OS:
+
+ If you need to disable a test for a particular OS then you can do this by
+ adding the disabled field to the test case. For example:
+
+ disabled: {win: true, mac: true}
+
+ If you need to configure different expected activity for a particular OS, you
+ can override the logging. E.g.:
+
+ expected_activity_win: ['api.call1', 'api.call2', 'api.call3']
+ expected_activity_mac: ['api.call1', 'api.call2', 'api.call3']
+
+ See the chrome.runtime.getPlatformInfo documentation for details of which OS
+ names to use.
+
+
Running the tests:
> out/Debug/browser_tests --gtest_filter=ActivityLogApiTest.TriggerEvent

Powered by Google App Engine
This is Rietveld 408576698