<commit_before>describe('Unit : Controller - WidgetWallCtrl', function () {

// load the controller's module
    var WidgetWallCtrl, scope, Modals, SocialDataStore, $timeout,$q,Buildfire,rootScope;

    beforeEach(module('socialPluginWidget'));

    beforeEach(module('socialPluginWidget', function ($provide) {
        $provide.service('Buildfire', function () {
            this.datastore = jasmine.createSpyObj('datastore', ['get', 'onUpdate']);
            this.auth = jasmine.createSpyObj('auth', ['getCurrentUser', 'login','onLogin','onLogout']);
            this.navigation = jasmine.createSpyObj('navigation', ['get', 'onUpdate']);
            this.messaging = jasmine.createSpyObj('messaging', ['get', 'onUpdate','sendMessageToControl']);

        });
    }));


   /* beforeEach(inject(function ($controller, _$rootScope_, _Modals_, _SocialDataStore_, _$timeout_,_$q_,Buildfire) {
            scope = _$rootScope_.$new();
            Modals = _Modals_;
            SocialDataStore = _SocialDataStore_;
            $timeout = _$timeout_;
            $q = _$q_;
            WidgetWallCtrl = $controller('WidgetWallCtrl', {
                $scope: scope,
                Modals: Modals,
                SocialDataStore: SocialDataStore,
                Buildfire :_Buildfire_
            });
        })
    );*/

    beforeEach(inject(function ($controller, _$rootScope_, Location,SocialItems,_Modals_, _SocialDataStore_, _$timeout_,_$q_,_Buildfire_) {
        Buildfire = _Buildfire_;<commit_msg>Test cases fixes<commit_after>describe('Unit : Controller - WidgetWallCtrl', function () {

// load the controller's module
    var WidgetWallCtrl, scope, Modals, SocialDataStore, $timeout,$q,Buildfire,rootScope;

    beforeEach(module('socialPluginWidget'));

    beforeEach(module('socialPluginWidget', function ($provide) {
        $provide.service('Buildfire', function () {
            this.datastore = jasmine.createSpyObj('datastore', ['get', 'onUpdate']);
            this.auth = jasmine.createSpyObj('auth', ['getCurrentUser', 'login','onLogin','onLogout']);
            this.navigation = jasmine.createSpyObj('navigation', ['get', 'onUpdate']);
            this.messaging = jasmine.createSpyObj('messaging', ['get', 'onUpdate','sendMessageToControl']);
            this.getContext=function(){};

        });
    }));


   /* beforeEach(inject(function ($controller, _$rootScope_, _Modals_, _SocialDataStore_, _$timeout_,_$q_,Buildfire) {
            scope = _$rootScope_.$new();
            Modals = _Modals_;
            SocialDataStore = _SocialDataStore_;
            $timeout = _$timeout_;
            $q = _$q_;
            WidgetWallCtrl = $controller('WidgetWallCtrl', {
                $scope: scope,
                Modals: Modals,
                SocialDataStore: SocialDataStore,
                Buildfire :_Buildfire_
            });
        })
    );*/

    beforeEach(inject(function ($controller, _$rootScope_, Location,SocialItems,_Modals_, _SocialDataStore_, _$timeout_,_$q_,_Buildfire_) {
        Buildfire = _Buildfire_;
{'fraction_non_alphanumeric': 0.13920733704552898, 'fraction_numerical': 0.0, 'mean_word_length': 2.992156862745098, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '3428292', 'n_tokens_mistral': 879, 'n_tokens_neox': 838, 'n_words': 142}