Roll src/third_party/WebKit 116cf7f:79abaa8 (svn 189234:189235)
[chromium-blink-merge.git] / chrome / service / service_process_unittest.cc
blobf4f592af5a82027e21761aebefe55546c00b009c
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "chrome/service/service_process.h"
7 #include <vector>
9 #include "base/base64.h"
10 #include "base/command_line.h"
11 #include "base/message_loop/message_loop.h"
12 #include "base/synchronization/waitable_event.h"
13 #include "chrome/common/service_process_util.h"
14 #include "testing/gmock/include/gmock/gmock.h"
15 #include "testing/gtest/include/gtest/gtest.h"
17 TEST(ServiceProcessTest, DISABLED_Run) {
18 base::MessageLoopForUI main_message_loop;
19 ServiceProcess process;
20 ServiceProcessState state;
21 base::CommandLine command_line(base::CommandLine::NO_PROGRAM);
22 EXPECT_TRUE(process.Initialize(&main_message_loop, command_line, &state));
23 EXPECT_TRUE(process.Teardown());