Skip to content

Commit

Permalink
Updated test results
Browse files Browse the repository at this point in the history
  • Loading branch information
ndw committed Oct 23, 2024
1 parent 64dbe21 commit fa11cf4
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions src/test/resources/expected/cmdsynopsis.001.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml" class="no-js"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/><script>(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement)</script><title>Unit test: cmdsynopsis.001</title><meta name="viewport" content="width=device-width, initial-scale=1.0"/><link href="https://purl.org/dc/elements/1.1/" rel="schema.dc"/><meta content="2011-04-22T17:02:00-06:00" name="dc.modified"/><meta content="DocBook xslTNG" name="generator"/><link href="./css/docbook.css" rel="stylesheet" media="screen"/></head><body class="home"><nav class="top"></nav><main><article class="article component"><header><h1>Unit test: cmdsynopsis.001</h1></header><section id="minimal" class="component refentry"><div id="minimal_refnamediv1" class="refnamediv"><header><h2>Name</h2></header><p><span class="refname">cccp</span><span class="refname-sep">, </span><span class="refname">zzzzzzp</span><span class="refpurpose"><span class="refpurpose-sep"> — </span><span class="refpurpose-text">The C++/ZZZ++ preprocessors</span><span class="refpurpose-punc">.</span></span></p></div><section id="minimal_refsynopsisdiv1" class="refsynopsisdiv"><header><h2>Synopsis</h2></header><div class="cmdsynopsis"><code class="command">cccp</code> <span class="arg">
<!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml" class="no-js"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/><script>(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement)</script><title>Unit test: cmdsynopsis.001</title><meta name="viewport" content="width=device-width, initial-scale=1.0"/><link href="https://purl.org/dc/elements/1.1/" rel="schema.dc"/><meta content="2011-04-22T17:02:00-06:00" name="dc.modified"/><meta content="DocBook xslTNG" name="generator"/><link href="./css/docbook.css" rel="stylesheet" media="screen"/></head><body class="home"><nav class="top"></nav><main><article class="article component"><header><h1>Unit test: cmdsynopsis.001</h1></header><section id="minimal" class="component refentry"><div id="minimal_refnamediv1" class="refnamediv"><header><h2>Name</h2></header><p><span class="refname">cccp</span><span class="refname-sep">, </span><span class="refname">zzzzzzp</span><span class="refpurpose"><span class="refpurpose-sep"> — </span><span class="refpurpose-text">The C++/ZZZ++ preprocessors</span><span class="refpurpose-punc">.</span></span></p></div><section id="minimal_refsynopsisdiv1" class="refsynopsisdiv"><header><h2>Synopsis</h2></header><div class="cmdsynopsis"><span class="command">cccp</span> <span class="arg">
<code class="option">--path "<em class="option replaceable">PATHS</em>"</code>
</span> <span class="cmdpunct">[</span><span class="arg">-$</span><span class="cmdpunct">]</span> <span class="cmdpunct">[</span><span class="arg">-C</span><span class="cmdpunct">]</span> <span class="cmdpunct">[</span><span class="arg">-D<em class="replaceable">name</em>
<span class="cmdpunct">[</span><span class="arg">=<em class="replaceable">definition</em>
Expand All @@ -13,7 +13,7 @@
<em class="replaceable">infile</em>
</span><span class="cmdpunct">]</span><span class="cmdpunct"> | </span> <span class="cmdpunct">[</span><span class="arg">-</span><span class="cmdpunct">]</span></span><span class="cmdpunct">}</span> <span class="cmdpunct">{</span><span class="group"><span class="cmdpunct">[</span><span class="arg">
<em class="replaceable">outfile</em>
</span><span class="cmdpunct">]</span><span class="cmdpunct"> | </span> <span class="cmdpunct">[</span><span class="arg">-</span><span class="cmdpunct">]</span></span><span class="cmdpunct">}</span><div id="langs" class="synopfragment"><span class="synopfragmentref-number"></span> <span class="group"><span class="cmdpunct">[</span><span class="arg">-lang-c</span><span class="cmdpunct">]</span><span class="cmdpunct"> | </span> <span class="cmdpunct">[</span><span class="arg">-lang-c++</span><span class="cmdpunct">]</span><span class="cmdpunct"> | </span> <span class="cmdpunct">[</span><span class="arg">-lang-objc</span><span class="cmdpunct">]</span></span></div><div id="warn" class="synopfragment"><span class="synopfragmentref-number"></span> <span class="cmdpunct">[</span><span class="arg">-Wtrigraphs</span><span class="cmdpunct">]</span> <span class="cmdpunct">[</span><span class="arg">-Wcomment</span><span class="cmdpunct">]</span> <span class="cmdpunct">[</span><span class="arg">-Wall</span><span class="cmdpunct">]</span> <span class="cmdpunct">[</span><span class="arg">-Wtraditional</span><span class="cmdpunct">]</span></div></div><div class="cmdsynopsis"><code class="command">zzzzzzp</code> <span class="cmdpunct">[</span><span class="arg">-$</span><span class="cmdpunct">]</span> <span class="cmdpunct">[</span><span class="arg">-C</span><span class="cmdpunct">]</span> <span class="cmdpunct">[</span><span class="arg">-D<em class="replaceable">name</em>
</span><span class="cmdpunct">]</span><span class="cmdpunct"> | </span> <span class="cmdpunct">[</span><span class="arg">-</span><span class="cmdpunct">]</span></span><span class="cmdpunct">}</span><div id="langs" class="synopfragment"><span class="synopfragmentref-number"></span> <span class="group"><span class="cmdpunct">[</span><span class="arg">-lang-c</span><span class="cmdpunct">]</span><span class="cmdpunct"> | </span> <span class="cmdpunct">[</span><span class="arg">-lang-c++</span><span class="cmdpunct">]</span><span class="cmdpunct"> | </span> <span class="cmdpunct">[</span><span class="arg">-lang-objc</span><span class="cmdpunct">]</span></span></div><div id="warn" class="synopfragment"><span class="synopfragmentref-number"></span> <span class="cmdpunct">[</span><span class="arg">-Wtrigraphs</span><span class="cmdpunct">]</span> <span class="cmdpunct">[</span><span class="arg">-Wcomment</span><span class="cmdpunct">]</span> <span class="cmdpunct">[</span><span class="arg">-Wall</span><span class="cmdpunct">]</span> <span class="cmdpunct">[</span><span class="arg">-Wtraditional</span><span class="cmdpunct">]</span></div></div><div class="cmdsynopsis"><span class="command">zzzzzzp</span> <span class="cmdpunct">[</span><span class="arg">-$</span><span class="cmdpunct">]</span> <span class="cmdpunct">[</span><span class="arg">-C</span><span class="cmdpunct">]</span> <span class="cmdpunct">[</span><span class="arg">-D<em class="replaceable">name</em>
<span class="cmdpunct">[</span><span class="arg">=<em class="replaceable">definition</em>
</span><span class="cmdpunct">]</span>
</span><span class="cmdpunct"></span><span class="cmdpunct">]</span> <span class="cmdpunct">[</span><span class="arg">-dD</span><span class="cmdpunct">]</span> <span class="cmdpunct">[</span><span class="arg">-dM</span><span class="cmdpunct">]</span><br/> <span class="cmdpunct">[</span><span class="arg">-I <em class="replaceable">directory</em>
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/expected/cmdsynopsis.002.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml" class="no-js"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/><script>(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement)</script><title>Unit Test: cmdsynopsis.002</title><meta name="viewport" content="width=device-width, initial-scale=1.0"/><link href="https://purl.org/dc/elements/1.1/" rel="schema.dc"/><meta content="2011-04-22T17:02:00-06:00" name="dc.modified"/><meta content="DocBook xslTNG" name="generator"/><link href="./css/docbook.css" rel="stylesheet" media="screen"/></head><body class="home"><nav class="top"></nav><main><article class="article component"><header><h1>Unit Test: cmdsynopsis.002</h1><div class="author"><h3><span class="first-last personname"><span class="firstname">Adam</span> <span class="surname">Di Carlo</span></span></h3></div></header><p>
Lets refer to <a href="#foo" class="xref xref-refentry"><span class="label">testing</span></a>.
</p><section id="foo" class="component refentry"><div id="foo_refnamediv1" class="refnamediv"><header><h2>Name</h2></header><p><span class="refname">testing</span><span class="refpurpose"><span class="refpurpose-sep"> — </span><span class="refpurpose-text">Testing more cmdsynopsis stuff, esp. permutations of grouped
arguments</span><span class="refpurpose-punc">.</span></span></p></div><section id="foo_refsynopsisdiv1" class="refsynopsisdiv"><header><h2>Synopsis</h2></header><div class="cmdsynopsis"><code class="command">foo</code> <span class="cmdpunct">[</span><span class="group"><span class="cmdpunct">[</span><span class="arg">-foo</span><span class="cmdpunct">]</span><span class="cmdpunct"> | </span> <span class="cmdpunct">[</span><span class="arg">-bar</span><span class="cmdpunct">]</span></span><span class="cmdpunct">]</span> <span class="cmdpunct">[</span><span class="group"><span class="cmdpunct">[</span><span class="arg">-re</span><span class="cmdpunct">]</span><span class="cmdpunct"> | </span> <span class="cmdpunct">[</span><span class="arg">-peat</span><span class="cmdpunct">]</span></span><span class="cmdpunct"></span><span class="cmdpunct">]</span></div></section><section id="foo_rs1_1" class="refsect1"><header><h2>Description</h2></header><p>This is a dummy description.</p></section></section></article></main><nav class="bottom"></nav></body></html>
arguments</span><span class="refpurpose-punc">.</span></span></p></div><section id="foo_refsynopsisdiv1" class="refsynopsisdiv"><header><h2>Synopsis</h2></header><div class="cmdsynopsis"><span class="command">foo</span> <span class="cmdpunct">[</span><span class="group"><span class="cmdpunct">[</span><span class="arg">-foo</span><span class="cmdpunct">]</span><span class="cmdpunct"> | </span> <span class="cmdpunct">[</span><span class="arg">-bar</span><span class="cmdpunct">]</span></span><span class="cmdpunct">]</span> <span class="cmdpunct">[</span><span class="group"><span class="cmdpunct">[</span><span class="arg">-re</span><span class="cmdpunct">]</span><span class="cmdpunct"> | </span> <span class="cmdpunct">[</span><span class="arg">-peat</span><span class="cmdpunct">]</span></span><span class="cmdpunct"></span><span class="cmdpunct">]</span></div></section><section id="foo_rs1_1" class="refsect1"><header><h2>Description</h2></header><p>This is a dummy description.</p></section></section></article></main><nav class="bottom"></nav></body></html>
6 changes: 3 additions & 3 deletions src/test/resources/expected/refentry.003.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml" class="no-js"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/><script>(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement)</script><title>Article wrapper</title><meta name="viewport" content="width=device-width, initial-scale=1.0"/><link href="https://purl.org/dc/elements/1.1/" rel="schema.dc"/><meta content="2011-04-22T17:02:00-06:00" name="dc.modified"/><meta content="DocBook xslTNG" name="generator"/><link href="./css/docbook.css" rel="stylesheet" media="screen"/><script src="./js/copy-verbatim.js" defer="defer"></script></head><body class="home"><nav class="top"></nav><main><article class="article component"><header><h1>Article wrapper</h1></header><p>Lets refer to <a href="#evenlessminimal" class="xref xref-refentry"><span class="label">Fred<span class="manvolnum"><span class="sep">(</span>3<span class="sep">)</span></span></span></a>.
</p><section id="evenlessminimal" class="component refentry"><div id="evenlessminimal_refnamediv1" class="refnamediv"><header><h2>Name</h2></header><p><span class="refname">Less Minimal</span><span class="refname-sep">, </span><span class="refname">Even Less Minimal</span><span class="refpurpose"><span class="refpurpose-sep"> — </span><span class="refpurpose-text">Test of a minimal RefEntry</span><span class="refpurpose-punc">.</span></span></p></div><section id="evenlessminimal_refsynopsisdiv1" class="refsynopsisdiv"><header><h2>Synopsis</h2></header><div class="cmdsynopsis"><code class="command">command</code> <span class="cmdpunct">[</span><span class="group"><span class="arg">-a</span><span class="cmdpunct"> | </span> <span class="arg">-alpha</span></span><span class="cmdpunct">]</span></div><div class="cmdsynopsis"><code class="command">command</code> <span class="cmdpunct">[</span><span class="group"><span class="arg">-b</span><span class="cmdpunct"> | </span> <span class="arg">-beta</span></span><span class="cmdpunct">]</span></div><div class="cmdsynopsis"><code class="command">command</code> <span class="group"><span class="arg">-c</span><span class="cmdpunct"> | </span> <span class="arg">
-charlie</span></span></div><div class="cmdsynopsis"><code class="command">command</code> <span class="group"><span class="arg">-d</span><span class="cmdpunct"> | </span> <span class="arg">
-delta</span></span></div><div class="cmdsynopsis"><code class="command">command</code> <span class="arg">--help</span></div></section><section id="evenlessminimal_rs1_1" class="refsect1"><header><h2>Description</h2></header><p>This is a less minimal RefEntry.</p><div id="evenlessminimal_rs1_1_fig1" class="figure formalobject"><div class="pre-wrap programlisting-wrap" db-startinglinenumber="1" db-numberoflines="3"><pre class="language-none numbered programlisting verbatim verblines"><span class="line" db-line="1"><span class="ln"> <span class="nsep">|</span></span><span class="ld"><code>Testing</code></span></span>
</p><section id="evenlessminimal" class="component refentry"><div id="evenlessminimal_refnamediv1" class="refnamediv"><header><h2>Name</h2></header><p><span class="refname">Less Minimal</span><span class="refname-sep">, </span><span class="refname">Even Less Minimal</span><span class="refpurpose"><span class="refpurpose-sep"> — </span><span class="refpurpose-text">Test of a minimal RefEntry</span><span class="refpurpose-punc">.</span></span></p></div><section id="evenlessminimal_refsynopsisdiv1" class="refsynopsisdiv"><header><h2>Synopsis</h2></header><div class="cmdsynopsis"><span class="command">command</span> <span class="cmdpunct">[</span><span class="group"><span class="arg">-a</span><span class="cmdpunct"> | </span> <span class="arg">-alpha</span></span><span class="cmdpunct">]</span></div><div class="cmdsynopsis"><span class="command">command</span> <span class="cmdpunct">[</span><span class="group"><span class="arg">-b</span><span class="cmdpunct"> | </span> <span class="arg">-beta</span></span><span class="cmdpunct">]</span></div><div class="cmdsynopsis"><span class="command">command</span> <span class="group"><span class="arg">-c</span><span class="cmdpunct"> | </span> <span class="arg">
-charlie</span></span></div><div class="cmdsynopsis"><span class="command">command</span> <span class="group"><span class="arg">-d</span><span class="cmdpunct"> | </span> <span class="arg">
-delta</span></span></div><div class="cmdsynopsis"><span class="command">command</span> <span class="arg">--help</span></div></section><section id="evenlessminimal_rs1_1" class="refsect1"><header><h2>Description</h2></header><p>This is a less minimal RefEntry.</p><div id="evenlessminimal_rs1_1_fig1" class="figure formalobject"><div class="pre-wrap programlisting-wrap" db-startinglinenumber="1" db-numberoflines="3"><pre class="language-none numbered programlisting verbatim verblines"><span class="line" db-line="1"><span class="ln"> <span class="nsep">|</span></span><span class="ld"><code>Testing</code></span></span>
<span class="line" db-line="2"><span class="ln"> <span class="nsep">|</span></span><span class="ld"><code>Some</code></span></span>
<span class="line" db-line="3"><span class="ln"> <span class="nsep">|</span></span><span class="ld"><code>Text</code></span></span>
</pre></div><header><div class="title">Figure <span class="label">1</span><span class="sep"></span>Some Program</div></header></div></section></section></article></main><nav class="bottom"></nav></body></html>
Loading

0 comments on commit fa11cf4

Please sign in to comment.