<p>Test Note: </p>
<p>Verifies the functionality of CSP worked well.</p>
<p>Test Pre-condition: </p>
- <p>Tinyweb server launched with the command: "tinyweb -ssl_certificate /usr/share/tinyweb/server.pem -document_root / -listening_ports 80,8080,8081,8082,8083,8443s".</p>
+ <p>Tinyweb server launched with the command: "$cd 'web-tct-path'; python ./scripts/tct-config-device.py --check proc=tinyweb".</p>
<p>Test Purpose: </p>
<p>Verifies the functionality of CSP worked well when script-src, object-src, style-src, img-src, media-src, frame-src, font-src, connect-src directives set different values.</p>
<p>Expected Result: </p>
<font class="fontSize">
<p>Test Step: </p>
<ol>
- <li>$ web-tct_2.3/tools/python tct-config-device.py --check proc=tinyweb</li>
<li>Click the "Install" button to install the widget.</li>
+ <li>In sdb shell: su root; password: tizen; echo "User::Shell User::Pkg::beh1csp001 rwx" | smackload
+echo "User::Pkg::beh1csp001 User::Shell rwx" | smackload</li>
<li>Click the "Launch" button to launch the widget.</li>
<li>Click the "Uninstall" button to uninstall the widget.</li>
</ol>
<p>Test Step: </p>
<ol>
<li>Click the "Install" button to install the widget.</li>
+ <li>In sdb shell: su root; password: tizen; echo "User::Shell User::Pkg::beh1csp002 rwx" | smackload
+echo "User::Pkg::beh1csp002 User::Shell rwx" | smackload</li>
<li>Click the "Launch" button to launch the widget.</li>
<li>Click the "Uninstall" button to uninstall the widget.</li>
</ol>
<p>Test Step: </p>
<ol>
<li>Click the "Install" button to install the widget.</li>
+ <li>In sdb shell: su root; password: tizen; echo "User::Shell User::Pkg::beh1csp016 rwx" | smackload
+echo "User::Pkg::beh1csp016 User::Shell rwx" | smackload</li>
<li>Click the "Launch" button to launch the widget.</li>
<li>Click the "Uninstall" button to uninstall the widget.</li>
</ol>
<p>Test Step: </p>
<ol>
<li>Click the "Install" button to install the widget.</li>
+ <li>In sdb shell: su root; password :tizen; echo "User::Shell User::Pkg::beh1csp017 rwx" | smackload
+echo "User::Pkg::beh1csp017 User::Shell rwx" | smackload</li>
<li>Click the "Launch" button to launch the widget.</li>
<li>Click the "Uninstall" button to uninstall the widget.</li>
</ol>
<p>Test Step: </p>
<ol>
<li>Click the "Install" button to install the widget.</li>
+ <li>In sdb shell: su root; password :tizen; echo "User::Shell User::Pkg::beh1csp015 rwx" | smackload
+echo "User::Pkg::beh1csp015 User::Shell rwx" | smackload</li>
<li>Click the "Launch" button to launch the widget.</li>
<li>Click the "Uninstall" button to uninstall the widget.</li>
</ol>
<p>Test Step: </p>
<ol>
<li>Click the "Install" button to install the widget.</li>
+ <li>In sdb shell: su root; password :tizen; echo "User::Shell User::Pkg::beh1csp014 rwx" | smackload
+echo "User::Pkg::beh1csp014 User::Shell rwx" | smackload</li>
<li>Click the "Launch" button to launch the widget.</li>
<li>Click the "Uninstall" button to uninstall the widget.</li>
</ol>
<p>Test Step: </p>
<ol>
<li>Click the "Install" button to install the widget.</li>
+ <li>In sdb shell: su root; password :tizen; echo "User::Shell User::Pkg::beh1csp008 rwx" | smackload
+echo "User::Pkg::beh1csp008 User::Shell rwx" | smackload</li>
<li>Click the "Launch" button to launch the widget.</li>
<li>Click the "Uninstall" button to uninstall the widget.</li>
</ol>
<p>Test Note: </p>
<p>Verifies the functionality of CSP worked well.</p>
<p>Test Pre-condition: </p>
- <p>Tinyweb server launched with the command: "tinyweb -ssl_certificate /usr/share/tinyweb/server.pem -document_root / -listening_ports 80,8080,8081,8082,8083,8443s".</p>
+ <p>Tinyweb server launched with the command: "$cd 'web-tct-path'; python ./scripts/tct-config-device.py --check proc=tinyweb".</p>
<p>Test Purpose: </p>
<p>Verifies the functionality of CSP worked well when script-src, object-src, style-src, img-src, media-src, frame-src, font-src, connect-src directives set different values.</p>
<p>Expected Result: </p>
<font class="fontSize">
<p>Test Step: </p>
<ol>
- <li>$ web-tct_2.3/tools/python tct-config-device.py --check proc=tinyweb</li>
<li>Click the "Install" button to install the widget.</li>
+ <li>In sdb shell: su root; password: tizen; echo "User::Shell User::Pkg::beh1csp001 rwx" | smackload
+echo "User::Pkg::beh1csp001 User::Shell rwx" | smackload</li>
<li>Click the "Launch" button to launch the widget.</li>
<li>Click the "Uninstall" button to uninstall the widget.</li>
</ol>
<p>Test Step: </p>
<ol>
<li>Click the "Install" button to install the widget.</li>
+ <li>In sdb shell: su root; password: tizen; echo "User::Shell User::Pkg::beh1csp002 rwx" | smackload
+echo "User::Pkg::beh1csp002 User::Shell rwx" | smackload</li>
<li>Click the "Launch" button to launch the widget.</li>
<li>Click the "Uninstall" button to uninstall the widget.</li>
</ol>
<p>Test Step: </p>
<ol>
<li>Click the "Install" button to install the widget.</li>
+ <li>In sdb shell: su root; password: tizen; echo "User::Shell User::Pkg::beh1csp016 rwx" | smackload
+echo "User::Pkg::beh1csp016 User::Shell rwx" | smackload</li>
<li>Click the "Launch" button to launch the widget.</li>
<li>Click the "Uninstall" button to uninstall the widget.</li>
</ol>
<p>Test Step: </p>
<ol>
<li>Click the "Install" button to install the widget.</li>
+ <li>In sdb shell: su root; password :tizen; echo "User::Shell User::Pkg::beh1csp017 rwx" | smackload
+echo "User::Pkg::beh1csp017 User::Shell rwx" | smackload</li>
<li>Click the "Launch" button to launch the widget.</li>
<li>Click the "Uninstall" button to uninstall the widget.</li>
</ol>
<p>Test Step: </p>
<ol>
<li>Click the "Install" button to install the widget.</li>
+ <li>In sdb shell: su root; password :tizen; echo "User::Shell User::Pkg::beh1csp015 rwx" | smackload
+echo "User::Pkg::beh1csp015 User::Shell rwx" | smackload</li>
<li>Click the "Launch" button to launch the widget.</li>
<li>Click the "Uninstall" button to uninstall the widget.</li>
</ol>
<p>Test Step: </p>
<ol>
<li>Click the "Install" button to install the widget.</li>
+ <li>In sdb shell: su root; password :tizen; echo "User::Shell User::Pkg::beh1csp014 rwx" | smackload
+echo "User::Pkg::beh1csp014 User::Shell rwx" | smackload</li>
<li>Click the "Launch" button to launch the widget.</li>
<li>Click the "Uninstall" button to uninstall the widget.</li>
</ol>
<p>Test Step: </p>
<ol>
<li>Click the "Install" button to install the widget.</li>
+ <li>In sdb shell: su root; password :tizen; echo "User::Shell User::Pkg::beh1csp008 rwx" | smackload
+echo "User::Pkg::beh1csp008 User::Shell rwx" | smackload</li>
<li>Click the "Launch" button to launch the widget.</li>
<li>Click the "Uninstall" button to uninstall the widget.</li>
</ol>