Lines Matching defs:setting
31 """Test the `interpreter.repeat-previous-command` setting."""
36 setting = "interpreter.repeat-previous-command"
38 def cleanup(setting):
39 self.runCmd("settings clear %s" % setting, check=False)
42 self.addTearDownHook(cleanup(setting))
44 # First, check for the setting default value.
46 "setting show %s" % setting,
50 # Then, invert the setting, and check that was set correctly
51 self.runCmd("setting set %s false" % setting)
53 "setting show %s" % setting,
127 # Immediately test the setting.
134 # The overall display should also reflect the new setting.
149 # Immediately test the setting.
156 # The overall display should also reflect the new setting.
198 # Immediately test the setting.
223 # Immediately test the setting.
235 # Restore the original setting of auto-confirm.
479 """Test that setting target.error/output-path for the launched process works."""
533 """Test that setting target.error and output-path to the same file path for the launched process works."""
615 # Test and make sure that setting "format-string" settings obeys quotes
642 # Make sure the setting was correctly set to "false"
916 # a previously-experimental setting that has been promoted to a
917 # "real" setting will still be set by the original name.
918 # 2. Changing a setting with .experimental., name, where the setting
920 # not generate an error. So if an experimental setting is removed,
947 # showing & setting an undefined .experimental. setting should generate no errors.
949 "settings show target.experimental.setting-which-does-not-exist",
954 "settings set target.experimental.setting-which-does-not-exist true",
960 # self.expect('settings set target.setting-which-does-not-exist.experimental.arg0 true', error=True)
962 # finally, confirm that trying to set a setting that does not exist still fails.
963 # (SHOWING a setting that does not exist does not currently yield an error.)
964 self.expect("settings set target.setting-which-does-not-exist true", error=True)