1 // Copyright (c) 2012 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 5 /** 6 * Test fixture for IQ formatting routines. 7 * @constructor 8 * @extends {testing.Test} 9 */ 10 function FormatIqUnitTest () { 11 remoting.formatIq = new remoting.FormatIq(); 12 remoting.formatIq.setJids("client@jid", "host@jid"); 13 } 14 15 FormatIqUnitTest.prototype = { 16 __proto__: testing.Test.prototype, 17 18 /** @inheritDoc */ 19 extraLibraries: [ 20 'format_iq.js', 21 ], 22 }; 23 24 // Basic test to verify that the JS Unittest framework is working and that 25 // format_iq.js loads without console errors. 26 // TODO(garykac): Add real unittests here. 27 TEST_F('FormatIqUnitTest', 'TestJsLoad', function() { 28 assertTrue(true); 29 }); 30