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