diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2019-03-05 17:34:47 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2019-03-06 10:04:14 +0000 |
commit | eaf1da4d961fbbda9455f9af3b23d1af777f43fa (patch) | |
tree | 95970599ecee31c4f7f940bc97ac98c61a3d0cad /chromium/third_party/catapult/tracing/tracing/value/ui/diagnostic_map_table_test.html | |
parent | 38a9a29f4f9436cace7f0e7abf9c586057df8a4e (diff) |
BASELINE: Update Chromium to 73.0.3683.64
Change-Id: I76517dc277ba4e16bfd7e098fda3d079656b3b9f
Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
Diffstat (limited to 'chromium/third_party/catapult/tracing/tracing/value/ui/diagnostic_map_table_test.html')
-rw-r--r-- | chromium/third_party/catapult/tracing/tracing/value/ui/diagnostic_map_table_test.html | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/chromium/third_party/catapult/tracing/tracing/value/ui/diagnostic_map_table_test.html b/chromium/third_party/catapult/tracing/tracing/value/ui/diagnostic_map_table_test.html new file mode 100644 index 00000000000..d5d4ac02761 --- /dev/null +++ b/chromium/third_party/catapult/tracing/tracing/value/ui/diagnostic_map_table_test.html @@ -0,0 +1,27 @@ +<!DOCTYPE html> +<!-- +Copyright 2016 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. +--> + +<link rel="import" href="/tracing/value/diagnostics/diagnostic_map.html"> +<link rel="import" href="/tracing/value/ui/diagnostic_map_table.html"> + +<script> +'use strict'; + +tr.b.unittest.testSuite(function() { + test('instantiate', function() { + const map0 = new tr.v.d.DiagnosticMap(); + map0.set('genericA', new tr.v.d.GenericSet([{a: 0}])); + map0.set('genericB', new tr.v.d.GenericSet([{b: 0}])); + const map1 = new tr.v.d.DiagnosticMap(); + map1.set('genericA', new tr.v.d.GenericSet([{a: 1}])); + map1.set('genericB', new tr.v.d.GenericSet([{b: 1}])); + const table = document.createElement('tr-v-ui-diagnostic-map-table'); + table.diagnosticMaps = [map0, map1]; + this.addHTMLOutput(table); + }); +}); +</script> |