HUE-8686 [frontend] Move all the jasmine tests into the new js structure

Review Request #13659 - Created Feb. 28, 2019 and submitted

Johan Åhlén
hue
master
hue
jgauthier, ranade, romain, roohi, weixia, yingc
commit 8122e0f30d913dd95e8cc17483a1ed85978da4f3
Author: Johan Ahlen <johan@johanahlen.com>
Date:   Thu Feb 28 15:47:28 2019 +0100

    HUE-8686 [frontend] Move all the jasmine tests into the new js structure
    
    This adds the karma js test runner which allows us to execute the jasmine tests from the command line using a headless browser.
    
    Run the jasmine tests with "npm run test" or "npm run test-dev".

:100644 100644 8aa924d7c6 20b3ca68f9 M	.babelrc
:100644 100644 1785bfd477 3f6582ac3a M	.eslintignore
:100644 100644 d6233bb481 df0ebde18c M	.eslintrc.js
:100644 000000 c1ee1e73c6 0000000000 D	apps/oozie/src/oozie/templates/jasmine.mako
:100644 100644 33d4eaafb2 6e546322d3 M	apps/oozie/src/oozie/urls.py
:100644 000000 79be966a83 0000000000 D	apps/oozie/src/oozie/views/common.py
:000000 100644 0000000000 165cc59bcb A	desktop/core/src/desktop/js/api/spec/apiHelperSpec.js
:100644 100644 a5c8ac2148 d6c74588be M	desktop/core/src/desktop/js/hue.js
:000000 100644 0000000000 06108085fd A	desktop/core/src/desktop/js/parse/spec/globalSearchParserSpec.js
:000000 100644 0000000000 451456801a A	desktop/core/src/desktop/js/parse/spec/solrFormulaParserSpec.js
:000000 100644 0000000000 7826b4388b A	desktop/core/src/desktop/js/parse/spec/solrQueryParserSpec.js
:000000 100644 0000000000 6f132adc10 A	desktop/core/src/desktop/js/parse/spec/sqlAutocompleteParserSpec.js
:000000 100644 0000000000 434c549167 A	desktop/core/src/desktop/js/parse/spec/sqlAutocompleteParser_Alter_Spec.js
:000000 100644 0000000000 5d4231a659 A	desktop/core/src/desktop/js/parse/spec/sqlAutocompleteParser_Analyze_Spec.js
:000000 100644 0000000000 30cc7cef6d A	desktop/core/src/desktop/js/parse/spec/sqlAutocompleteParser_Create_Spec.js
:000000 100644 0000000000 6155d21dff A	desktop/core/src/desktop/js/parse/spec/sqlAutocompleteParser_Describe_Hive_Spec.js
:000000 100644 0000000000 7038afc6ee A	desktop/core/src/desktop/js/parse/spec/sqlAutocompleteParser_Describe_Impala_Spec.js
:000000 100644 0000000000 cdf9849a9f A	desktop/core/src/desktop/js/parse/spec/sqlAutocompleteParser_Drop_Spec.js
:000000 100644 0000000000 f300e8c036 A	desktop/core/src/desktop/js/parse/spec/sqlAutocompleteParser_Error_Spec.js
:000000 100644 0000000000 25a15d2b7a A	desktop/core/src/desktop/js/parse/spec/sqlAutocompleteParser_Grant_Spec.js
:000000 100644 0000000000 4aa1df8203 A	desktop/core/src/desktop/js/parse/spec/sqlAutocompleteParser_Insert_Spec.js
:000000 100644 0000000000 01b180c675 A	desktop/core/src/desktop/js/parse/spec/sqlAutocompleteParser_Load_Spec.js
:000000 100644 0000000000 f747ae7006 A	desktop/core/src/desktop/js/parse/spec/sqlAutocompleteParser_Locations_Spec.js
:000000 100644 0000000000 8ef73ca3be A	desktop/core/src/desktop/js/parse/spec/sqlAutocompleteParser_Select_Spec.js
:000000 100644 0000000000 19dcef17de A	desktop/core/src/desktop/js/parse/spec/sqlAutocompleteParser_Set_Spec.js
:000000 100644 0000000000 720647e325 A	desktop/core/src/desktop/js/parse/spec/sqlAutocompleteParser_Show_Spec.js
:000000 100644 0000000000 5c8e9af78c A	desktop/core/src/desktop/js/parse/spec/sqlAutocompleteParser_Update_Spec.js
:000000 100644 0000000000 debd7a5f39 A	desktop/core/src/desktop/js/parse/spec/sqlAutocompleteParser_Use_Spec.js
:000000 100644 0000000000 dac3434025 A	desktop/core/src/desktop/js/parse/spec/sqlParseSupportSpec.js
:000000 100644 0000000000 9c440f45bf A	desktop/core/src/desktop/js/parse/spec/sqlStatementsParserSpec.js
:000000 100644 0000000000 8ffda75e15 A	desktop/core/src/desktop/js/parse/spec/sqlSyntaxParserSpec.js
:000000 100644 0000000000 b95e1ae2c5 A	desktop/core/src/desktop/js/parse/spec/sqlTestUtils.js
:000000 100644 0000000000 8f73407ff2 A	desktop/core/src/desktop/js/sql/spec/parseResults.json
:000000 100644 0000000000 d8f3512355 A	desktop/core/src/desktop/js/sql/spec/sqlFunctionsSpec.js
:100644 100644 f9c6b4181a bee33531f3 M	desktop/core/src/desktop/js/utils/hueUtils.js
:000000 100644 0000000000 24272e5c8e A	desktop/core/src/desktop/js/utils/spec/customIntervalsSpec.js
:000000 100644 0000000000 3b35bb1d9d A	desktop/core/src/desktop/js/utils/spec/hueUtilsSpec.js
:100644 000000 8c008dc722 0000000000 D	desktop/core/src/desktop/static/desktop/ext/css/jasmine.css
:100755 000000 04ed64c1c0 0000000000 D	desktop/core/src/desktop/static/desktop/ext/js/jasmine-2.3.4/boot.js
:100755 000000 e15480665f 0000000000 D	desktop/core/src/desktop/static/desktop/ext/js/jasmine-2.3.4/console.js
:100755 000000 259f45ce26 0000000000 D	desktop/core/src/desktop/static/desktop/ext/js/jasmine-2.3.4/jasmine-html.js
:100755 000000 f9f4ae901e 0000000000 D	desktop/core/src/desktop/static/desktop/ext/js/jasmine-2.3.4/jasmine.css
:100755 000000 312d591e12 0000000000 D	desktop/core/src/desktop/static/desktop/ext/js/jasmine-2.3.4/jasmine.js
:100755 000000 3b84583be4 0000000000 D	desktop/core/src/desktop/static/desktop/ext/js/jasmine-2.3.4/jasmine_favicon.png
:100644 000000 93465460ac 0000000000 D	desktop/core/src/desktop/static/desktop/ext/js/jasmine-2.3.4/junit_reporter.js
:100644 000000 2eaf4febe2 0000000000 D	desktop/core/src/desktop/static/desktop/ext/js/jasmine-2.3.4/mock-ajax.js
:100644 000000 cf466f50a9 0000000000 D	desktop/core/src/desktop/static/desktop/ext/js/jasmine-2.3.4/terminal_reporter.js
:100644 000000 67bb4e858f 0000000000 D	desktop/core/src/desktop/static/desktop/js/autocomplete/spec/sqlParseSupportSpec.js
:100644 000000 df7dce54da 0000000000 D	desktop/core/src/desktop/static/desktop/js/autocomplete/spec/sqlSpec.js
:100644 000000 c4cc04844b 0000000000 D	desktop/core/src/desktop/static/desktop/js/autocomplete/spec/sqlSpecAlter.js
:100644 000000 016dc8582c 0000000000 D	desktop/core/src/desktop/static/desktop/js/autocomplete/spec/sqlSpecAnalyze.js
:100644 000000 33ab50efd7 0000000000 D	desktop/core/src/desktop/static/desktop/js/autocomplete/spec/sqlSpecCreate.js
:100644 000000 e1e55b9428 0000000000 D	desktop/core/src/desktop/static/desktop/js/autocomplete/spec/sqlSpecDescribe_hive.js
:100644 000000 a67bf0efa6 0000000000 D	desktop/core/src/desktop/static/desktop/js/autocomplete/spec/sqlSpecDescribe_impala.js
:100644 000000 8e6cdbf7ca 0000000000 D	desktop/core/src/desktop/static/desktop/js/autocomplete/spec/sqlSpecDrop.js
:100644 000000 196415b1ea 0000000000 D	desktop/core/src/desktop/static/desktop/js/autocomplete/spec/sqlSpecError.js
:100644 000000 e0508c430e 0000000000 D	desktop/core/src/desktop/static/desktop/js/autocomplete/spec/sqlSpecGrant.js
:100644 000000 29118f3157 0000000000 D	desktop/core/src/desktop/static/desktop/js/autocomplete/spec/sqlSpecInsert.js
:100644 000000 d75963972e 0000000000 D	desktop/core/src/desktop/static/desktop/js/autocomplete/spec/sqlSpecLoad.js
:100644 000000 c751e56629 0000000000 D	desktop/core/src/desktop/static/desktop/js/autocomplete/spec/sqlSpecLocations.js
:100644 000000 476b00e099 0000000000 D	desktop/core/src/desktop/static/desktop/js/autocomplete/spec/sqlSpecSelect.js
:100644 000000 2aa74fc7d5 0000000000 D	desktop/core/src/desktop/static/desktop/js/autocomplete/spec/sqlSpecSet.js
:100644 000000 55b2d240e0 0000000000 D	desktop/core/src/desktop/static/desktop/js/autocomplete/spec/sqlSpecShow.js
:100644 000000 6e6232d155 0000000000 D	desktop/core/src/desktop/static/desktop/js/autocomplete/spec/sqlSpecUpdate.js
:100644 000000 16f4bdd74a 0000000000 D	desktop/core/src/desktop/static/desktop/js/autocomplete/spec/sqlSpecUse.js
:100644 000000 a658ede2b2 0000000000 D	desktop/core/src/desktop/static/desktop/js/autocomplete/spec/sqlStatementsParserSpec.js
:100644 000000 c1d24c0465 0000000000 D	desktop/core/src/desktop/static/desktop/js/autocomplete/spec/sqlSyntaxParserSpec.js
:100644 000000 6dbdf13dcc 0000000000 D	desktop/core/src/desktop/static/desktop/spec/apiHelperSpec.js
:100644 000000 fec149d04d 0000000000 D	desktop/core/src/desktop/static/desktop/spec/autocomplete/globalSearchParserSpec.js
:100644 000000 bc9e4271bb 0000000000 D	desktop/core/src/desktop/static/desktop/spec/autocomplete/solrFormulaParserSpec.js
:100644 000000 4c5ea491b3 0000000000 D	desktop/core/src/desktop/static/desktop/spec/autocomplete/solrQueryParserSpec.js
:100644 000000 cea1ffb386 0000000000 D	desktop/core/src/desktop/static/desktop/spec/autocompleterTestUtils.js
:100644 000000 afb0463e87 0000000000 D	desktop/core/src/desktop/static/desktop/spec/hue4UtilsSpec.js
:100644 000000 1633e546b1 0000000000 D	desktop/core/src/desktop/static/desktop/spec/hueUtilsSpec.js
:100644 000000 8ea41b73ba 0000000000 D	desktop/core/src/desktop/static/desktop/spec/sqlFunctionsSpec.js
:100644 000000 94a3c19e78 0000000000 D	desktop/core/src/desktop/templates/common_jasmine.mako
:100644 000000 fe9650dfd0 0000000000 D	desktop/core/src/desktop/templates/jasmine.mako
:100644 000000 a5284a4439 0000000000 D	desktop/core/src/desktop/templates/jasmineRunner.html
:100644 100644 4a7bc46409 d941a255c8 M	desktop/core/src/desktop/urls.py
:100644 100644 adc85a0d2a c91cf0e210 M	desktop/core/src/desktop/views.py
:100644 100644 4af2d493bb 4f63dce9d1 M	docs/sdk/sdk.md
:000000 100644 0000000000 10ad337ac7 A	karma.config.js
:100644 100644 5f8aed8ec6 9e8a59ec18 M	package-lock.json
:100644 100644 ebfd8c0322 12a23810df M	package.json
:100644 000000 0088af6a73 0000000000 D	tools/jasmine/phantomjs-testrunner.js
:100755 000000 c295e04eb4 0000000000 D	tools/jasmine/phantomjs.runner.sh
Manual on Chrome
  1. Ship It!
  2. 
      
Review request changed

Status: Closed (submitted)

Loading...