blob: 16c682b1ffac6f5a645631d219f5149346170bc6 [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
Paul Stewart5ad16062013-02-21 18:10:48 -080010#include <base/files/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:
Paul Stewart5ad16062013-02-21 18:10:48 -080025 base::ScopedTempDir dir_;
Chris Masoneb9c00592011-10-06 13:10:39 -070026
27 DISALLOW_COPY_AND_ASSIGN(TestConfig);
28};
29
30} // namespace shill
31
32#endif // SHILL_TEST_CONFIG_