Commit e0b006d6 authored by Emmanuel Promayon's avatar Emmanuel Promayon

FIXED test config (action extension +1, but same number of actions)

parent f2f601f3
......@@ -21,16 +21,23 @@ set -e
# ---------------------- initTestData ----------------------
# values to check
initTestData() {
# fill test data
extensionCount=( [4.2]=53 [4.1]=41 [4.0]=31 )
#-- fill test data arrays
# Number of component, action and viewer extensions
componentExtensionCount=( [4.2]=14 [4.1]=14 [4.0]=14 )
actionExtensionCount=( [4.2]=29 [4.1]=27 [4.0]=27 )
viewerExtensionCount=( [4.2]=10 )
actionExtensionCount=( [4.2]=30 [4.1]=27 [4.0]=27 )
viewerExtensionCount=( [4.2]=10 )
# Number of different file format/extension manages by the component extensions
fileExtensionCount=( [4.2]=37 [4.1]=37 [4.0]=37 )
# Number of actions provided by the action extensions
actionCount=( [4.2]=108 [4.1]=105 [4.0]=105 )
viewerCount=( [4.2]=13 )
# fill release date
# Number of viewers managed by the viewer extensions
viewerCount=( [4.2]=13 )
#-- Release date
releaseDate=( [4.2]="not yet released, current development version" \
[4.1]="15 July 2018" \
[4.0]="22 July 2016" \
......@@ -40,7 +47,12 @@ initTestData() {
[3.2]="26 June 2013" \
[3.1]="1 March 2013" \
[3.0]="7 July 2012" )
#-- extensionCount is just the sum of all three extension counts
extensionCount=( [4.2]=$((componentExtensionCount[4.2] + actionExtensionCount[4.2] + viewerExtensionCount[4.2]))
[4.1]=$((componentExtensionCount[4.1] + actionExtensionCount[4.1]))
[4.0]=$((componentExtensionCount[4.0] + actionExtensionCount[4.0])) )
}
# ---------------------- declareTestData ----------------------
......
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