[orca/new-settings] Fix a broken test: *.settings files should be yaml-friendly.
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca/new-settings] Fix a broken test: *.settings files should be yaml-friendly.
- Date: Sun, 12 Dec 2010 22:43:39 +0000 (UTC)
commit 03192078a1348767019f307234e7d3a3ea5ee2c0
Author: Joanmarie Diggs <joanmarie diggs gmail com>
Date: Sun Dec 12 17:42:53 2010 -0500
Fix a broken test: *.settings files should be yaml-friendly.
test/harness/runone.sh | 3 +-
.../gtk-demo/spoken_indentation.settings | 175 ++++++++++++++++----
2 files changed, 145 insertions(+), 33 deletions(-)
---
diff --git a/test/harness/runone.sh b/test/harness/runone.sh
index 3fb9e09..15e55be 100755
--- a/test/harness/runone.sh
+++ b/test/harness/runone.sh
@@ -71,8 +71,9 @@ if [ ! -f $SETTINGS_FILE ]
then
SETTINGS_FILE=`dirname $0`/user-settings.conf.in
fi
-#echo "Using settings file:" $SETTINGS_FILE
cp $SETTINGS_FILE user-settings.conf
+#echo "Using settings file:" $SETTINGS_FILE
+
# Allow us to pass parameters to the command line of the application.
#
diff --git a/test/keystrokes/gtk-demo/spoken_indentation.settings b/test/keystrokes/gtk-demo/spoken_indentation.settings
index 1f665fe..b7c1345 100644
--- a/test/keystrokes/gtk-demo/spoken_indentation.settings
+++ b/test/keystrokes/gtk-demo/spoken_indentation.settings
@@ -1,32 +1,143 @@
-# -*- coding: utf-8 -*-
-
-# Default settings for all tests. These can be overridden by
-# defining a *.params file for a test. See
-# http://live.gnome.org/Orca/RegressionTesting for more info.
-
-import re
-
-import orca.debug
-import orca.settings
-
-orca.settings.enableSpeechIndentation = True
-
-orca.settings.enableEchoByWord = False
-orca.settings.enableKeyEcho = False
-orca.settings.enablePrintableKeys = False
-orca.settings.enableModifierKeys = False
-orca.settings.enableLockingKeys = False
-orca.settings.enableFunctionKeys = False
-orca.settings.enableActionKeys = False
-
-orca.settings.enableBraille = False
-orca.settings.enableBrailleMonitor = False
-
-import orca.orca_state
-try:
- reload(orca.orca_state.orcaCustomizations)
-except AttributeError:
- try:
- orca.orca_state.orcaCustomizations = __import__("orca-customizations")
- except ImportError:
- pass
+general:
+ activeProfile: [Default, default]
+ brailleAlignmentStyle: 0
+ brailleContractionTable: ''
+ brailleEOLIndicator: ' $l'
+ brailleFlashTime: 5000
+ brailleLinkIndicator: 192
+ brailleRequiredStateString: required
+ brailleRolenameStyle: 1
+ brailleSelectorIndicator: 192
+ brailleVerbosityLevel: 1
+ chatAnnounceBuddyTyping: false
+ chatMessageVerbosity: 0
+ chatRoomHistories: false
+ chatSpeakRoomName: false
+ disableBrailleEOL: false
+ enableActionKeys: true
+ enableBraille: false
+ enableBrailleContext: true
+ enableBrailleGrouping: false
+ enableBrailleMonitor: true
+ enableContractedBraille: false
+ enableDiacriticalKeys: false
+ enableEchoByCharacter: false
+ enableEchoBySentence: false
+ enableEchoByWord: false
+ enableFlashMessages: true
+ enableFunctionKeys: true
+ enableKeyEcho: true
+ enableLockingKeys: true
+ enableMagCrossHair: true
+ enableMagCrossHairClip: false
+ enableMagCursor: true
+ enableMagCursorExplicitSize: false
+ enableMagLiveUpdating: true
+ enableMagZoomerBorder: false
+ enableMagZoomerColorInversion: false
+ enableMagnifier: false
+ enableMnemonicSpeaking: false
+ enableModifierKeys: true
+ enableMouseReview: false
+ enableNavigationKeys: false
+ enablePauseBreaks: true
+ enablePositionSpeaking: false
+ enablePrintableKeys: true
+ enableProgressBarUpdates: true
+ enableSpeech: true
+ enableSpeechIndentation: true
+ enableTutorialMessages: false
+ enabledBrailledTextAttributes: size:; family-name:; weight:400; indent:0; underline:none;
+ strikethrough:false; justification:left; style:normal; text-spelling:none;
+ enabledSpokenTextAttributes: size:; family-name:; weight:400; indent:0; underline:none;
+ strikethrough:false; justification:left; style:normal; paragraph-style:; text-spelling:none;
+ firstStart: false
+ flashIsPersistent: false
+ flashVerbosityLevel: 1
+ keyboardLayout: 1
+ largeObjectTextLength: 75
+ magBrightnessLevel: 0
+ magBrightnessLevelBlue: 0
+ magBrightnessLevelGreen: 0
+ magBrightnessLevelRed: 0
+ magColorFilteringMode: 0
+ magContrastLevel: 0
+ magContrastLevelBlue: 0
+ magContrastLevelGreen: 0
+ magContrastLevelRed: 0
+ magControlTrackingMode: 2
+ magCrossHairColor: '#000000'
+ magCrossHairSize: 16
+ magCursorColor: '#000000'
+ magCursorSize: 32
+ magEdgeMargin: 0
+ magHideCursor: false
+ magMouseTrackingMode: 0
+ magPointerFollowsFocus: false
+ magPointerFollowsZoomer: true
+ magSmoothingMode: 0
+ magSourceDisplay: ''
+ magTargetDisplay: ''
+ magTextTrackingMode: 2
+ magZoomFactor: 4.0
+ magZoomerBorderColor: '#000000'
+ magZoomerBorderSize: 1
+ magZoomerBottom: 1920
+ magZoomerLeft: 1200
+ magZoomerRight: 2400
+ magZoomerTop: 0
+ magZoomerType: 0
+ messageVerbosityLevel: 1
+ mouseDwellDelay: 0
+ onlySpeakDisplayedText: false
+ orcaModifierKeys: [Insert, KP_Insert]
+ presentDateFormat: '%x'
+ presentRequiredState: false
+ presentTimeFormat: '%X'
+ presentToolTips: false
+ profile: [Default, default]
+ progressBarUpdateInterval: 10
+ progressBarVerbosity: 1
+ quitOrcaNoConfirmation: false
+ readTableCellRow: true
+ sayAllStyle: 1
+ showMainWindow: true
+ skipBlankCells: false
+ speakBlankLines: true
+ speakCellCoordinates: true
+ speakCellHeaders: true
+ speakCellSpan: true
+ speakMultiCaseStringsAsWords: false
+ speechRequiredStateString: required
+ speechServerFactory: speechdispatcherfactory
+ speechServerInfo: null
+ speechVerbosityLevel: 1
+ startingProfile: [Default, default]
+ textAttributesBrailleIndicator: 0
+ verbalizePunctuationStyle: 1
+ voices:
+ default: !!python/object/new:orca.acss.ACSS
+ dictitems: {established: false}
+ hyperlink: !!python/object/new:orca.acss.ACSS
+ dictitems: {established: false}
+ system: !!python/object/new:orca.acss.ACSS
+ dictitems: {established: false}
+ uppercase: !!python/object/new:orca.acss.ACSS
+ dictitems: {average-pitch: 5.5999999999999996}
+ wrappedStructuralNavigation: true
+keybindings: {}
+profiles:
+ default:
+ profile: [Default, default]
+ enableEchoByWord: false
+ enableKeyEcho: false
+ enableBraille: false
+ enableBrailleMonitor: true
+ enableEchoByWord: False
+ enableKeyEcho: False
+ enablePrintableKeys: False
+ enableModifierKeys: False
+ enableLockingKeys: False
+ enableFunctionKeys: False
+ enableActionKeys: False
+pronunciations: {}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]