Author: jablko
Date: Fri Dec  4 14:52:26 2009
New Revision: 4098

Log:
Add small audio assets and tests for uploading and previewing with Flowplayer, 
like commit 4023

Added:
   trunk/test/selenium/digitalObject/uploadFlac.html   (contents, props changed)
   trunk/test/selenium/digitalObject/uploadMp3.html   (contents, props changed)
   trunk/test/selenium/digitalObject/uploadOgg.html   (contents, props changed)
   trunk/test/selenium/digitalObject/uploadWav.html   (contents, props changed)
   trunk/test/selenium/fixtures/sine_12000_22050.flac   (contents, props 
changed)
   trunk/test/selenium/fixtures/sine_12000_22050_64.ogg   (contents, props 
changed)
   trunk/test/selenium/fixtures/sine_20_11025.wav   (contents, props changed)
   trunk/test/selenium/fixtures/sine_8000_11025_64.mp3   (contents, props 
changed)

Added: trunk/test/selenium/digitalObject/uploadFlac.html
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ trunk/test/selenium/digitalObject/uploadFlac.html   Fri Dec  4 14:52:26 
2009        (r4098)
@@ -0,0 +1,80 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+
+<html xmlns="http://www.w3.org/1999/xhtml";>
+<head>
+  <meta content="HTML Tidy for Linux/x86 (vers 7 December 2008), see 
www.w3.org" name="generator" />
+
+  <title></title>
+</head>
+
+<body>
+  <a 
href="http://qubit-toolkit.org/wiki/index.php?title=Unit_and_functional_testing#Upload_.flac";>http://qubit-toolkit.org/wiki/index.php?title=Unit_and_functional_testing#Upload_.flac</a>
+
+  <table>
+    <tr>
+      <td>open</td>
+
+      <td></td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>clickAndWait</td>
+
+      <td>link=Add/edit</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>clickAndWait</td>
+
+      <td>link=add new</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>clickAndWait</td>
+
+      <td>//inp...@value='Create']</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>clickAndWait</td>
+
+      <td>link=Upload digital object</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>type</td>
+
+      <td>file</td>
+
+      <td>/var/www/qubit/test/selenium/fixtures/sine_12000_22050.flac</td>
+    </tr>
+
+    <tr>
+      <td>clickAndWait</td>
+
+      <td>//inp...@value='Create']</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>verifyElementPresent</td>
+
+      <td>css=.audio.flowplayer</td>
+
+      <td></td>
+    </tr>
+  </table>
+</body>
+</html>

Added: trunk/test/selenium/digitalObject/uploadMp3.html
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ trunk/test/selenium/digitalObject/uploadMp3.html    Fri Dec  4 14:52:26 
2009        (r4098)
@@ -0,0 +1,80 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+
+<html xmlns="http://www.w3.org/1999/xhtml";>
+<head>
+  <meta content="HTML Tidy for Linux/x86 (vers 7 December 2008), see 
www.w3.org" name="generator" />
+
+  <title></title>
+</head>
+
+<body>
+  <a 
href="http://qubit-toolkit.org/wiki/index.php?title=Unit_and_functional_testing#Upload_.mp3";>http://qubit-toolkit.org/wiki/index.php?title=Unit_and_functional_testing#Upload_.mp3</a>
+
+  <table>
+    <tr>
+      <td>open</td>
+
+      <td></td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>clickAndWait</td>
+
+      <td>link=Add/edit</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>clickAndWait</td>
+
+      <td>link=add new</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>clickAndWait</td>
+
+      <td>//inp...@value='Create']</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>clickAndWait</td>
+
+      <td>link=Upload digital object</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>type</td>
+
+      <td>file</td>
+
+      <td>/var/www/qubit/test/selenium/fixtures/sine_8000_11025_64.mp3</td>
+    </tr>
+
+    <tr>
+      <td>clickAndWait</td>
+
+      <td>//inp...@value='Create']</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>verifyElementPresent</td>
+
+      <td>css=.audio.flowplayer</td>
+
+      <td></td>
+    </tr>
+  </table>
+</body>
+</html>

