Skip to content
Newer
Older
100644 128 lines (126 sloc) 2.57 KB
3cd113f Procedures test
jakubvrana authored Oct 3, 2008
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4 <head profile="http://selenium-ide.openqa.org/profiles/test-case">
5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
6 <link rel="selenium.base" href="" />
7 <title>Procedures</title>
8 </head>
9 <body>
10 <table cellpadding="1" cellspacing="1" border="1">
11 <thead>
12 <tr><td rowspan="1" colspan="3">Procedures</td></tr>
13 </thead><tbody>
14 <tr>
15 <td>open</td>
3f5b683 Reintegrate sqlite branch
jakubvrana authored Apr 21, 2010
16 <td>adminer/?username=ODBC&amp;db=adminer_test&amp;procedure=</td>
3cd113f Procedures test
jakubvrana authored Oct 3, 2008
17 <td></td>
18 </tr>
19 <tr>
20 <td>clickAndWait</td>
21 <td>add[0]</td>
22 <td></td>
23 </tr>
24 <tr>
25 <td>type</td>
26 <td>fields[1][field]</td>
27 <td>interpret_name</td>
28 </tr>
29 <tr>
30 <td>select</td>
31 <td>fields[1][type]</td>
32 <td>label=varchar</td>
33 </tr>
34 <tr>
35 <td>type</td>
36 <td>fields[1][length]</td>
37 <td>50</td>
38 </tr>
39 <tr>
40 <td>type</td>
41 <td>fields[1.1][field]</td>
b2107e8 Rename test database
jakubvrana authored Jul 24, 2009
42 <td>album_title</td>
3cd113f Procedures test
jakubvrana authored Oct 3, 2008
43 </tr>
44 <tr>
45 <td>select</td>
46 <td>fields[1.1][type]</td>
47 <td>label=varchar</td>
48 </tr>
49 <tr>
50 <td>type</td>
51 <td>fields[1.1][length]</td>
52 <td>50</td>
53 </tr>
54 <tr>
55 <td>type</td>
56 <td>definition</td>
b2107e8 Rename test database
jakubvrana authored Jul 24, 2009
57 <td>BEGIN<br />SELECT id INTO @interpret FROM interprets WHERE name = interpret_name;<br />IF @interpret IS NULL THEN<br />&nbsp;&nbsp;&nbsp;&nbsp;INSERT INTO interprets (name) VALUES (interpret_name);<br />&nbsp;&nbsp;&nbsp;&nbsp;SET @interpret = LAST_INSERT_ID();<br />END IF;<br />INSERT INTO albums (interpret, title) VALUES (@interpret, album_title);<br />END</td>
3cd113f Procedures test
jakubvrana authored Oct 3, 2008
58 </tr>
59 <tr>
60 <td>type</td>
61 <td>name</td>
62 <td>insert_album</td>
63 </tr>
64 <tr>
65 <td>clickAndWait</td>
66 <td>//input[@value='Save']</td>
67 <td></td>
68 </tr>
69 <tr>
70 <td>verifyTextPresent</td>
71 <td>Routine has been created.</td>
72 <td></td>
73 </tr>
74 <tr>
75 <td>clickAndWait</td>
76 <td>link=insert_album</td>
77 <td></td>
78 </tr>
79 <tr>
80 <td>type</td>
b054450 Fix tests
jakubvrana authored Jul 24, 2009
81 <td>fields[interpret_name]</td>
3cd113f Procedures test
jakubvrana authored Oct 3, 2008
82 <td>Michael Jackson</td>
83 </tr>
84 <tr>
85 <td>type</td>
b2107e8 Rename test database
jakubvrana authored Jul 24, 2009
86 <td>fields[album_title]</td>
3cd113f Procedures test
jakubvrana authored Oct 3, 2008
87 <td>Dangerous</td>
88 </tr>
89 <tr>
90 <td>clickAndWait</td>
91 <td>//input[@value='Call']</td>
92 <td></td>
93 </tr>
94 <tr>
95 <td>assertTextPresent</td>
96 <td>Routine has been called, 1 row affected.</td>
97 <td></td>
98 </tr>
99 <tr>
100 <td>clickAndWait</td>
b2107e8 Rename test database
jakubvrana authored Jul 24, 2009
101 <td>link=adminer_test</td>
3cd113f Procedures test
jakubvrana authored Oct 3, 2008
102 <td></td>
103 </tr>
104 <tr>
105 <td>clickAndWait</td>
106 <td>link=Alter</td>
107 <td></td>
108 </tr>
109 <tr>
110 <td>clickAndWait</td>
111 <td>drop</td>
112 <td></td>
113 </tr>
114 <tr>
115 <td>assertConfirmation</td>
116 <td>Are you sure?</td>
117 <td></td>
118 </tr>
119 <tr>
120 <td>verifyTextPresent</td>
121 <td>Routine has been dropped.</td>
122 <td></td>
123 </tr>
124
125 </tbody></table>
126 </body>
127 </html>
Something went wrong with that request. Please try again.