<commit_before>/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */

/*!
 * Next JS
 * Copyright (c)2011 Xenophy.CO.,LTD All rights Reserved.
 * http://www.xenophy.com
 */

// {{{ requires

require('should');
var assert = require('assert');

var T_NX = require('NX/core');
var T_Array = require('NX/core/lang/Array');
var T_ClassManager = require('NX/core/class/ClassManager');

// }}}
// {{{ getName

module.exports = {

    // {{{ test getNameByAlias#pattern1

    'test getNameByAlias#pattern1': function() {

        T_ClassManager.create('ClassManagerTest.getNameByAlias.cls1', {
        });

        T_ClassManager.setAlias('ClassManagerTest.getNameByAlias.cls1', 'ClassManagerTest.getNameByAlias.cls2');

        var ret = T_ClassManager.getNameByAlias('ClassManagerTest.getNameByAlias.cls2');
        ret.should.equal('ClassManagerTest.getNameByAlias.cls1');

    }

};

// }}}

/*
 * Local variables:
 * tab-width: 4
 * c-basic-offset: 4
 * c-hanging-comment-ender-p: nil
 * End:
 */
<commit_msg>getNameByAliasテスト修正<commit_after>/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */

/*!
 * Next JS
 * Copyright (c)2011 Xenophy.CO.,LTD All rights Reserved.
 * http://www.xenophy.com
 */

// {{{ requires

require('should');
var assert = require('assert');

var T_NX = require('NX/core');
var T_Array = require('NX/core/lang/Array');
var T_ClassManager = require('NX/core/class/ClassManager');

// }}}
// {{{ getName

module.exports = {

    // {{{ test getNameByAlias#pattern1

    'test getNameByAlias#pattern1': function() {

        T_ClassManager.create('ClassManagerTest.getNameByAlias.cls1', {
            alias: 'ClassManagerTest.getNameByAlias.cls2',
        });

        var ret = T_ClassManager.getNameByAlias('ClassManagerTest.getNameByAlias.cls2');
        ret.should.equal('ClassManagerTest.getNameByAlias.cls1');

    }

};

// }}}

/*
 * Local variables:
 * tab-width: 4
 * c-basic-offset: 4
 * c-hanging-comment-ender-p: nil
 * End:
 */

{'fraction_non_alphanumeric': 0.16708732963149925, 'fraction_numerical': 0.015648662291771833, 'mean_word_length': 3.5354691075514872, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3865971', 'n_tokens_mistral': 702, 'n_tokens_neox': 674, 'n_words': 106}