Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / third_party / trace-viewer / src / cc / layer_tree_host_impl_test.js
index c16db31..8a4faf6 100644 (file)
@@ -4,15 +4,15 @@
 
 'use strict';
 
-base.require('cc.layer_tree_host_impl');
-base.require('tracing.importer.trace_event_importer');
-base.require('tracing.trace_model');
-base.require('cc.layer_tree_host_impl_test_data');
+tvcm.require('cc.layer_tree_host_impl');
+tvcm.require('tracing.importer.trace_event_importer');
+tvcm.require('tracing.trace_model');
+tvcm.requireRawScript('cc/layer_tree_host_impl_test_data.js');
 
-base.unittest.testSuite('cc.layer_tree_host_impl', function() {
+tvcm.unittest.testSuite('cc.layer_tree_host_impl_test', function() {
   test('basic', function() {
     var m = new tracing.TraceModel(g_catLTHIEvents);
-    var p = base.dictionaryValues(m.processes)[0];
+    var p = tvcm.dictionaryValues(m.processes)[0];
 
     var instance = p.objects.getAllInstancesNamed('cc::LayerTreeHostImpl')[0];
     var snapshot = instance.snapshots[0];