<commit_before>/*global describe, beforeEach, it*/
'use strict';

var path = require('path');
var assert = require('yeoman-assert');
var helpers = require('yeoman-test');
var os = require('os');

describe('JHipster generator', function () {
    it('creates files for default configuration', function () {
        helpers.run(path.join(__dirname, '../app'))
            .withOptions({skipInstall: true})
            .withPrompts({
                "baseName": "jhipster",
                "packageName": "com.mycompany.myapp",
                "packageFolder": "com/mycompany/myapp",
                "authenticationType": "session",
                "hibernateCache": "ehcache",
                "clusteredHttpSession": "no",
                "websocket": "no",
                "databaseType": "sql",
                "devDatabaseType": "h2Memory",
                "prodDatabaseType": "mysql",
                "useSass": false,
                "enableTranslation": true,
                "buildTool": "maven",
                "frontendBuilder": "grunt",
                "rememberMeKey": "<KEY>",
                "searchEngine": "no"
            })
            .on('end', function () {
                assert.file([
                    'bower.json',
                    'package.json',
                    'README.md',
                    '.bowerrc',
                    '.gitignore',
                    '.gitattributes',
                    'Gruntfile.js',
                    'pom.xml',
                    'mvnw',
                    'mvnw.cmd',
                    'src/main/resources/banner.txt',
                    'src/main/resources/ehcache.xml',
                    'src/main/resources/.h2.server.properties',
                    'src/main/resources/templates/error.html',
                    'src/main/resources/logback-spring.xml',
                    'src/main/resources/config/application.yml',
                    'src/main/resources/config/application-dev.yml',
                    'src/main/resources/config/application-prod.yml',
                    'src/main/resources/config/liquibase/changelog/00000000000000_initial_schema.xml',
                    'src/main/resources/config/liquibase/master.xml',
                    'src/main/resources/config/liquibase/users.csv',
                    'src/main/resources/config/liquibase/authorities.csv',
                    'src/main/resources/config/liquibase/users_authorities.csv',
                    'src/main/resources/mails/activationEmail.html',
                    'src/main/resources/mails/passwordResetEmail.html',
                    'src/main/java/com/mycompany/myapp/Application.java',
                    'src/main/java/com/mycompany/myapp/ApplicationWebXml.java',
                    'src/main/java/com/mycompany/myapp/aop/logging/LoggingAspect.java',
                    'src/main/java/com/mycompany/myapp/config/apidoc/package-info.java',
                    'src/main/java/com/mycompany/myapp/config/apidoc/SwaggerConfiguration.java',
                    'src/main/java/com/mycompany/myapp/async/package-info.java',
                    'src/main/java/com/mycompany/myapp/async/ExceptionHandlingAsyncTaskExecutor.java',
                    'src/main/java/com/mycompany/myapp/config/package-info.java',
                    'src/main/java/com/mycompany/myapp/config/AsyncConfiguration.java',
                    'src/main/java/com/mycompany/myapp/config/CacheConfiguration.java',
                    'src/main/java/com/mycompany/myapp/config/Constants.java',
                    'src/main/java/com/mycompany/myapp/config/CloudDatabaseConfiguration.java',
                    'src/main/java/com/mycompany/myapp/config/DatabaseConfiguration.java',
                    'src/main/java/com/mycompany/myapp/config/JacksonConfiguration.java',
                    'src/main/java/com/mycompany/myapp/config/LocaleConfiguration.java',
                    'src/main/java/com/mycompany/myapp/config/LoggingAspectConfiguration.java',
                    'src/main/java/com/mycompany/myapp/config/MetricsConfiguration.java',
                    'src/main/java/com/mycompany/myapp/config/SecurityConfiguration.java',
                    'src/main/java/com/mycompany/myapp/config/ThymeleafConfiguration.java',
                    'src/main/java/com/mycompany/myapp/config/WebConfigurer.java',
                    'src/main/java/com/mycompany/myapp/config/audit/package-info.java',
                    'src/main/java/com/mycompany/myapp/config/audit/AuditEventConverter.java',
                    'src/main/java/com/mycompany/myapp/config/locale/package-info.java',
                    'src/main/java/com/mycompany/myapp/config/locale/AngularCookieLocaleResolver.java',
                    'src/main/java/com/mycompany/myapp/domain/package-info.java',
                    'src/main/java/com/mycompany/myapp/domain/AbstractAuditingEntity.java',
                    'src/main/java/com/mycompany/myapp/domain/Authority.java',
                    'src/main/java/com/mycompany/myapp/domain/PersistentAuditEvent.java',
                    'src/main/java/com/mycompany/myapp/domain/PersistentToken.java',
                    'src/main/java/com/mycompany/myapp/domain/User.java',
                    'src/main/java/com/mycompany/myapp/domain/util/JSR310DateConverters.java',
                    'src/main/java/com/mycompany/myapp/domain/util/JSR310DateTimeSerializer.java',
                    'src/main/java/com/mycompany/myapp/domain/util/JSR310LocalDateDeserializer.java',
                    'src/main/java/com/mycompany/myapp/domain/util/JSR310PersistenceConverters.java',
                    'src/main/java/com/mycompany/myapp/repository/package-info.java',
                    'src/main/java/com/mycompany/myapp/repository/AuthorityRepository.java',
                    'src/main/java/com/mycompany/myapp/repository/CustomAuditEventRepository.java',
                    'src/main/java/com/mycompany/myapp/repository/PersistenceAuditEventRepository.java',
                    'src/main/java/com/mycompany/myapp/repository/UserRepository.java',
                    'src/main/java/com/mycompany/myapp/repository/PersistentTokenRepository.java',
                    'src/main/java/com/mycompany/myapp/security/package-info.java',
                    'src/main/java/com/mycompany/myapp/security/AjaxAuthenticationFailureHandler.java',
                    'src/main/java/com/mycompany/myapp/security/AjaxAuthenticationSuccessHandler.java',
                    'src/main/java/com/mycompany/myapp/security/AjaxLogoutSuccessHandler.java',
                    'src/main/java/com/mycompany/myapp/security/AuthoritiesConstants.java',
                    'src/main/java/com/mycompany/myapp/security/CustomPersistentRememberMeServices.java',
                    'src/main/java/com/mycompany/myapp/security/Http401UnauthorizedEntryPoint.java',
                    'src/main/java/com/mycompany/myapp/security/SecurityUtils.java',
                    'src/main/java/com/mycompany/myapp/security/SpringSecurityAuditorAware.java',
                    'src/main/java/com/mycompany/myapp/security/UserDetailsService.java',
                    'src/main/java/com/mycompany/myapp/security/UserNotActivatedException.java',
                    'src/main/java/com/mycompany/myapp/service/package-info.java',
                    'src/main/java/com/mycompany/myapp/service/AuditEventService.java',
                    'src/main/java/com/mycompany/myapp/service/UserService.java',
                    'src/main/java/com/mycompany/myapp/service/MailService.java',
                    'src/main/java/com/mycompany/myapp/service/util/RandomUtil.java',
                    'src/main/java/com/mycompany/myapp/web/filter/package-info.java',
                    'src/main/java/com/mycompany/myapp/web/filter/CachingHttpHeadersFilter.java',
                    'src/main/java/com/mycompany/myapp/web/filter/StaticResourcesProductionFilter.java',
                    'src/main/java/com/mycompany/myapp/web/filter/CsrfCookieGeneratorFilter.java',
                    'src/main/java/com/mycompany/myapp/web/rest/dto/package-info.java',
                    'src/main/java/com/mycompany/myapp/web/rest/dto/LoggerDTO.java',
                    'src/main/java/com/mycompany/myapp/web/rest/dto/UserDTO.java',
                    'src/main/java/com/mycompany/myapp/web/rest/util/PaginationUtil.java',
                    'src/main/java/com/mycompany/myapp/web/rest/package-info.java',
                    'src/main/java/com/mycompany/myapp/web/rest/AccountResource.java',
                    'src/main/java/com/mycompany/myapp/web/rest/AuditResource.java',
                    'src/main/java/com/mycompany/myapp/web/rest/LogsResource.java',
                    'src/main/java/com/mycompany/myapp/web/rest/UserResource.java',
                    'src/test/java/com/mycompany/myapp/security/SecurityUtilsUnitTest.java',
                    'src/test/java/com/mycompany/myapp/service/UserServiceIntTest.java',
                    'src/test/java/com/mycompany/myapp/web/rest/AccountResourceIntTest.java',
                    'src/test/java/com/mycompany/myapp/web/rest/AuditResourceIntTest.java',
                    'src/test/java/com/mycompany/myapp/web/rest/TestUtil.java',
                    'src/test/java/com/mycompany/myapp/web/rest/UserResourceIntTest.java',
                    'src/test/resources/config/application.yml',
                    'src/test/resources/logback-test.xml',
                    'src/test/resources/ehcache.xml',
                    'src/test/gatling/conf/gatling.conf',
                    'src/main/webapp/assets/styles/main.css',
                    'src/main/webapp/favicon.ico',
                    'src/main/webapp/robots.txt',
                    'src/main/webapp/.htaccess',
                    'src/main/webapp/i18n/en/activate.json',
                    'src/main/webapp/i18n/en/audits.json',
                    'src/main/webapp/i18n/en/configuration.json',
                    'src/main/webapp/i18n/en/error.json',
                    'src/main/webapp/i18n/en/global.json',
                    'src/main/webapp/i18n/en/health.json',
                    'src/main/webapp/i18n/en/login.json',
                    'src/main/webapp/i18n/en/logs.json',
                    'src/main/webapp/i18n/en/main.json',
                    'src/main/webapp/i18n/en/metrics.json',
                    'src/main/webapp/i18n/en/password.json',
                    'src/main/webapp/i18n/en/register.json',
                    'src/main/webapp/i18n/en/sessions.json',
                    'src/main/webapp/i18n/en/settings.json',
                    'src/main/webapp/i18n/en/reset.json',
                    'src/main/webapp/i18n/en/user.management.json',
                    'src/main/resources/i18n/messages_en.properties',
                    'src/main/webapp/i18n/fr/activate.json',
                    'src/main/webapp/i18n/fr/audits.json',
                    'src/main/webapp/i18n/fr/configuration.json',
                    'src/main/webapp/i18n/fr/error.json',
                    'src/main/webapp/i18n/fr/global.json',
                    'src/main/webapp/i18n/fr/health.json',
                    'src/main/webapp/i18n/fr/login.json',
                    'src/main/webapp/i18n/fr/logs.json',
                    'src/main/webapp/i18n/fr/main.json',
                    'src/main/webapp/i18n/fr/metrics.json',
                    'src/main/webapp/i18n/fr/password.json',
                    'src/main/webapp/i18n/fr/register.json',
                    'src/main/webapp/i18n/fr/sessions.json',
                    'src/main/webapp/i18n/fr/settings.json',
                    'src/main/webapp/i18n/fr/reset.json',
                    'src/main/webapp/i18n/fr/user.management.json',
                    'src/main/resources/i18n/messages_fr.properties',
                    'src/main/webapp/scripts/app/app.js',
                    'src/main/webapp/scripts/components/admin/audits.service.js',
                    'src/main/webapp/scripts/components/admin/configuration.service.js',
                    'src/main/webapp/scripts/components/admin/logs.service.js',
                    'src/main/webapp/scripts/components/admin/monitoring.service.js',
                    'src/main/webapp/scripts/components/auth/auth.service.js',
                    'src/main/webapp/scripts/components/auth/principal.service.js',
                    'src/main/webapp/scripts/components/auth/authority.directive.js',
                    'src/main/webapp/scripts/components/auth/provider/auth.session.service.js',
                    'src/main/webapp/scripts/components/auth/services/account.service.js',
                    'src/main/webapp/scripts/components/auth/services/activate.service.js',
                    'src/main/webapp/scripts/components/auth/services/password.service.js',
                    'src/main/webapp/scripts/components/auth/services/register.service.js',
                    'src/main/webapp/scripts/components/auth/services/sessions.service.js',
                    'src/main/webapp/scripts/components/form/form.directive.js',
                    'src/main/webapp/scripts/components/form/uib-pager.config.js',
                    'src/main/webapp/scripts/components/form/uib-pagination.config.js',
                    'src/main/webapp/scripts/components/language/language.controller.js',
                    'src/main/webapp/scripts/components/language/language.service.js',
                    'src/main/webapp/scripts/components/navbar/navbar.directive.js',
                    'src/main/webapp/scripts/components/navbar/navbar.html',
                    'src/main/webapp/scripts/components/navbar/navbar.controller.js',
                    'src/main/webapp/scripts/components/user/user.service.js',
                    'src/main/webapp/scripts/components/util/base64.service.js',
                    'src/main/webapp/scripts/components/util/parse-links.service.js',
                    'src/main/webapp/scripts/components/util/truncate.filter.js',
                    'src/main/webapp/scripts/components/util/date-util.service.js',
                    'src/main/webapp/scripts/components/util/sort.directive.js',
                    'src/main/webapp/scripts/app/account/account.js',
                    'src/main/webapp/scripts/app/account/activate/activate.html',
                    'src/main/webapp/scripts/app/account/activate/activate.js',
                    'src/main/webapp/scripts/app/account/activate/activate.controller.js',
                    'src/main/webapp/scripts/app/account/login/login.html',
                    'src/main/webapp/scripts/app/account/login/login.js',
                    'src/main/webapp/scripts/app/account/login/login.controller.js',
                    'src/main/webapp/scripts/app/account/password/password.html',
                    'src/main/webapp/scripts/app/account/password/password.js',
                    'src/main/webapp/scripts/app/account/password/password.controller.js',
                    'src/main/webapp/scripts/app/account/password/password.directive.js',
                    'src/main/webapp/scripts/app/account/register/register.html',
                    'src/main/webapp/scripts/app/account/register/register.js',
                    'src/main/webapp/scripts/app/account/register/register.controller.js',
                    'src/main/webapp/scripts/app/account/reset/request/reset.request.html',
                    'src/main/webapp/scripts/app/account/reset/request/reset.request.js',
                    'src/main/webapp/scripts/app/account/reset/request/reset.request.controller.js',
                    'src/main/webapp/scripts/app/account/reset/finish/reset.finish.html',
                    'src/main/webapp/scripts/app/account/reset/finish/reset.finish.js',
                    'src/main/webapp/scripts/app/account/reset/finish/reset.finish.controller.js',
                    'src/main/webapp/scripts/app/account/sessions/sessions.html',
                    'src/main/webapp/scripts/app/account/sessions/sessions.js',
                    'src/main/webapp/scripts/app/account/sessions/sessions.controller.js',
                    'src/main/webapp/scripts/app/account/settings/settings.html',
                    'src/main/webapp/scripts/app/account/settings/settings.js',
                    'src/main/webapp/scripts/app/account/settings/settings.controller.js',
                    'src/main/webapp/scripts/app/admin/admin.js',
                    'src/main/webapp/scripts/app/admin/audits/audits.html',
                    'src/main/webapp/scripts/app/admin/audits/audits.js',
                    'src/main/webapp/scripts/app/admin/audits/audits.controller.js',
                    'src/main/webapp/scripts/app/admin/configuration/configuration.html',
                    'src/main/webapp/scripts/app/admin/configuration/configuration.js',
                    'src/main/webapp/scripts/app/admin/configuration/configuration.controller.js',
                    'src/main/webapp/scripts/app/admin/docs/docs.html',
                    'src/main/webapp/scripts/app/admin/docs/docs.js',
                    'src/main/webapp/scripts/app/admin/health/health.html',
                    'src/main/webapp/scripts/app/admin/health/health.js',
                    'src/main/webapp/scripts/app/admin/health/health.controller.js',
                    'src/main/webapp/scripts/app/admin/logs/logs.html',
                    'src/main/webapp/scripts/app/admin/logs/logs.js',
                    'src/main/webapp/scripts/app/admin/logs/logs.controller.js',
                    'src/main/webapp/scripts/app/admin/metrics/metrics.html',
                    'src/main/webapp/scripts/app/admin/metrics/metrics.js',
                    'src/main/webapp/scripts/app/admin/metrics/metrics.controller.js',
                    'src/main/webapp/scripts/app/error/error.html',
                    'src/main/webapp/scripts/app/error/accessdenied.html',
                    'src/main/webapp/scripts/app/entities/entity.js',
                    'src/main/webapp/scripts/app/error/error.js',
                    'src/main/webapp/scripts/app/main/main.html',
                    'src/main/webapp/scripts/app/main/main.js',
                    'src/main/webapp/scripts/app/main/main.controller.js',
                    'src/test/javascript/karma.conf.js',
                    'src/test/javascript/spec/helpers/httpBackend.js',
                    'src/test/javascript/spec/helpers/module.js',
                    'src/test/javascript/spec/app/admin/health/health.controller.spec.js',
                    'src/test/javascript/spec/app/account/login/login.controller.spec.js',
                    'src/test/javascript/spec/app/account/password/password.controller.spec.js',
                    'src/test/javascript/spec/app/account/password/password.directive.spec.js',
                    'src/test/javascript/spec/app/account/sessions/sessions.controller.spec.js',
                    'src/test/javascript/spec/app/account/settings/settings.controller.spec.js',
                    'src/test/javascript/spec/app/account/activate/activate.controller.spec.js',
                    'src/test/javascript/spec/app/account/register/register.controller.spec.js',
                    'src/test/javascript/spec/app/account/reset/finish/reset.finish.controller.spec.js',
                    'src/test/javascript/spec/app/account/reset/request/reset.request.controller.spec.js',
                    'src/test/javascript/spec/components/auth/auth.services.spec.js',
                    'src/main/webapp/assets/styles/documentation.css',
                    'src/main/webapp/assets/images/development_ribbon.png',
                    'src/main/webapp/assets/images/hipster.png',
                    'src/main/webapp/assets/images/hipster2x.png',
                    '.mvn/wrapper/maven-wrapper.jar',
                    '.mvn/wrapper/maven-wrapper.properties',
                    '.editorconfig',
                    '.jshintrc'
                ]);
            });
    });

    it('creates files with a specific package name', function () {
        helpers.run(path.join(__dirname, '../app'))
            .withOptions({skipInstall: true})
            .withPrompts({
                "baseName": "jhipster",
                "packageName": "com.otherpackage",
                "packageFolder": "com/otherpackage",
                "authenticationType": "session",
                "hibernateCache": "ehcache",
                "clusteredHttpSession": "no",
                "websocket": "no",
                "databaseType": "sql",
                "devDatabaseType": "h2Memory",
                "prodDatabaseType": "mysql",
                "useSass": false,
                "enableTranslation": true,
                "buildTool": "maven",
                "frontendBuilder": "grunt",
                "rememberMeKey": "<KEY>",
                "searchEngine": "no"
            })
            .on('end', function () {
                assert.file([
                    'src/main/java/com/otherpackage/Application.java'
                ]);
                assert.fileContent('src/main/java/com/otherpackage/Application.java', /package com\.otherpackage;/);
            });
    });

    it('creates files with a specific application name', function () {
        helpers.run(path.join(__dirname, '../app'))
            .withOptions({skipInstall: true})
            .withPrompts({
                "baseName": "myapplication",
                "packageName": "com.mycompany.myapp",
                "packageFolder": "com/mycompany/myapp",
                "authenticationType": "session",
                "hibernateCache": "ehcache",
                "clusteredHttpSession": "no",
                "websocket": "no",
                "databaseType": "sql",
                "devDatabaseType": "h2Memory",
                "prodDatabaseType": "mysql",
                "useSass": false,
                "enableTranslation": true,
                "buildTool": "maven",
                "frontendBuilder": "grunt",
                "rememberMeKey": "<KEY>",
                "searchEngine": "no"
            })
            .on('end', function () {
                assert.file([
                    'src/main/webapp/scripts/app/main/main.js'
                ]);
                assert.fileContent('src/main/webapp/scripts/app/main/main.js', /myapplicationApp/);
            });
    });

    it('creates expected files with authenticationType "oauth2"', function () {
        helpers.run(path.join(__dirname, '../app'))
            .withOptions({skipInstall: true})
            .withPrompts({
                "baseName": "jhipster",
                "packageName": "com.mycompany.myapp",
                "packageFolder": "com/mycompany/myapp",
                "authenticationType": "oauth2",
                "hibernateCache": "ehcache",
                "clusteredHttpSession": "no",
                "websocket": "no",
                "databaseType": "sql",
                "devDatabaseType": "h2Memory",
                "prodDatabaseType": "mysql",
                "useSass": false,
                "enableTranslation": true,
                "buildTool": "maven",
                "frontendBuilder": "grunt",
                "rememberMeKey": "<KEY>",
                "searchEngine": "no"
            })
            .on('end', function () {
                assert.file([
                    'src/main/java/com/mycompany/myapp/config/OAuth2ServerConfiguration.java'
                ]);
            });
    });

    it('creates expected files with hibernateCache "hazelcast"', function () {
        helpers.run(path.join(__dirname, '../app'))
            .withOptions({skipInstall: true})
            .withPrompts({
                "baseName": "jhipster",
                "packageName": "com.mycompany.myapp",
                "packageFolder": "com/mycompany/myapp",
                "authenticationType": "session",
                "hibernateCache": "hazelcast",
                "clusteredHttpSession": "no",
                "websocket": "no",
                "databaseType": "sql",
                "devDatabaseType": "h2Memory",
                "prodDatabaseType": "mysql",
                "useSass": false,
                "enableTranslation": true,
                "buildTool": "maven",
                "frontendBuilder": "grunt",
                "rememberMeKey": "<KEY>",
                "searchEngine": "no"
            })
            .on('end', function () {
                assert.file([
                    'src/main/java/com/mycompany/myapp/config/hazelcast/HazelcastCacheRegionFactory.java',
                    'src/main/java/com/mycompany/myapp/config/hazelcast/package-info.java'
                ]);
            });
    });

    it('does not create i18n files if i18n is disabled', function () {
        helpers.run(path.join(__dirname, '../app'))
            .withOptions({skipInstall: true})
            .withPrompts({
                "baseName": "jhipster",
                "packageName": "com.mycompany.myapp",
                "packageFolder": "com/mycompany/myapp",
                "authenticationType": "session",
                "hibernateCache": "hazelcast",
                "clusteredHttpSession": "no",
                "websocket": "no",
                "databaseType": "sql",
                "devDatabaseType": "h2Memory",
                "prodDatabaseType": "mysql",
                "useSass": false,
                "enableTranslation": false,
                "buildTool": "maven",
                "frontendBuilder": "grunt",
                "rememberMeKey": "<KEY>",
                "searchEngine": "no"
            })
            .on('end', function () {
                assert.noFile([
                    'src/main/resources/i18n/messages_fr.properties',
                    'src/main/webapp/i18n/en/global.json',
                    'src/main/webapp/i18n/fr/global.json',
                    'src/main/webapp/scripts/components/language/language.controller.js',
                    'src/main/webapp/scripts/components/language/language.service.js'
                ]);
            });
    });

    it('creates expected files with social login enabled', function () {
        helpers.run(path.join(__dirname, '../app'))
            .withOptions({skipInstall: true})
            .withPrompts({
                "baseName": "jhipster",
                "packageName": "com.mycompany.myapp",
                "packageFolder": "com/mycompany/myapp",
                "authenticationType": "session-social",
                "hibernateCache": "ehcache",
                "clusteredHttpSession": "no",
                "websocket": "no",
                "databaseType": "sql",
                "devDatabaseType": "h2Memory",
                "prodDatabaseType": "mysql",
                "useSass": false,
                "enableTranslation": true,
                "buildTool": "maven",
                "frontendBuilder": "grunt",
                "rememberMeKey": "<KEY>",
                "searchEngine": "no"
            })
            .on('end', function () {
                assert.file([
                    'src/main/java/com/mycompany/myapp/config/social/SocialConfiguration.java',
                    'src/main/java/com/mycompany/myapp/domain/SocialUserConnection.java',
                    'src/main/java/com/mycompany/myapp/repository/CustomSocialConnectionRepository.java',
                    'src/main/java/com/mycompany/myapp/repository/CustomSocialUsersConnectionRepository.java',
                    'src/main/java/com/mycompany/myapp/repository/SocialUserConnectionRepository.java',
                    'src/main/java/com/mycompany/myapp/security/social/CustomSignInAdapter.java',
                    'src/main/java/com/mycompany/myapp/service/SocialService.java',
                    'src/main/java/com/mycompany/myapp/web/rest/SocialController.java',
                    'src/test/java/com/mycompany/myapp/repository/CustomSocialUsersConnectionRepositoryIntTest.java',
                    'src/test/java/com/mycompany/myapp/service/SocialServiceIntTest.java'
                ]);
            });
    });

});
<commit_msg>revert change for assert<commit_after>/*global describe, beforeEach, it*/
'use strict';

