<commit_before>/// <reference path="../../jasmine.d"/>
import Types = require('../../../../main/ts/util/Types');
import NagiosMonitorViewModel = require('../../../../main/ts/nagios/viewModel/NagiosMonitorViewModel');
import NagiosJsonResponse = require('../../../../main/ts/jsonInterfaces/NagiosResponse');
import NagiosSpecDataProvider = require('../NagiosSpecDataProvider');

/**
 * Tests {@link NagiosMonitorViewModel}
 */
describe("NagiosMonitorViewModel", function():void {

    var dataProvider:NagiosSpecDataProvider = new NagiosSpecDataProvider();

    var testling:NagiosMonitorViewModel = dataProvider.getNagiosMonitorViewModel();

    it("Test Methods", function():void {
        expect(testling.getName()).toEqual(NagiosSpecDataProvider.NAME);
        expect(testling.getType()).toEqual(Types.NAGIOS);
        expect(testling.getModels().length).toBeGreaterThan(0);
    });

});<commit_msg>fix code to comply to tslint<commit_after>/// <reference path='../../jasmine.d'/>
import Types = require('../../../../main/ts/util/Types');
import NagiosMonitorViewModel = require('../../../../main/ts/nagios/viewModel/NagiosMonitorViewModel');
import NagiosJsonResponse = require('../../../../main/ts/jsonInterfaces/NagiosResponse');
import NagiosSpecDataProvider = require('../NagiosSpecDataProvider');

/**
 * Tests {@link NagiosMonitorViewModel}
 */
describe('NagiosMonitorViewModel', function():void {

    var dataProvider: NagiosSpecDataProvider = new NagiosSpecDataProvider();

    var testling: NagiosMonitorViewModel = dataProvider.getNagiosMonitorViewModel();

    it('Test Methods', function(): void {
        expect(testling.getName()).toEqual(NagiosSpecDataProvider.NAME);
        expect(testling.getType()).toEqual(Types.NAGIOS);
        expect(testling.getModels().length).toBeGreaterThan(0);
    });

});
{'fraction_non_alphanumeric': 0.1800219538968167, 'fraction_numerical': 0.0010976948408342481, 'mean_word_length': 4.4094955489614245, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '2012006', 'n_tokens_mistral': 528, 'n_tokens_neox': 507, 'n_words': 74}