| Index: remoting/webapp/format_iq.gtestjs
|
| diff --git a/remoting/webapp/format_iq.gtestjs b/remoting/webapp/format_iq.gtestjs
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..a4ab8e94ff01ba8571e3e608b467e83015ae67ab
|
| --- /dev/null
|
| +++ b/remoting/webapp/format_iq.gtestjs
|
| @@ -0,0 +1,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);
|
| +});
|
|
|