on xenial help sign in
Change test names to fit convention
commitffaf38bda62c1c56fd0dc74ce635bccf67f7e6f0 authorJosh Arenson <joshua.arenson@canonical.com> dateThu 11 Dec 2014, 12:50 (12 years ago) parentfb973ac
1 file changed+5−5
tests/qmltests/Components/tst_PhysicalKeysMapper.qml+5−5
tests/qmltests/Components/tst_PhysicalKeysMapper.qml+5−5
@@ -57,7 +57,7 @@ Item {
5757 onVolumeUpPressedCount = 0;
5858 }
5959
60− function test_both_volume_keys_simultaneously() {
60+ function test_BothVolumeKeysSimultaneously() {
6161 physicalKeysMapper.onKeyPressed(Qt.Key_VolumeDown);
6262 physicalKeysMapper.onKeyPressed(Qt.Key_VolumeUp);
6363
@@ -68,14 +68,14 @@ Item {
6868 compare(onBothVolumeKeysPressedCount, 1);
6969 }
7070
71− function test_long_press_power_button() {
71+ function test_LongPressPowerButton() {
7272 physicalKeysMapper.onKeyPressed(Qt.Key_PowerDown);
7373 wait(3000);
7474
7575 compare(onPowerKeyLongPressCount, 1);
7676 }
7777
78− function test_screenshot_buttons() {
78+ function test_ScreenshotButtons() {
7979 physicalKeysMapper.onKeyPressed(Qt.Key_PowerDown);
8080 physicalKeysMapper.onKeyPressed(Qt.Key_VolumeDown);
8181
@@ -87,12 +87,12 @@ Item {
8787 compare(onVolumeDownPressedCount, 0);
8888 }
8989
90− function test_volume_down_button() {
90+ function test_VolumeDownButton() {
9191 physicalKeysMapper.onKeyPressed(Qt.Key_VolumeDown);
9292 compare(onVolumeDownPressedCount, 1);
9393 }
9494
95− function test_volume_up_button() {
95+ function test_VolumeUpButton() {
9696 physicalKeysMapper.onKeyPressed(Qt.Key_VolumeUp);
9797 compare(onVolumeUpPressedCount, 1);
9898 }