First unit test for Google Now extension.
The test is based upon gtestjs technology.

The test check only one function in one script of Google Now extension. Other tests will follow. 

The test doesn't verify (and doesn't want to verify) how the extension' js code behaves in the context of a real extension. It's just a unit test that checks function outputs based on inputs, and future tests will also mock callees and check how they are called.

The main goal of this CL is to get feedback from the reviewers regarding the general direction chosen for unit-testing scripts in component extensions. 


BUG=164227

Review URL: https://chromiumcodereview.appspot.com/17125003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209016 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/unit_tests.isolate b/chrome/unit_tests.isolate
index 7bf9a51..8155c9c92 100644
--- a/chrome/unit_tests.isolate
+++ b/chrome/unit_tests.isolate
@@ -78,6 +78,7 @@
           '<(PRODUCT_DIR)/unit_tests<(EXECUTABLE_SUFFIX)',
         ],
         'isolate_dependency_untracked': [
+          '<(PRODUCT_DIR)/test_data/chrome/browser/resources/google_now/',
           '<(PRODUCT_DIR)/test_data/chrome/browser/resources/print_preview/',
           '<(PRODUCT_DIR)/test_data/chrome/test/data/unit/',
           '<(PRODUCT_DIR)/test_data/ui/',