blob: 15df6f855e5aadfcf15f25b3e476317cc1f58662 [file] [log] [blame]
# 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.web_perf import timeline_interaction_record as tir_module
class TimelineInteractionRecordTests(unittest.TestCase):
def testGetJavaScriptMarker(self):
repeatable_marker = tir_module.GetJavaScriptMarker(
'MyLabel', [tir_module.REPEATABLE])
self.assertEquals('Interaction.MyLabel/repeatable', repeatable_marker)