- add sources.
[platform/framework/web/crosswalk.git] / src / tools / telemetry / telemetry / core / profile_types_unittest.py
1 # Copyright (c) 2013 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 import unittest
5
6 from telemetry.core import profile_types
7
8
9 class ProfileTypesTest(unittest.TestCase):
10   def testGetProfileTypes(self):
11     types = profile_types.GetProfileTypes()
12
13     self.assertTrue('clean' in types)
14     self.assertTrue(len(types) > 0)
15
16   def testGetProfileDir(self):
17     self.assertFalse(profile_types.GetProfileDir('typical_user') is None)