| Index: tools/telemetry/telemetry/core/profile_types_unittest.py
|
| diff --git a/tools/telemetry/telemetry/core/profile_types_unittest.py b/tools/telemetry/telemetry/core/profile_types_unittest.py
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..e06f354772ace1e1d912f85a2a050778e1ad0435
|
| --- /dev/null
|
| +++ b/tools/telemetry/telemetry/core/profile_types_unittest.py
|
| @@ -0,0 +1,16 @@
|
| +# Copyright (c) 2013 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.
|
| +import unittest
|
| +
|
| +from telemetry.core import profile_types
|
| +
|
| +class ProfileTypesTest(unittest.TestCase):
|
| + def testGetProfileTypes(self):
|
| + types = profile_types.GetProfileTypes()
|
| +
|
| + self.assertTrue('clean' in types)
|
| + self.assertTrue(len(types) > 0)
|
| +
|
| + def testGetProfileDir(self):
|
| + self.assertFalse(profile_types.GetProfileDir('typical_user') is None)
|
|
|