Home | History | Annotate | Download | only in service
      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.
      4 
      5 #include "chrome/service/service_process.h"
      6 
      7 #include <vector>
      8 
      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"
     16 
     17 TEST(ServiceProcessTest, DISABLED_Run) {
     18   base::MessageLoopForUI main_message_loop;
     19   ServiceProcess process;
     20   ServiceProcessState state;
     21   CommandLine command_line(CommandLine::NO_PROGRAM);
     22   EXPECT_TRUE(process.Initialize(&main_message_loop, command_line, &state));
     23   EXPECT_TRUE(process.Teardown());
     24 }
     25