Skip to content

Commit 255052e

Browse files
committed
Gadgets/Stdrev: Add source of test pages
1 parent e1c646f commit 255052e

11 files changed

+139
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
:[[test-gadget-stdrev/hides-dcl-items-in-member]]
2+
:[[test-gadget-stdrev/hides-dsc-items-with-explicit-mark]]
3+
:[[test-gadget-stdrev/hides-h3-when-section-contains-dsc-with-removed-elems‎]]
4+
:[[test-gadget-stdrev/hides-h3-when-section-contains-dsc-with-removed-until]]
5+
:[[test-gadget-stdrev/hides-h3-when-section-contains-only-stdrev]]
6+
:[[test-gadget-stdrev/preserves-h3-when-section-with-h5-visible]]
7+
:[[test-gadget-stdrev/preserves-h3-when-section-visible]]
8+
:[[test-gadget-stdrev/rev-inl-works-in-text]]
9+
:[[test-gadget-stdrev/rev-works-with-fully-closed-ranges]]
10+
:[[test-gadget-stdrev/revlist-works-in-dsc-item]]
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
===Section===
2+
3+
Text text.
4+
5+
{{member | {{small|std::klass::}}fun | 2=
6+
{{dcl begin}}
7+
{{dcl | num=1 |
8+
void always_visible();
9+
}}
10+
{{dcl | num=2 | until=c++11 |
11+
void not_visible_in_cxx11();
12+
}}
13+
{{dcl | num=3 | since=c++11 |
14+
void not_visible_in_cxx98();
15+
}}
16+
{{dcl end}}
17+
18+
Text text.
19+
}}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
===Section===
2+
3+
Text text.
4+
5+
{{dsc begin}}
6+
{{dsc hitem | Type | Definition}}
7+
{{dsc | {{lc|std::always_visible}} | {{c|code}}}}
8+
{{dsc | {{lc|std::always_visible}} | {{c|code}}}}
9+
{{dsc | {{lc|std::not_visible_in_cxx98}} {{mark c++11}}| {{c|code}} }}
10+
{{dsc | {{lc|std::not_visible_in_cxx11}} {{mark until c++11}}| {{c|code}} }}
11+
{{dsc end}}
12+
13+
===Other section===
14+
Text text.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
===Should be removed when c++98===
2+
3+
Text text
4+
5+
{{dsc begin}}
6+
{{dsc tclass | cpp/container | text text | notes={{mark c++11}}}}
7+
{{dsc tclass | cpp/container | text text | notes={{mark c++17}}}}
8+
{{dsc end}}
9+
10+
===Other section===
11+
Text text
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
===Should be removed when c++11===
2+
3+
Text text
4+
5+
{{dsc begin}}
6+
{{dsc tclass | cpp/container | text text | notes={{mark until c++11}}}}
7+
{{dsc tclass | cpp/container | text text | notes={{mark until c++11}}}}
8+
{{dsc end}}
9+
10+
===Other section===
11+
Text text
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
===Should be removed in cxx98===
2+
{{rev begin}}
3+
{{rev | since=c++11 | Text text text}}
4+
{{rev end}}
5+
6+
===Other section===
7+
Text text text
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
===Should never be removed===
2+
{{rev begin}}
3+
{{rev | since=c++11 | Text text text}}
4+
{{rev end}}
5+
6+
Text text
7+
8+
===Other section===
9+
Text text text
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
===Should always be visible===
2+
=====Should not be visible in cxx98=====
3+
{{rev begin}}
4+
{{rev | since=c++11 | Text text text}}
5+
{{rev end}}
6+
7+
=====Should always be visible2=====
8+
Text text
9+
10+
===Other section===
11+
Text text text
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
===Section===
2+
3+
Text text {{rev inl|since=c++11|not_visible_in_cxx98}}. Text text {{rev inl|until=c++11|not_visible_in_cxx11}}.
4+
5+
===Other section===
6+
7+
Text text.
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{{rev begin}}
2+
{{rev|since=c++03|since-cxx03-until-none}}
3+
{{rev|since=c++11|since-cxx11-until-none}}
4+
{{rev|since=c++14|since-cxx14-until-none}}
5+
{{rev|since=c++17|since-cxx17-until-none}}
6+
{{rev|since=c++20|since-cxx20-until-none}}
7+
8+
{{rev|since=c++03|until=c++11|since-cxx03-until-cxx11}}
9+
10+
{{rev|since=c++03|until=c++14|since-cxx03-until-cxx14}}
11+
{{rev|since=c++11|until=c++14|since-cxx11-until-cxx14}}
12+
13+
{{rev|since=c++03|until=c++17|since-cxx03-until-cxx17}}
14+
{{rev|since=c++11|until=c++17|since-cxx11-until-cxx17}}
15+
{{rev|since=c++14|until=c++17|since-cxx14-until-cxx17}}
16+
17+
{{rev|since=c++03|until=c++20|since-cxx03-until-cxx20}}
18+
{{rev|since=c++11|until=c++20|since-cxx11-until-cxx20}}
19+
{{rev|since=c++14|until=c++20|since-cxx14-until-cxx20}}
20+
{{rev|since=c++17|until=c++20|since-cxx17-until-cxx20}}
21+
22+
{{rev|until=c++03|since-none-until-cxx03}}
23+
{{rev|until=c++11|since-none-until-cxx11}}
24+
{{rev|until=c++14|since-none-until-cxx14}}
25+
{{rev|until=c++17|since-none-until-cxx17}}
26+
{{rev|until=c++20|since-none-until-cxx20}}
27+
{{rev end}}

0 commit comments

Comments
 (0)