blob: 53554ee507969fbc0ced1462566106f2eec6e48d [file] [log] [blame]
Chris Masoneb9c00592011-10-06 13:10:39 -07001// Copyright (c) 2011 The Chromium OS 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 "shill/shill_test_config.h"
6
7#include <string>
8
9#include <base/logging.h>
10
11using std::string;
12
13namespace shill {
14
15TestConfig::TestConfig() {
16 CHECK(dir_.CreateUniqueTempDir());
17}
18
19TestConfig::~TestConfig() {
20}
21
22string TestConfig::GetRunDirectory() {
23 return dir_.path().value();
24}
25
26string TestConfig::GetStorageDirectory() {
27 return dir_.path().value();
28}
29
30} // namespace shill