summaryrefslogtreecommitdiffstats
path: root/chrome/test/mini_installer_test/test.cc
blob: 145e2cae647a10330fcbb92765aa5bc6990c1141 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// Copyright (c) 2006-2008 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 "chrome_mini_installer.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace {
class MiniInstallTest : public testing::Test {
   protected:
    virtual void SetUp() {
      // Currently no setup required
    }

    virtual void TearDown() {
      // Currently no tear down required
    }
  };
};

TEST_F(MiniInstallTest, MiniInstallerCleanInstallTest) {
  ChromeMiniInstaller installer;
  installer.InstallMiniInstaller();
  installer.UnInstall();
}

TEST_F(MiniInstallTest, MiniInstallerOverChromeMetaInstallerTest) {
  ChromeMiniInstaller installer;
  installer.OverInstall();
  installer.UnInstall();
}