[gcr] gcr: rename prompt test file, and add another one



commit ae734dd599400959afc4ecfca6c0bd800c350477
Author: Stef Walter <stefw collabora co uk>
Date:   Tue Jan 10 16:52:37 2012 +0100

    gcr: rename prompt test file, and add another one

 .../{simple.prompt => multiple.prompt}             |    5 ++++-
 .../files/prompt-tests/password-choice.prompt      |    7 +++++++
 2 files changed, 11 insertions(+), 1 deletions(-)
---
diff --git a/gcr/tests/files/prompt-tests/simple.prompt b/gcr/tests/files/prompt-tests/multiple.prompt
similarity index 87%
rename from gcr/tests/files/prompt-tests/simple.prompt
rename to gcr/tests/files/prompt-tests/multiple.prompt
index 870a547..29489c5 100644
--- a/gcr/tests/files/prompt-tests/simple.prompt
+++ b/gcr/tests/files/prompt-tests/multiple.prompt
@@ -11,6 +11,8 @@ type = password
 title = The title
 message = The message
 description = Description
+choice-label =
+warning = Make sure you have a good good password
 
 [two]
 type = password
@@ -18,6 +20,7 @@ title = New Password
 message = Enter a new password here
 description = This is a test of the new password prompt
 password-new = true
+choice-label =
 
 [four]
 type = confirm
@@ -25,4 +28,4 @@ title = Question
 message = A nice question here
 description = This is why you really should be asking this question
 warning =
-
+choice-label =
diff --git a/gcr/tests/files/prompt-tests/password-choice.prompt b/gcr/tests/files/prompt-tests/password-choice.prompt
new file mode 100644
index 0000000..2b68c75
--- /dev/null
+++ b/gcr/tests/files/prompt-tests/password-choice.prompt
@@ -0,0 +1,7 @@
+[prompt]
+type = password
+title = Unlock Keyring
+message = Enter password for keyring 'xxx' to unlock
+description = An application wants to use a password in 'xxx', but it is locked
+choice-label = Always unlock this keyring whenever logged in.
+password-new = false



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]