Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(227)

Unified Diff: tools/telemetry/telemetry/user_story/user_story_test_unittest.py

Issue 612963002: Introduce UserStory & UserStorySet classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Clean up staticmethods related to PageCreation Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tools/telemetry/telemetry/user_story/user_story_test_unittest.py
diff --git a/tools/telemetry/telemetry/user_story/user_story_test_unittest.py b/tools/telemetry/telemetry/user_story/user_story_test_unittest.py
new file mode 100644
index 0000000000000000000000000000000000000000..b855d9b85e78dc53a29b686eb6b8cdde39e1a2bd
--- /dev/null
+++ b/tools/telemetry/telemetry/user_story/user_story_test_unittest.py
@@ -0,0 +1,23 @@
+# Copyright 2014 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.user_story import user_story_set
+
+
+class UserStorySetFoo(user_story_set.UserStorySet):
+ """ UserStorySetFoo is a user story created for testing purpose. """
+ pass
+
+
+class UserStorySetTest(unittest.TestCase):
+
+ def testUserStoryTestName(self):
+ self.assertEquals('user_story_test_unittest', UserStorySetFoo.Name())
+
+ def testUserStoryTestDescription(self):
+ self.assertEquals(
+ ' UserStorySetFoo is a user story created for testing purpose. ',
+ UserStorySetFoo.Description())
« no previous file with comments | « tools/telemetry/telemetry/user_story/user_story_set.py ('k') | tools/telemetry/telemetry/user_story/user_story_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698