Skip to content

Commit e8e2e2d

Browse files
committed
Gadgets/Stdrev: Test that multiple items in dcl rev work
1 parent ecec2e8 commit e8e2e2d

File tree

4 files changed

+95
-0
lines changed

4 files changed

+95
-0
lines changed

gadgets/standard_revisions-tests-pages/test-gadget-stdrev/all.mwiki

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
:[[test-gadget-stdrev/hides-dcl-items-in-member]]
2+
:[[test-gadget-stdrev/hides-dcl-items-in-dcl-rev]]
23
:[[test-gadget-stdrev/hides-dsc-items-with-explicit-mark]]
34
:[[test-gadget-stdrev/hides-h3-when-section-contains-dsc-with-removed-elems‎]]
45
:[[test-gadget-stdrev/hides-h3-when-section-contains-dsc-with-removed-until]]
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{{dcl begin}}
2+
{{dcl header | tuple }}
3+
{{dcl rev begin|num=num_1_only_once}}
4+
{{dcl | 1=
5+
void always_visible();
6+
}}
7+
{{dcl | until=c++11 |
8+
void not_visible_in_cxx11();
9+
}}
10+
{{dcl | since=c++11 |
11+
void not_visible_in_cxx98();
12+
}}
13+
{{dcl rev end}}
14+
{{dcl end}}
15+
16+
test
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
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="http://en.cppreference.com/" />
7+
<title>hides-dcl-items-in-dcl-rev</title>
8+
</head>
9+
<body>
10+
<table cellpadding="1" cellspacing="1" border="1">
11+
<thead>
12+
<tr><td rowspan="1" colspan="3">hides-dcl-items-in-dcl-rev</td></tr>
13+
</thead><tbody>
14+
<tr>
15+
<td>open</td>
16+
<td>/w/test-gadget-stdrev/hides-dcl-items-in-dcl-rev</td>
17+
<td></td>
18+
</tr>
19+
<tr>
20+
<td>verifyText</td>
21+
<td>//body</td>
22+
<td>glob:*void always_visible*</td>
23+
</tr>
24+
<tr>
25+
<td>verifyText</td>
26+
<td>//body</td>
27+
<td>glob:*void not_visible_in_cxx98*</td>
28+
</tr>
29+
<tr>
30+
<td>verifyText</td>
31+
<td>//body</td>
32+
<td>glob:*void not_visible_in_cxx11*</td>
33+
</tr>
34+
<tr>
35+
<td>select</td>
36+
<td>css=select</td>
37+
<td>label=C++98/03</td>
38+
</tr>
39+
<tr>
40+
<td>verifyText</td>
41+
<td>//body</td>
42+
<td>glob:*void always_visible*</td>
43+
</tr>
44+
<tr>
45+
<td>verifyNotText</td>
46+
<td>//body</td>
47+
<td>glob:*void not_visible_in_cxx98*</td>
48+
</tr>
49+
<tr>
50+
<td>verifyText</td>
51+
<td>//body</td>
52+
<td>glob:*void not_visible_in_cxx11*</td>
53+
</tr>
54+
<tr>
55+
<td>select</td>
56+
<td>css=select</td>
57+
<td>label=C++11</td>
58+
</tr>
59+
<tr>
60+
<td>verifyText</td>
61+
<td>//body</td>
62+
<td>glob:*void always_visible*</td>
63+
</tr>
64+
<tr>
65+
<td>verifyText</td>
66+
<td>//body</td>
67+
<td>glob:*void not_visible_in_cxx98*</td>
68+
</tr>
69+
<tr>
70+
<td>verifyNotText</td>
71+
<td>//body</td>
72+
<td>glob:*void not_visible_in_cxx11*</td>
73+
</tr>
74+
75+
</tbody></table>
76+
</body>
77+
</html>

gadgets/standard_revisions-tests/suite.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
<table id="suiteTable" cellpadding="1" cellspacing="1" border="1" class="selenium"><tbody>
1010
<tr><td><b>Test Suite</b></td></tr>
1111
<tr><td><a href="login.html">login.html</a></td></tr>
12+
<tr><td><a href="hides-dcl-items-in-dcl-rev.html">hides-dcl-items-in-dcl-rev</a></td></tr>
1213
<tr><td><a href="hides-dcl-items-in-member.html">hides-dcl-items-in-member</a></td></tr>
1314
<tr><td><a href="hides-dsc-items-with-explicit-mark.html">hides-dsc-items-with-explicit-mark</a></td></tr>
1415
<tr><td><a href="hides-h3-when-section-contains-dsc-with-removed-elems.html">hides-h3-when-section-contains-dsc-with-removed-elems</a></td></tr>

0 commit comments

Comments
 (0)