PHP Classes

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

Recommend this page to a friend!
  Classes of Abed Nego Ragil Putra  >  GoLavaCMS  >  public/js/tinymce/src/core/src/test/js/atomic/text/ExtendingCharTest.js  >  Download  
File: public/js/tinymce/src/core/src/test/js/atomic/text/ExtendingCharTest.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: 4 years ago
Size: 672 bytes
 

Contents

Class file image Download
asynctest(
  'atomic.tinymce.core.text.ExtendingCharTest',
  [
    'ephox.mcagar.api.LegacyUnit',
    'ephox.agar.api.Pipeline',
    'tinymce.core.text.ExtendingChar'
  ],
  function (LegacyUnit, Pipeline, ExtendingChar) {
    var success = arguments[arguments.length - 2];
    var failure = arguments[arguments.length - 1];
    var suite = LegacyUnit.createSuite();

    suite.test('isExtendingChar', function () {
      LegacyUnit.strictEqual(ExtendingChar.isExtendingChar('a'), false);
      LegacyUnit.strictEqual(ExtendingChar.isExtendingChar('\u0301'), true);
    });

    Pipeline.async({}, suite.toSteps({}), function () {
      success();
    }, failure);
  }
);
For more information send a message to info at phpclasses dot org.