Index: chrome/installer/gcapi/gcapi_test.cc |
=================================================================== |
--- chrome/installer/gcapi/gcapi_test.cc (revision 108839) |
+++ chrome/installer/gcapi/gcapi_test.cc (working copy) |
@@ -1,11 +1,12 @@ |
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
+#include <stdio.h> |
+ |
#include "chrome/installer/gcapi/gcapi.h" |
+#include "testing/gtest/include/gtest/gtest.h" |
-#include <stdio.h> |
- |
void call_statically() { |
DWORD reason = 0; |
BOOL result_flag_on = FALSE; |
@@ -54,6 +55,9 @@ |
} |
int main(int argc, char* argv[]) { |
+ testing::InitGoogleTest(&argc, argv); |
+ RUN_ALL_TESTS(); |
+ |
call_dynamically(); |
call_statically(); |
printf("LaunchChrome returned %d.\n", LaunchGoogleChrome()); |