diff --git a/test/sun/security/tools/policytool/ChangeUI.html b/test/sun/security/tools/policytool/ChangeUI.html index feb9da297af329f7d4363b06b2c041231628015e..d025716ea03a616d6107f2c5971c90db8772f287 100644 --- a/test/sun/security/tools/policytool/ChangeUI.html +++ b/test/sun/security/tools/policytool/ChangeUI.html @@ -4,7 +4,7 @@ -ATTENTION: policytool now contains no platform-specific codes anymore and +ATTENTION: policytool now contains no platform-specific codes anymore and should behaves exactly the same across all platforms. This also means:
@@ -27,7 +28,7 @@ First, policytool will be invoked.
/* AUTOMATICALLY GENERATED ON Tue Jul 19 16:27:30 CST 2005*/ /* DO NOT EDIT */ diff --git a/test/sun/security/tools/policytool/UpdatePermissions.html b/test/sun/security/tools/policytool/UpdatePermissions.html index 5ae3cbcc421d4c3896b494f9b80fe1fe2f2ed29f..2a59b5908aef6705a3a4810fc0cff6cc3e506ecc 100644 --- a/test/sun/security/tools/policytool/UpdatePermissions.html +++ b/test/sun/security/tools/policytool/UpdatePermissions.html @@ -10,6 +10,8 @@ reading these instructions.
First, policytool will be invoked.
Then, follow these steps:
+0) If testing on Windows, create a temporary directory. +(Example: C:\foo\tmp)
1) Click on the "Add Policy Entry" button in the main policytool window.
@@ -29,13 +31,18 @@ select "listenToAllAWTEvents".
select "Save As".
8) In the SaveAs window, enter "/tmp/ptool.test" as the file name -and click "OK".
+and click "OK".
+If testing on Windows, use the temporary directory created in Step 0. +(Example: Save as "C:\foo\tmp\ptool.test")
+ +9) cat /tmp/ptool.test
+If testing on Windows, check the contents of the file created in the previous +step.
-9) cat /tmp/ptool.test
10) check to make sure that the new entry is in the policy file.
-11) repeat steps 1-9 for:
+11) repeat steps 1-10 for:
AWTPermission: readDisplayPixels
NetPermission: specifyStreamHandler
RuntimePermission: setContextClassLoader, @@ -46,7 +53,8 @@ and click "OK".
In the confirmation dialog pop-up, click "OK".
-Exit policytool.
+Exit policytool. If testing on Windows, delete the temporary directory and its +contents created during this test.
Press "Pass" if ... press "Fail" otherwise.
diff --git a/test/sun/security/tools/policytool/i18n.html b/test/sun/security/tools/policytool/i18n.html index 73d8d5723075e97cc9a850f9d6d8ae4c8e3b87e6..6c70d24398cc7978933adbda6753fe124746224f 100644 --- a/test/sun/security/tools/policytool/i18n.html +++ b/test/sun/security/tools/policytool/i18n.html @@ -17,7 +17,8 @@ the test passed.Press "Pass" if ... press "Fail" otherwise.
-
+
+
- If testing on Windows, create a temporary directory. (Example: C:\foo\tmp)
- Pull down the 'File' and 'KeyStore' menus and check values
- Pull down 'File' menu and select 'View Warning Log'. Confirm FileNotFound.
- Pull down 'File' menu and select 'New'. @@ -54,14 +55,17 @@ Press "Pass" if ... press "Fail" otherwise.
- Do not remove the entry, click 'Cancel'.
- Pull down 'File' menu and select 'Exit'. Confirm Save option. Click 'Cancel'. -
- Select 'File' menu value 'Save', enter "/tmp/policy1" as the filename, - and check status message +
- Select 'File' menu value 'Save' and enter "/tmp/policy1" as the filename.
+ If testing on Windows, use the temporary directory created in Step 0. + (Example: Save as "C:\foo\tmp\policy1")
+ Check status message.- Select 'File' menu value 'New'
- Click 'Add Policy Entry', type in "hello" for 'SignedBy' field, click 'Done'. Confirm warning.
- Select 'File' menu value 'Open' and confirm save option (do not save changes) -
- Type "/tmp/policy1" for the filename and confirm warning message +
- Type "/tmp/policy1" (if Windows, "C:\foo\tmp\policy1") for the filename + and confirm warning message
- Pull down 'File' menu, select 'View Warning Log' and confirm KeyStore alias warning
- Pull down 'KeyStore' menu and select 'Edit' @@ -80,11 +84,13 @@ Press "Pass" if ... press "Fail" otherwise.
- Pull down 'KeyStore' menu and select 'Edit'
- Confirm URL, Type, Provider, and Password URL values.
- Click OK -
- Pull down 'File' menu and select 'Save As'. Enter /tmp/policy2. - Confirm status message. +
- Pull down 'File' menu and select 'Save As'. Enter "/tmp/policy2" + (if Windows, "C:\foo\tmp\policy2"). + Confirm status message.
- Pull down 'File' menu and select 'New'. -
- Pull down 'File' menu and select 'Open'. Enter /tmp/policy2. - Confirm warning message. +
- Pull down 'File' menu and select 'Open'. Enter "/tmp/policy2" + (if Windows, "C:\foo\tmp\policy2"). + Confirm warning message.
- Click on 'Add Policy Entry', enter Codebase 'http://foo', SignedBy 'bar'. Click on 'Done' and confirm alias warning.
- Double-Click on just created policy entry, confirm edit window appears. @@ -115,6 +121,8 @@ Press "Pass" if ... press "Fail" otherwise.
- Confirm entries in main window listing.
- Select 'File' menu value 'Exit'
- Save Changes, confirm status message. +
- If testing on Windows, delete the temporary directory and its contents + created during this test.