Commit 73f4b960 authored by Maxime Calka's avatar Maxime Calka

Correct the config file

parent edf219f1
...@@ -22,13 +22,13 @@ set -e ...@@ -22,13 +22,13 @@ set -e
# values to check # values to check
initTestData() { initTestData() {
# fill test data # fill test data
extensionCount=( [4.2]=46 [4.1]=41 [4.0]=31 ) extensionCount=( [4.2]=46 [4.1]=41 [4.0]=31 )
componentExtensionCount=( [4.2]=14 [4.1]=14 [4.0]=14 ) componentExtensionCount=( [4.2]=14 [4.1]=14 [4.0]=14 )
actionExtensionCount=( [4.2]=30 [4.1]=27 [4.0]=27 ) actionExtensionCount=( [4.2]=30 [4.1]=27 [4.0]=27 )
viewerExtensionCount=( [4.2]=2 [4.1]=0 [4.0]=0 ) viewerExtensionCount=( [4.2]=2 [4.1]=0 [4.0]=0 )
fileExtensionCount=( [4.2]=37 [4.1]=37 [4.0]=37 ) fileExtensionCount=( [4.2]=37 [4.1]=37 [4.0]=37 )
actionCount=( [4.2]=108 [4.1]=105 [4.0]=105 ) actionCount=( [4.2]=108 [4.1]=105 [4.0]=105 )
viewerCount=( [4.2]=2 [4.1]=0 [4.0]=0 )
# fill release date # fill release date
releaseDate=( [4.2]="not yet released, current development version" \ releaseDate=( [4.2]="not yet released, current development version" \
...@@ -50,8 +50,10 @@ declareTestData() { ...@@ -50,8 +50,10 @@ declareTestData() {
declare -Ag extensionCount declare -Ag extensionCount
declare -Ag componentExtensionCount declare -Ag componentExtensionCount
declare -Ag actionExtensionCount declare -Ag actionExtensionCount
declare -Ag viewerExtensionCount
declare -Ag fileExtensionCount declare -Ag fileExtensionCount
declare -Ag actionCount declare -Ag actionCount
declare -Ag viewerCount
declare -Ag releaseDate declare -Ag releaseDate
} }
...@@ -177,12 +179,18 @@ getExpectedValue() { ...@@ -177,12 +179,18 @@ getExpectedValue() {
"Number of Action Extensions") "Number of Action Extensions")
echo ${actionExtensionCount[$shortVersion]} echo ${actionExtensionCount[$shortVersion]}
;; ;;
"Number of Viewer Extensions")
echo ${viewerExtensionCount[$shortVersion]}
;;
"Number of File Extensions Supported") "Number of File Extensions Supported")
echo ${fileExtensionCount[$shortVersion]} echo ${fileExtensionCount[$shortVersion]}
;; ;;
"Number of Actions") "Number of Actions")
echo ${actionCount[$shortVersion]} echo ${actionCount[$shortVersion]}
;; ;;
"Number of Viewers")
echo ${viewerCount[$shortVersion]}
;;
esac esac
} }
...@@ -286,7 +294,9 @@ else ...@@ -286,7 +294,9 @@ else
fi fi
checkValue "Number of Component Extensions" checkValue "Number of Component Extensions"
checkValue "Number of Action Extensions" checkValue "Number of Action Extensions"
checkValue "Number of Viewer Extensions"
checkValue "Number of File Extensions Supported" checkValue "Number of File Extensions Supported"
checkValue "Number of Actions" checkValue "Number of Actions"
checkValue "Number of Viewers"
exit $exitStatus exit $exitStatus
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment