Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@
"%preferencesServer/configs/gpii.preferencesServer.config.development.json",
"%canopyMatchMaker/configs/gpii.canopyMatchMaker.config.base.json",
"%rawPreferencesServer/configs/gpii.rawPreferencesServer.config.development.json",
"%deviceReporter/configs/gpii.deviceReporter.config.development.json"
"%deviceReporter/configs/gpii.deviceReporter.config.production.json"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this a change that you have made? And if so, what's the reason?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this is a change I made. The reason being that this JIRA is about using the production version of the device reporter for acceptance testing. I'm guessing from your comment that the proposed change is not specific to testing, or has nothing to do with testing at all. Is that correct?

]
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions gpii/node_modules/settingsHandlers/test/data/basicOut.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 0 additions & 13 deletions tests/configs/gpii.tests.acceptance.localInstall.config.json

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
This configuration file is used for acceptance testing.

It uses the basic (default) development setup of the system, but replaces the
folder with NP sets used to be (universal)/testData/preferences/acceptanceTests
as opposed to the normal preferences folder.
Besides that, everything will be based on the normal development mode setup.
It uses the basic (default) development setup of the system, with a couple of
modifications. It replaces the folder with NP sets in (universal)/testData/preferences/acceptanceTests
as opposed to the normal preferences folder. It also uses the dynamic device
reporter (the device reporter in production mode). Otherwise, everything else
is based on the normal development mode setup.

The name "localInstall" refers to a setup where GPII is running as installed
locally on the machine (as opposed to eg. running the system as a cloudBased flowmanager).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
}
}
},
"mergeConfigs": "%universal/tests/configs/gpii.tests.acceptance.localInstall.config.json"
"mergeConfigs": "%universal/tests/configs/gpii.tests.acceptance.localInstall.dynamicDeviceReporter.config.json"
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
This config file is used for integration and acceptance tests on Android.

It includes to the basic localInstall setup for acceptance tests (modifying the
preferences folder used), which in turn includes the standard development
config file (running GPII locally, using development setup).

This config sets the device reporter file to be 'android_builtIn.json', which will
report only the standard built in solutions as installed.
It makes use of dynamic device reporter: It uses the basic local install setup
in development mode, but with the device reporter in production mode, merging in
gpii's "all.development.dr.production" configuration.
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
}
}
},
"mergeConfigs": "%universal/tests/configs/gpii.tests.acceptance.localInstall.config.json"
"mergeConfigs": "%universal/tests/configs/gpii.tests.acceptance.localInstall.dynamicDeviceReporter.config.json"
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
This configuration file is used by the for acceptance test: android-talkback-testSpec.js.

It includes to the basic localInstall setup for acceptance tests (modifying the
preferences folder used), which in turn includes the standard development
config file (running GPII locally, using development setup).

This config sets the device reporter file to be 'talkback.json', which will report
Talkback as being installed on the system.
It makes use of dynamic device reporter: It includes the basic local install
setup in development mode, but with the device reporter in production mode,
merging in gpii's "all.development.dr.production" configuration.
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
}
}
},
"mergeConfigs": "%universal/tests/configs/gpii.tests.acceptance.localInstall.config.json"
"mergeConfigs": "%universal/tests/configs/gpii.tests.acceptance.localInstall.dynamicDeviceReporter.config.json"
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
This config file is used for integration and acceptance tests on Linux as well as the context integration tests

It includes to the basic localInstall setup for acceptance tests (modifying the
preferences folder used), which in turn includes the standard development
config file (running GPII locally, using development setup).

This config sets the device reporter file to be 'linux_builtIn.json', which will
report only the standard built in solutions as installed.
It makes use of dynamic device reporter: It includes the basic local install
setup in development mode, but with the device reporter in production mode,
merging in gpii's "all.development.dr.production" configuration.
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
}
}
},
"mergeConfigs": "%universal/tests/configs/gpii.tests.acceptance.localInstall.config.json"
"mergeConfigs": "%universal/tests/configs/gpii.tests.acceptance.localInstall.dynamicDeviceReporter.config.json"
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
This configuration file is used for testing the chrome extension in Linux

It includes to the basic localInstall setup for acceptance tests (modifying the
preferences folder used), which in turn includes the standard development
config file (running GPII locally, using development setup).

This config sets the device reporter file to be 'chrome.json', which will report
the Cloud4all Chrome extension for Google Chrome as being installed on the system.
It makes use of dynamic device reporter: It includes the basic local install
setup in development mode (modifying the preferences folder used), but with the
device reporter in production mode, merging in gpii's
"all.development.dr.production" configuration.
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
}
}
},
"mergeConfigs": "%universal/tests/configs/gpii.tests.acceptance.localInstall.config.json"
"mergeConfigs": "%universal/tests/configs/gpii.tests.acceptance.localInstall.dynamicDeviceReporter.config.json"
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
This configuration file is used by the for acceptance test: AcceptanceTests_orca.js.
This configuration file is used by the acceptance test: AcceptanceTests_orca.js.

It includes to the basic localInstall setup for acceptance tests (modifying the
preferences folder used), which in turn includes the standard development
config file (running GPII locally, using development setup).

This config sets the device reporter file to be 'orca.json', which will report
Orca as being installed on the system.
It makes use of dynamic device reporter: It includes the basic local install
setup in development mode (modifying the preferences folder used), but with the
device reporter in production mode, merging in gpii's
"all.development.dr.production" configuration.
28 changes: 24 additions & 4 deletions tests/platform/linux/linux-builtIn-testSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,12 @@ gpii.tests.linux.builtIn.testDefs = fluid.freezeRecursive([
"expectConfigured": "true",
"expectRestored": "false"
}
]
],
deviceReporters: {
"gpii.packageKit.find": {
"expectInstalled": ["gnome-shell"]
}
}
},
{
name: "Testing os_common2 using default matchmaker",
Expand All @@ -76,7 +81,12 @@ gpii.tests.linux.builtIn.testDefs = fluid.freezeRecursive([
}]
}
},
processes: []
processes: [],
deviceReporters: {
"gpii.packageKit.find": {
"expectInstalled": ["gsettings-desktop-schemas"]
}
}
},
{
name: "Testing os_gnome using default matchmaker",
Expand Down Expand Up @@ -115,7 +125,12 @@ gpii.tests.linux.builtIn.testDefs = fluid.freezeRecursive([
"expectConfigured": "true",
"expectRestored": "false"
}
]
],
deviceReporters: {
"gpii.packageKit.find": {
"expectInstalled": ["gnome-shell"]
}
}
},
{
name: "Testing os_win7 using default matchmaker",
Expand Down Expand Up @@ -151,7 +166,12 @@ gpii.tests.linux.builtIn.testDefs = fluid.freezeRecursive([
"expectConfigured": "true",
"expectRestored": "false"
}
]
],
deviceReporters: {
"gpii.packageKit.find": {
"expectInstalled": ["gnome-shell"]
}
}
}
]);

Expand Down
21 changes: 18 additions & 3 deletions tests/platform/linux/linux-orca-testSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,12 @@ gpii.tests.linux.orca.testDefs = [
"expectConfigured": "true",
"expectRestored": "false"
}
]
],
deviceReporters: {
"gpii.packageKit.find": {
"expectInstalled": ["orca"]
}
}
},
{
name: "Testing screenreader_orca using Flat matchmaker",
Expand Down Expand Up @@ -94,7 +99,12 @@ gpii.tests.linux.orca.testDefs = [
"expectConfigured": "true",
"expectRestored": "false"
}
]
],
deviceReporters: {
"gpii.packageKit.find": {
"expectInstalled": ["orca"]
}
}
},
{
name: "Testing screenreader_nvda using Flat matchmaker",
Expand Down Expand Up @@ -129,7 +139,12 @@ gpii.tests.linux.orca.testDefs = [
"expectConfigured": "true",
"expectRestored": "false"
}
]
],
deviceReporters: {
"gpii.packageKit.find": {
"expectInstalled": ["orca"]
}
}
}
];

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
}
}
},
"mergeConfigs": "%universal/tests/configs/gpii.tests.acceptance.localInstall.config.json"
"mergeConfigs": "%universal/tests/configs/gpii.tests.acceptance.localInstall.dynamicDeviceReporter.config.json"
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
This configuration file is used by the for acceptance test: AcceptanceTests_builtIn.js.
This configuration file is used by the acceptance test: AcceptanceTests_builtIn.js.

