PHP Classes

File: public/js/tinymce/src/core/src/test/js/atomic/text/ZwspTest.js

Recommend this page to a friend!
  Classes of Abed Nego Ragil Putra   GoLavaCMS   public/js/tinymce/src/core/src/test/js/atomic/text/ZwspTest.js   Download  
File: public/js/tinymce/src/core/src/test/js/atomic/text/ZwspTest.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: GoLavaCMS
Publish content on Web pages with SEO support
Author: By
Last change:
Date: 6 years ago
Size: 761 bytes
 

Contents

Class file image Download
asynctest( 'atomic.tinymce.core.text.ZwspTest', [ 'ephox.mcagar.api.LegacyUnit', 'ephox.agar.api.Pipeline', 'tinymce.core.text.Zwsp' ], function (LegacyUnit, Pipeline, Zwsp) { var success = arguments[arguments.length - 2]; var failure = arguments[arguments.length - 1]; var suite = LegacyUnit.createSuite(); suite.test('ZWSP', function () { LegacyUnit.strictEqual(Zwsp.ZWSP, '\uFEFF'); }); suite.test('isZwsp', function () { LegacyUnit.strictEqual(Zwsp.isZwsp(Zwsp.ZWSP), true); }); suite.test('isZwsp', function () { LegacyUnit.strictEqual(Zwsp.trim('a' + Zwsp.ZWSP + 'b'), 'ab'); }); Pipeline.async({}, suite.toSteps({}), function () { success(); }, failure); } );