var path = require('path');
var assert = require('yeoman-generator').assert;
var helpers = require('yeoman-generator').test;
var os = require('os');

describe('JHipster generator', function () {
    it('creates files for default configuration', function () {
        helpers.run(path.join(__dirname, '../app'))
            .withOptions({skipInstall: true})
            .withPrompts({
                "baseName": "jhipster",
                "packageName": "com.mycompany.myapp",
                "packageFolder": "com/mycompany/myapp",
                "authenticationType": "session",
                "hibernateCache": "ehcache",
                "clusteredHttpSession": "no",
                "websocket": "no",
                "databaseType": "sql",
                "devDatabaseType": "h2Memory",
                "prodDatabaseType": "mysql",
                "useSass": false,
                "enableTranslation": true,
                "buildTool": "maven",
                "frontendBuilder": "grunt",
                "rememberMeKey": "<KEY>",
                "searchEngine": "no"
            })
            .on('end', function () {
                assert.file([
                    'bower.json',
                    'package.json',
                    'README.md',
                    '.bowerrc',
                    '.gitignore',
                    '.gitattributes',
                    'Gruntfile.js',
                    'pom.xml',
                    'mvnw',
                    'mvnw.cmd',
                    'src/main/resources/banner.txt',
                    'src/main/resources/ehcache.xml',
                    'src/main/resources/.h2.server.properties',
                    'src/main/resources/templates/error.html',
                    'src/main/resources/logback-spring.xml',
                    'src/main/resources/config/application.yml',
                    'src/main/resources/config/application-dev.yml',
                    'src/main/resources/config/application-prod.yml',
                    'src/main/resources/config/liquibase/changelog/00000000000000_initial_schema.xml',
                    'src/main/resources/config/liquibase/master.xml',
                    'src/main/resources/config/liquibase/users.csv',
                    'src/main/resources/config/liquibase/authorities.csv',
                    'src/main/resources/config/liquibase/users_authorities.csv',
                    'src/main/resources/mails/activationEmail.html',
                    'src/main/resources/mails/passwordResetEmail.html',
                    'src/main/java/com/mycompany/myapp/Application.java',
                    'src/main/java/com/mycompany/myapp/ApplicationWebXml.java',
                    'src/main/java/com/mycompany/myapp/aop/logging/LoggingAspect.java',
                    'src/main/java/com/mycompany/myapp/config/apidoc/package-info.java',
                    'src/main/java/com/mycompany/myapp/config/apidoc/SwaggerConfiguration.java',
                    'src/main/java/com/mycompany/myapp/async/package-info.java',
                    'src/main/java/com/mycompany/myapp/async/ExceptionHandlingAsyncTaskExecutor.java',
                    'src/main/java/com/mycompany/myapp/config/package-info.java',
                    'src/main/java/com/mycompany/myapp/config/AsyncConfiguration.java',
                    'src/main/java/com/mycompany/myapp/config/CacheConfiguration.java',
                    'src/main/java/com/mycompany/myapp/config/Constants.java',
                    'src/main/java/com/mycompany/myapp/config/CloudDatabaseConfiguration.java',
                    'src/main/java/com/mycompany/myapp/config/DatabaseConfiguration.java',
                    'src/main/java/com/mycompany/myapp/config/JacksonConfiguration.java',
                    'src/main/java/com/mycompany/myapp/config/LocaleConfiguration.java',
                    'src/main/java/com/mycompany/myapp/config/LoggingAspectConfiguration.java',
                    'src/main/java/com/mycompany/myapp/config/MetricsConfiguration.java',
                    'src/main/java/com/mycompany/myapp/config/SecurityConfiguration.java',
                    'src/main/java/com/mycompany/myapp/config/ThymeleafConfiguration.java',
                    'src/main/java/com/mycompany/myapp/config/WebConfigurer.java',
                    'src/main/java/com/mycompany/myapp/config/audit/package-info.java',
                    'src/main/java/com/mycompany/myapp/config/audit/AuditEventConverter.java',
                    'src/main/java/com/mycompany/myapp/config/locale/package-info.java',
                    'src/main/java/com/mycompany/myapp/config/locale/AngularCookieLocaleResolver.java',
                    'src/main/java/com/mycompany/myapp/domain/package-info.java',
                    'src/main/java/com/mycompany/myapp/domain/AbstractAuditingEntity.java',
                    'src/main/java/com/mycompany/myapp/domain/Authority.java',
                    'src/main/java/com/mycompany/myapp/domain/PersistentAuditEvent.java',
                    'src/main/java/com/mycompany/myapp/domain/PersistentToken.java',
                    'src/main/java/com/mycompany/myapp/domain/User.java',
                    'src/main/java/com/mycompany/myapp/domain/util/JSR310DateConverters.java',
                    'src/main/java/com/mycompany/myapp/domain/util/JSR310DateTimeSerializer.java',
                    'src/main/java/com/mycompany/myapp/domain/util/JSR310LocalDateDeserializer.java',
                    'src/main/java/com/mycompany/myapp/domain/util/JSR310PersistenceConverters.java',
                    'src/main/java/com/mycompany/myapp/repository/package-info.java',
                    'src/main/java/com/mycompany/myapp/repository/AuthorityRepository.java',
                    'src/main/java/com/mycompany/myapp/repository/CustomAuditEventRepository.java',
                    'src/main/java/com/mycompany/myapp/repository/PersistenceAuditEventRepository.java',
                    'src/main/java/com/mycompany/myapp/repository/UserRepository.java',
                    'src/main/java/com/mycompany/myapp/repository/PersistentTokenRepository.java',
                    'src/main/java/com/mycompany/myapp/security/package-info.java',
                    'src/main/java/com/mycompany/myapp/security/AjaxAuthenticationFailureHandler.java',
                    'src/main/java/com/mycompany/myapp/security/AjaxAuthenticationSuccessHandler.java',
                    'src/main/java/com/mycompany/myapp/security/AjaxLogoutSuccessHandler.java',
                    'src/main/java/com/mycompany/myapp/security/AuthoritiesConstants.java',
                    'src/main/java/com/mycompany/myapp/security/CustomPersistentRememberMeServices.java',
                    'src/main/java/com/mycompany/myapp/security/Http401UnauthorizedEntryPoint.java',
                    'src/main/java/com/mycompany/myapp/security/SecurityUtils.java',
                    'src/main/java/com/mycompany/myapp/security/SpringSecurityAuditorAware.java',
                    'src/main/java/com/mycompany/myapp/security/UserDetailsService.java',
                    'src/main/java/com/mycompany/myapp/security/UserNotActivatedException.java',
                    'src/main/java/com/mycompany/myapp/service/package-info.java',
                    'src/main/java/com/mycompany/myapp/service/AuditEventService.java',
                    'src/main/java/com/mycompany/myapp/service/UserService.java',
                    'src/main/java/com/mycompany/myapp/service/MailService.java',
                    'src/main/java/com/mycompany/myapp/service/util/RandomUtil.java',
                    'src/main/java/com/mycompany/myapp/web/filter/package-info.java',
                    'src/main/java/com/mycompany/myapp/web/filter/CachingHttpHeadersFilter.java',
                    'src/main/java/com/mycompany/myapp/web/filter/StaticResourcesProductionFilter.java',
                    'src/main/java/com/mycompany/myapp/web/filter/CsrfCookieGeneratorFilter.java',
                    'src/main/java/com/mycompany/myapp/web/rest/dto/package-info.java',
                    'src/main/java/com/mycompany/myapp/web/rest/dto/LoggerDTO.java',
                    'src/main/java/com/mycompany/myapp/web/rest/dto/UserDTO.java',
                    'src/main/java/com/mycompany/myapp/web/rest/util/PaginationUtil.java',
                    'src/main/java/com/mycompany/myapp/web/rest/package-info.java',
                    'src/main/java/com/mycompany/myapp/web/rest/AccountResource.java',
                    'src/main/java/com/mycompany/myapp/web/rest/AuditResource.java',
                    'src/main/java/com/mycompany/myapp/web/rest/LogsResource.java',
                    'src/main/java/com/mycompany/myapp/web/rest/UserResource.java',
                    'src/test/java/com/mycompany/myapp/security/SecurityUtilsUnitTest.java',
                    'src/test/java/com/mycompany/myapp/service/UserServiceIntTest.java',
                    'src/test/java/com/mycompany/myapp/web/rest/AccountResourceIntTest.java',
                    'src/test/java/com/mycompany/myapp/web/rest/AuditResourceIntTest.java',
                    'src/test/java/com/mycompany/myapp/web/rest/TestUtil.java',
                    'src/test/java/com/mycompany/myapp/web/rest/UserResourceIntTest.java',
                    'src/test/resources/config/application.yml',
                    'src/test/resources/logback-test.xml',
                    'src/test/resources/ehcache.xml',
                    'src/test/gatling/conf/gatling.conf',
                    'src/main/webapp/assets/styles/main.css',
                    'src/main/webapp/favicon.ico',
                    'src/main/webapp/robots.txt',
                    'src/main/webapp/.htaccess',
                    'src/main/webapp/i18n/en/activate.json',
                    'src/main/webapp/i18n/en/audits.json',
                    'src/main/webapp/i18n/en/configuration.json',
                    'src/main/webapp/i18n/en/error.json',
                    'src/main/webapp/i18n/en/global.json',
                    'src/main/webapp/i18n/en/health.json',
                    'src/main/webapp/i18n/en/login.json',
                    'src/main/webapp/i18n/en/logs.json',
                    'src/main/webapp/i18n/en/main.json',
                    'src/main/webapp/i18n/en/metrics.json',
                    'src/main/webapp/i18n/en/password.json',
                    'src/main/webapp/i18n/en/register.json',
                    'src/main/webapp/i18n/en/sessions.json',
                    'src/main/webapp/i18n/en/settings.json',
                    'src/main/webapp/i18n/en/reset.json',
                    'src/main/webapp/i18n/en/user.management.json',
                    'src/main/resources/i18n/messages_en.properties',
                    'src/main/webapp/i18n/fr/activate.json',
                    'src/main/webapp/i18n/fr/audits.json',
                    'src/main/webapp/i18n/fr/configuration.json',
                    'src/main/webapp/i18n/fr/error.json',
                    'src/main/webapp/i18n/fr/global.json',
                    'src/main/webapp/i18n/fr/health.json',
                    'src/main/webapp/i18n/fr/login.json',
                    'src/main/webapp/i18n/fr/logs.json',
                    'src/main/webapp/i18n/fr/main.json',
                    'src/main/webapp/i18n/fr/metrics.json',
                    'src/main/webapp/i18n/fr/password.json',
                    'src/main/webapp/i18n/fr/register.json',
                    'src/main/webapp/i18n/fr/sessions.json',
                    'src/main/webapp/i18n/fr/settings.json',
                    'src/main/webapp/i18n/fr/reset.json',
                    'src/main/webapp/i18n/fr/user.management.json',
                    'src/main/resources/i18n/messages_fr.properties',
                    'src/main/webapp/scripts/app/app.js',
                    'src/main/webapp/scripts/components/admin/audits.service.js',
                    'src/main/webapp/scripts/components/admin/configuration.service.js',
                    'src/main/webapp/scripts/components/admin/logs.service.js',
                    'src/main/webapp/scripts/components/admin/monitoring.service.js',
                    'src/main/webapp/scripts/components/auth/auth.service.js',
                    'src/main/webapp/scripts/components/auth/principal.service.js',
                    'src/main/webapp/scripts/components/auth/authority.directive.js',
                    'src/main/webapp/scripts/components/auth/provider/auth.session.service.js',
                    'src/main/webapp/scripts/components/auth/services/account.service.js',
                    'src/main/webapp/scripts/components/auth/services/activate.service.js',
                    'src/main/webapp/scripts/components/auth/services/password.service.js',
                    'src/main/webapp/scripts/components/auth/services/register.service.js',
                    'src/main/webapp/scripts/components/auth/services/sessions.service.js',
                    'src/main/webapp/scripts/components/form/form.directive.js',
                    'src/main/webapp/scripts/components/form/uib-pager.config.js',
                    'src/main/webapp/scripts/components/form/uib-pagination.config.js',
                    'src/main/webapp/scripts/components/language/language.controller.js',
                    'src/main/webapp/scripts/components/language/language.service.js',
                    'src/main/webapp/scripts/components/navbar/navbar.directive.js',
                    'src/main/webapp/scripts/components/navbar/navbar.html',
                    'src/main/webapp/scripts/components/navbar/navbar.controller.js',
                    'src/main/webapp/scripts/components/user/user.service.js',
                    'src/main/webapp/scripts/components/util/base64.service.js',
                    'src/main/webapp/scripts/components/util/parse-links.service.js',
                    'src/main/webapp/scripts/components/util/truncate.filter.js',
                    'src/main/webapp/scripts/components/util/date-util.service.js',
                    'src/main/webapp/scripts/components/util/sort.directive.js',
                    'src/main/webapp/scripts/app/account/account.js',
                    'src/main/webapp/scripts/app/account/activate/activate.html',
                    'src/main/webapp/scripts/app/account/activate/activate.js',
                    'src/main/webapp/scripts/app/account/activate/activate.controller.js',
                    'src/main/webapp/scripts/app/account/login/login.html',
                    'src/main/webapp/scripts/app/account/login/login.js',
                    'src/main/webapp/scripts/app/account/login/login.controller.js',
                    'src/main/webapp/scripts/app/account/password/password.html',
                    'src/main/webapp/scripts/app/account/password/password.js',
                    'src/main/webapp/scripts/app/account/password/password.controller.js',
                    'src/main/webapp/scripts/app/account/password/password.directive.js',
                    'src/main/webapp/scripts/app/account/register/register.html',
                    'src/main/webapp/scripts/app/account/register/register.js',
                    'src/main/webapp/scripts/app/account/register/register.controller.js',
                    'src/main/webapp/scripts/app/account/reset/request/reset.request.html',
                    'src/main/webapp/scripts/app/account/reset/request/reset.request.js',
                    'src/main/webapp/scripts/app/account/reset/request/reset.request.controller.js',
                    'src/main/webapp/scripts/app/account/reset/finish/reset.finish.html',
                    'src/main/webapp/scripts/app/account/reset/finish/reset.finish.js',
                    'src/main/webapp/scripts/app/account/reset/finish/reset.finish.controller.js',
                    'src/main/webapp/scripts/app/account/sessions/sessions.html',
                    'src/main/webapp/scripts/app/account/sessions/sessions.js',
                    'src/main/webapp/scripts/app/account/sessions/sessions.controller.js',
                    'src/main/webapp/scripts/app/account/settings/settings.html',
                    'src/main/webapp/scripts/app/account/settings/settings.js',
                    'src/main/webapp/scripts/app/account/settings/settings.controller.js',
                    'src/main/webapp/scripts/app/admin/admin.js',
                    'src/main/webapp/scripts/app/admin/audits/audits.html',
                    'src/main/webapp/scripts/app/admin/audits/audits.js',
                    'src/main/webapp/scripts/app/admin/audits/audits.controller.js',
                    'src/main/webapp/scripts/app/admin/configuration/configuration.html',
                    'src/main/webapp/scripts/app/admin/configuration/configuration.js',
                    'src/main/webapp/scripts/app/admin/configuration/configuration.controller.js',
                    'src/main/webapp/scripts/app/admin/docs/docs.html',
                    'src/main/webapp/scripts/app/admin/docs/docs.js',
                    'src/main/webapp/scripts/app/admin/health/health.html',
                    'src/main/webapp/scripts/app/admin/health/health.js',
                    'src/main/webapp/scripts/app/admin/health/health.controller.js',
                    'src/main/webapp/scripts/app/admin/logs/logs.html',
                    'src/main/webapp/scripts/app/admin/logs/logs.js',
                    'src/main/webapp/scripts/app/admin/logs/logs.controller.js',
                    'src/main/webapp/scripts/app/admin/metrics/metrics.html',
                    'src/main/webapp/scripts/app/admin/metrics/metrics.js',
                    'src/main/webapp/scripts/app/admin/metrics/metrics.controller.js',
                    'src/main/webapp/scripts/app/error/error.html',
                    'src/main/webapp/scripts/app/error/accessdenied.html',
                    'src/main/webapp/scripts/app/entities/entity.js',
                    'src/main/webapp/scripts/app/error/error.js',
                    'src/main/webapp/scripts/app/main/main.html',
                    'src/main/webapp/scripts/app/main/main.js',
                    'src/main/webapp/scripts/app/main/main.controller.js',
                    'src/test/javascript/karma.conf.js',
                    'src/test/javascript/spec/helpers/httpBackend.js',
                    'src/test/javascript/spec/helpers/module.js',
                    'src/test/javascript/spec/app/admin/health/health.controller.spec.js',
                    'src/test/javascript/spec/app/account/login/login.controller.spec.js',
                    'src/test/javascript/spec/app/account/password/password.controller.spec.js',
                    'src/test/javascript/spec/app/account/password/password.directive.spec.js',
                    'src/test/javascript/spec/app/account/sessions/sessions.controller.spec.js',
                    'src/test/javascript/spec/app/account/settings/settings.controller.spec.js',
                    'src/test/javascript/spec/app/account/activate/activate.controller.spec.js',
                    'src/test/javascript/spec/app/account/register/register.controller.spec.js',
                    'src/test/javascript/spec/app/account/reset/finish/reset.finish.controller.spec.js',
                    'src/test/javascript/spec/app/account/reset/request/reset.request.controller.spec.js',
                    'src/test/javascript/spec/components/auth/auth.services.spec.js',
                    'src/main/webapp/assets/styles/documentation.css',
                    'src/main/webapp/assets/images/development_ribbon.png',
                    'src/main/webapp/assets/images/hipster.png',
                    'src/main/webapp/assets/images/hipster2x.png',
                    '.mvn/wrapper/maven-wrapper.jar',
                    '.mvn/wrapper/maven-wrapper.properties',
                    '.editorconfig',
                    '.jshintrc'
                ]);
            });
    });

    it('creates files with a specific package name', function () {
        helpers.run(path.join(__dirname, '../app'))
            .withOptions({skipInstall: true})
            .withPrompts({
                "baseName": "jhipster",
                "packageName": "com.otherpackage",
                "packageFolder": "com/otherpackage",
                "authenticationType": "session",
                "hibernateCache": "ehcache",
                "clusteredHttpSession": "no",
                "websocket": "no",
                "databaseType": "sql",
                "devDatabaseType": "h2Memory",
                "prodDatabaseType": "mysql",
                "useSass": false,
                "enableTranslation": true,
                "buildTool": "maven",
                "frontendBuilder": "grunt",
                "rememberMeKey": "<KEY>",
                "searchEngine": "no"
            })
            .on('end', function () {
                assert.file([
                    'src/main/java/com/otherpackage/Application.java'
                ]);
                assert.fileContent('src/main/java/com/otherpackage/Application.java', /package com\.otherpackage;/);
            });
    });

    it('creates files with a specific application name', function () {
        helpers.run(path.join(__dirname, '../app'))
            .withOptions({skipInstall: true})
            .withPrompts({
                "baseName": "myapplication",
                "packageName": "com.mycompany.myapp",
                "packageFolder": "com/mycompany/myapp",
                "authenticationType": "session",
                "hibernateCache": "ehcache",
                "clusteredHttpSession": "no",
                "websocket": "no",
                "databaseType": "sql",
                "devDatabaseType": "h2Memory",
                "prodDatabaseType": "mysql",
                "useSass": false,
                "enableTranslation": true,
                "buildTool": "maven",
                "frontendBuilder": "grunt",
                "rememberMeKey": "<KEY>",
                "searchEngine": "no"
            })
            .on('end', function () {
                assert.file([
                    'src/main/webapp/scripts/app/main/main.js'
                ]);
                assert.fileContent('src/main/webapp/scripts/app/main/main.js', /myapplicationApp/);
            });
    });

    it('creates expected files with authenticationType "oauth2"', function () {
        helpers.run(path.join(__dirname, '../app'))
            .withOptions({skipInstall: true})
            .withPrompts({
                "baseName": "jhipster",
                "packageName": "com.mycompany.myapp",
                "packageFolder": "com/mycompany/myapp",
                "authenticationType": "oauth2",
                "hibernateCache": "ehcache",
                "clusteredHttpSession": "no",
                "websocket": "no",
                "databaseType": "sql",
                "devDatabaseType": "h2Memory",
                "prodDatabaseType": "mysql",
                "useSass": false,
                "enableTranslation": true,
                "buildTool": "maven",
                "frontendBuilder": "grunt",
                "rememberMeKey": "<KEY>",
                "searchEngine": "no"
            })
            .on('end', function () {
                assert.file([
                    'src/main/java/com/mycompany/myapp/config/OAuth2ServerConfiguration.java'
                ]);
            });
    });

    it('creates expected files with hibernateCache "hazelcast"', function () {
        helpers.run(path.join(__dirname, '../app'))
            .withOptions({skipInstall: true})
            .withPrompts({
                "baseName": "jhipster",
                "packageName": "com.mycompany.myapp",
                "packageFolder": "com/mycompany/myapp",
                "authenticationType": "session",
                "hibernateCache": "hazelcast",
                "clusteredHttpSession": "no",
                "websocket": "no",
                "databaseType": "sql",
                "devDatabaseType": "h2Memory",
                "prodDatabaseType": "mysql",
                "useSass": false,
                "enableTranslation": true,
                "buildTool": "maven",
                "frontendBuilder": "grunt",
                "rememberMeKey": "<KEY>",
                "searchEngine": "no"
            })
            .on('end', function () {
                assert.file([
                    'src/main/java/com/mycompany/myapp/config/hazelcast/HazelcastCacheRegionFactory.java',
                    'src/main/java/com/mycompany/myapp/config/hazelcast/package-info.java'
                ]);
            });
    });

    it('does not create i18n files if i18n is disabled', function () {
        helpers.run(path.join(__dirname, '../app'))
            .withOptions({skipInstall: true})
            .withPrompts({
                "baseName": "jhipster",
                "packageName": "com.mycompany.myapp",
                "packageFolder": "com/mycompany/myapp",
                "authenticationType": "session",
                "hibernateCache": "hazelcast",
                "clusteredHttpSession": "no",
                "websocket": "no",
                "databaseType": "sql",
                "devDatabaseType": "h2Memory",
                "prodDatabaseType": "mysql",
                "useSass": false,
                "enableTranslation": false,
                "buildTool": "maven",
                "frontendBuilder": "grunt",
                "rememberMeKey": "<KEY>",
                "searchEngine": "no"
            })
            .on('end', function () {
                assert.noFile([
                    'src/main/resources/i18n/messages_fr.properties',
                    'src/main/webapp/i18n/en/global.json',
                    'src/main/webapp/i18n/fr/global.json',
                    'src/main/webapp/scripts/components/language/language.controller.js',
                    'src/main/webapp/scripts/components/language/language.service.js'
                ]);
            });
    });

    it('creates expected files with social login enabled', function () {
        helpers.run(path.join(__dirname, '../app'))
            .withOptions({skipInstall: true})
            .withPrompts({
                "baseName": "jhipster",
                "packageName": "com.mycompany.myapp",
                "packageFolder": "com/mycompany/myapp",
                "authenticationType": "session-social",
                "hibernateCache": "ehcache",
                "clusteredHttpSession": "no",
                "websocket": "no",
                "databaseType": "sql",
                "devDatabaseType": "h2Memory",
                "prodDatabaseType": "mysql",
                "useSass": false,
                "enableTranslation": true,
                "buildTool": "maven",
                "frontendBuilder": "grunt",
                "rememberMeKey": "<KEY>",
                "searchEngine": "no"
            })
            .on('end', function () {
                assert.file([
                    'src/main/java/com/mycompany/myapp/config/social/SocialConfiguration.java',
                    'src/main/java/com/mycompany/myapp/domain/SocialUserConnection.java',
                    'src/main/java/com/mycompany/myapp/repository/CustomSocialConnectionRepository.java',
                    'src/main/java/com/mycompany/myapp/repository/CustomSocialUsersConnectionRepository.java',
                    'src/main/java/com/mycompany/myapp/repository/SocialUserConnectionRepository.java',
                    'src/main/java/com/mycompany/myapp/security/social/CustomSignInAdapter.java',
                    'src/main/java/com/mycompany/myapp/service/SocialService.java',
                    'src/main/java/com/mycompany/myapp/web/rest/SocialController.java',
                    'src/test/java/com/mycompany/myapp/repository/CustomSocialUsersConnectionRepositoryIntTest.java',
                    'src/test/java/com/mycompany/myapp/service/SocialServiceIntTest.java'
                ]);
            });
    });

});

{'fraction_non_alphanumeric': 0.13615878121630937, 'fraction_numerical': 0.004277054134780227, 'mean_word_length': 1.666949472096531, 'pattern_counts': {'":': 224, '<': 17, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 14}, 'pii_count': 0, 'substrings_counts': 2, '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': '1641655', 'n_tokens_mistral': 16651, 'n_tokens_neox': 15592, 'n_words': 1249}