[ADF-2232] Content metadata layout oriented configuration (#2918)

* Small refactoring I.

* Small refactoring II.

* On the way of implementing the soultion

* Refactoring aspect to groups and supporting different type of configs

* Fixed linter errors

* Fix debug project runner

* Fix linting errors

* Fix and align tests

* Config factory tests

* Layout oriented config parser

* Adding layout oriented config to the config factory

* Update config schema

* Layout oriented config

* Aspect oriented and indifferent configs alignment to the new propertyGroups structure

* Remove dead codes

* Fixinfinite loading error and custom type properties

* Add documentation

* Fix tests
This commit is contained in:
Popovics András
2018-02-13 13:57:45 +00:00
committed by Eugenio Romano
parent a863631f0d
commit c109b9f6f3
36 changed files with 1760 additions and 891 deletions

View File

@@ -46,6 +46,7 @@ enable_test(){
enable_testbrowser(){
if [[ ! -z $1 ]]; then
if [[ $1 != "-"* ]]; then
EXEC_SINGLE_TEST=true
SINGLE_TEST=$1
fi
fi
@@ -104,7 +105,7 @@ while [[ $1 == -* ]]; do
shift;
fi
;;
-d|--debug) enable_testbrowser $2; shift; shift;;
-d|--debug) enable_testbrowser $2; shift; if $EXEC_SINGLE_TEST == true; then shift; fi ;;
-ft|--fasttest) enable_fast_test; shift;;
-gitjsapi) enable_js_api_git_link $2; shift 2;;
-vjsapi) version_js_api $2; shift 2;;
@@ -166,13 +167,16 @@ if $RUN_TEST == true; then
fi
if $RUN_TESTBROWSER == true; then
for PACKAGE in ${projects[@]}
do
DESTDIR="$DIR/../lib/"
cd $DESTDIR
if [[ $PACKAGE == $SINGLE_TEST ]]; then
DESTDIR="$DIR/../lib/"
cd $DESTDIR
if $EXEC_SINGLE_TEST == true; then
cp -n "$DESTDIR/config/karma-test-shim.js" "$DESTDIR/$SINGLE_TEST/"
debug_project $SINGLE_TEST
else
for PACKAGE in ${projects[@]}
do
debug_project $PACKAGE
fi
done
done
fi
fi