Added: trunk/test/selenium/digitalObject/uploadOgg.html
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ trunk/test/selenium/digitalObject/uploadOgg.html    Fri Dec  4 14:52:26 
2009        (r4098)
@@ -0,0 +1,80 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+
+<html xmlns="http://www.w3.org/1999/xhtml";>
+<head>
+  <meta content="HTML Tidy for Linux/x86 (vers 7 December 2008), see 
www.w3.org" name="generator" />
+
+  <title></title>
+</head>
+
+<body>
+  <a 
href="http://qubit-toolkit.org/wiki/index.php?title=Unit_and_functional_testing#Upload_.ogg";>http://qubit-toolkit.org/wiki/index.php?title=Unit_and_functional_testing#Upload_.ogg</a>
+
+  <table>
+    <tr>
+      <td>open</td>
+
+      <td></td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>clickAndWait</td>
+
+      <td>link=Add/edit</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>clickAndWait</td>
+
+      <td>link=add new</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>clickAndWait</td>
+
+      <td>//inp...@value='Create']</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>clickAndWait</td>
+
+      <td>link=Upload digital object</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>type</td>
+
+      <td>file</td>
+
+      <td>/var/www/qubit/test/selenium/fixtures/sine_12000_22050_64.ogg</td>
+    </tr>
+
+    <tr>
+      <td>clickAndWait</td>
+
+      <td>//inp...@value='Create']</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>verifyElementPresent</td>
+
+      <td>css=.audio.flowplayer</td>
+
+      <td></td>
+    </tr>
+  </table>
+</body>
+</html>

Added: trunk/test/selenium/digitalObject/uploadWav.html
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ trunk/test/selenium/digitalObject/uploadWav.html    Fri Dec  4 14:52:26 
2009        (r4098)
@@ -0,0 +1,80 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+
+<html xmlns="http://www.w3.org/1999/xhtml";>
+<head>
+  <meta content="HTML Tidy for Linux/x86 (vers 7 December 2008), see 
www.w3.org" name="generator" />
+
+  <title></title>
+</head>
+
+<body>
+  <a 
href="http://qubit-toolkit.org/wiki/index.php?title=Unit_and_functional_testing#Upload_.wav";>http://qubit-toolkit.org/wiki/index.php?title=Unit_and_functional_testing#Upload_.wav</a>
+
+  <table>
+    <tr>
+      <td>open</td>
+
+      <td></td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>clickAndWait</td>
+
+      <td>link=Add/edit</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>clickAndWait</td>
+
+      <td>link=add new</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>clickAndWait</td>
+
+      <td>//inp...@value='Create']</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>clickAndWait</td>
+
+      <td>link=Upload digital object</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>type</td>
+
+      <td>file</td>
+
+      <td>/var/www/qubit/test/selenium/fixtures/sine_20_11025.wav</td>
+    </tr>
+
+    <tr>
+      <td>clickAndWait</td>
+
+      <td>//inp...@value='Create']</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>verifyElementPresent</td>
+
+      <td>css=.audio.flowplayer</td>
+
+      <td></td>
+    </tr>
+  </table>
+</body>
+</html>

Added: trunk/test/selenium/fixtures/sine_12000_22050.flac
==============================================================================
Binary file. No diff available.

Added: trunk/test/selenium/fixtures/sine_12000_22050_64.ogg
==============================================================================
Binary file. No diff available.

Added: trunk/test/selenium/fixtures/sine_20_11025.wav
==============================================================================
Binary file. No diff available.

Added: trunk/test/selenium/fixtures/sine_8000_11025_64.mp3
==============================================================================
Binary file. No diff available.

--

You received this message because you are subscribed to the Google Groups 
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/qubit-commits?hl=en.


Reply via email to