in_memory_url_index_unittest.cc revision c407dc5cd9bdc5668497f21b26b09d988ab439de
1// Copyright (c) 2010 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/browser/history/in_memory_url_index.h"
6
7#include "base/scoped_ptr.h"
8#include "testing/gtest/include/gtest/gtest.h"
9
10namespace history {
11
12class InMemoryURLIndexTest : public testing::Test {
13 protected:
14  scoped_ptr<InMemoryURLIndex> url_index_;
15};
16
17TEST_F(InMemoryURLIndexTest, Construction) {
18  url_index_.reset(new InMemoryURLIndex);
19  EXPECT_TRUE(url_index_.get());
20}
21
22}  // namespace history
23