It includes to the basic localInstall setup for acceptance tests (modifying the preferences folder used), which in turn includes the standard development config file (running GPII locally, using development setup).

This config sets the device reporter file to be 'win7_builtIn.json', which will report only the standard built in solutions as installed.
It uses the basic (default) development setup of the system, with a couple of
modifications. It replaces the folder with NP sets in (universal)/testData/preferences/acceptanceTests
as opposed to the normal preferences folder. It also uses the dynamic device
reporter (the device reporter in production mode). Otherwise, everything else
is based on the normal development mode setup.
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
}
}
},
"mergeConfigs": "%universal/tests/configs/gpii.tests.acceptance.localInstall.config.json"
"mergeConfigs": "%universal/tests/configs/gpii.tests.acceptance.localInstall.dynamicDeviceReporter.config.json"
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
This configuration file is used for testing the chrome extension in Windows

It includes to the basic localInstall setup for acceptance tests (modifying the
preferences folder used), which in turn includes the standard development
config file (running GPII locally, using development setup).

This config sets the device reporter file to be 'chrome.json', which will report
the Cloud4all Chrome extension for Google Chrome as being installed on the system.
It uses the basic (default) development setup of the system, with a couple of
modifications. It replaces the folder with NP sets in (universal)/testData/preferences/acceptanceTests
as opposed to the normal preferences folder. It also uses the dynamic device
reporter (the device reporter in production mode). Otherwise, everything else
is based on the normal development mode setup.
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
}
}
},
"mergeConfigs": "%universal/tests/configs/gpii.tests.acceptance.localInstall.config.json"
"mergeConfigs": "%universal/tests/configs/gpii.tests.acceptance.localInstall.dynamicDeviceReporter.config.json"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
This configuration file is used by the acceptance test: windows-jaws-testSpec.js.

It makes use of dynamic device reporter: It includes the basic local install
setup in development mode (modifying the preferences folder used), but with the
device reporter in production mode, merging in gpii's
"all.development.dr.production" configuration.
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
}
}
},
"mergeConfigs": "%universal/tests/configs/gpii.tests.acceptance.localInstall.config.json"
"mergeConfigs": "%universal/tests/configs/gpii.tests.acceptance.localInstall.dynamicDeviceReporter.config.json"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
This configuration file is used by the acceptance test: windows-maavis-testSpec.js.

It makes use of dynamic device reporter: It includes the basic local install
setup in development mode (modifying the preferences folder used), but with the
device reporter in production mode, merging in gpii's
"all.development.dr.production" configuration.
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
}
}
},
"mergeConfigs": "%universal/tests/configs/gpii.tests.acceptance.localInstall.config.json"
"mergeConfigs": "%universal/tests/configs/gpii.tests.acceptance.localInstall.dynamicDeviceReporter.config.json"
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
This configuration file is used by the for acceptance test: AcceptanceTests_nvda.js.
This configuration file is used by the acceptance test: AcceptanceTests_nvda.js.

It includes to the basic localInstall setup for acceptance tests (modifying the preferences folder used), which in turn includes the standard development config file (running GPII locally, using development setup).

This config sets the device reporter file to be 'nvda.json', which will report nvda as being installed on the system.
It makes use of dynamic device reporter: It includes the basic local install setup in development mode (modifying the preferences folder used), but with the device reporter in production mode, merging in gpii's "all.development.dr.production" configuration.
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
}
}
},
"mergeConfigs": "%universal/tests/configs/gpii.tests.acceptance.localInstall.config.json"
"mergeConfigs": "%universal/tests/configs/gpii.tests.acceptance.localInstall.dynamicDeviceReporter.config.json"
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
This configuration file is used by the acceptance tests for Read&Write Gold

It includes the basic localInstall setup for acceptance tests (modifying the preferences folder used), which in turn includes the standard development config file (running GPII locally, using development setup).
It makes use of dynamic device reporter: It includes the basic local install setup in development mode (modifying the preferences folder used), but with the device reporter in production mode, merging in gpii's "all.development.dr.production" configuration.

This config sets the device reporter file to be 'readWrite.json', which will report Read&Write Gold as being installed on the system.
Loading