blob: 793e3bb0f9462b7c447b4cd9be56e754199363f4 [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#ifndef SHILL_TEST_CONFIG_
6#define SHILL_TEST_CONFIG_
7
8#include <string>
9
Eric Shienbrood3e20a232012-02-16 11:35:56 -050010#include <base/scoped_temp_dir.h>
Chris Masoneb9c00592011-10-06 13:10:39 -070011
12#include "shill/shill_config.h"
13
14namespace shill {
15
16class TestConfig : public Config {
17 public:
18 TestConfig();
19 virtual ~TestConfig();
20
21 virtual std::string GetRunDirectory();
22 virtual std::string GetStorageDirectory();
23
24 private:
25 ScopedTempDir dir_;
26
27 DISALLOW_COPY_AND_ASSIGN(TestConfig);
28};
29
30} // namespace shill
31
32#endif // SHILL_TEST_CONFIG_