chiark / gitweb /
doxygen: test that example pages work even without breadcrumb/footer nav.
authorVladimír Vondruš <mosra@centrum.cz>
Thu, 18 Jan 2018 20:25:36 +0000 (21:25 +0100)
committerVladimír Vondruš <mosra@centrum.cz>
Thu, 18 Jan 2018 20:40:17 +0000 (21:40 +0100)
doxygen/test/example/a.txt [new file with mode: 0644]
doxygen/test/example/a_8txt-example.html [new file with mode: 0644]
doxygen/test/example/input.dox
doxygen/test/test_example.py

diff --git a/doxygen/test/example/a.txt b/doxygen/test/example/a.txt
new file mode 100644 (file)
index 0000000..5176d96
--- /dev/null
@@ -0,0 +1 @@
+this example has no breadcrumb and also no footer nav
diff --git a/doxygen/test/example/a_8txt-example.html b/doxygen/test/example/a_8txt-example.html
new file mode 100644 (file)
index 0000000..9eca46f
--- /dev/null
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+  <meta charset="UTF-8" />
+  <title>a.txt source | My Project</title>
+  <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400i,600,600i%7CSource+Code+Pro:400,400i,600" />
+  <link rel="stylesheet" href="m-dark+doxygen.compiled.css" />
+  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+</head>
+<body>
+<header><nav id="navigation">
+  <div class="m-container">
+    <div class="m-row">
+      <a href="index.html" id="m-navbar-brand" class="m-col-t-9 m-col-m-none m-left-m">My Project</a>
+    </div>
+  </div>
+</nav></header>
+<main><article>
+  <div class="m-container m-container-inflatable">
+    <div class="m-row">
+      <div class="m-col-l-10 m-push-l-1">
+        <h1>
+          a.txt <span class="m-thin">source</span>
+        </h1>
+<pre class="m-code">this example has no breadcrumb and also no footer nav</pre>
+      </div>
+    </div>
+  </div>
+</article></main>
+</body>
+</html>
index 507035d55616017b5b780e9a23cede03e568b93f..7179ba3bf1860a6c89537df28180eea9946c7564 100644 (file)
@@ -14,4 +14,5 @@ See here:
 @example path-prefix/CMakeLists.txt @m_examplenavigation{example,path-prefix/} @m_footernavigation
 @example path-prefix/configure.h.cmake @m_examplenavigation{example,path-prefix/} @m_footernavigation
 @example path-prefix/main.cpp @m_examplenavigation{example,path-prefix/} @m_footernavigation
+@example a.txt
 */
index adbc564b6b89594feaec0fc14fa1164ce7fdc0e4..974713495bd6a7da18f8d398b1a47b8ccdde8787 100644 (file)
@@ -40,3 +40,4 @@ class Example(IntegrationTestCase):
         self.assertEqual(*self.actual_expected_contents('path-prefix_2CMakeLists_8txt-example.html'))
         self.assertEqual(*self.actual_expected_contents('path-prefix_2configure_8h_8cmake-example.html'))
         self.assertEqual(*self.actual_expected_contents('path-prefix_2main_8cpp-example.html'))
+        self.assertEqual(*self.actual_expected_contents('a_8txt-example.html'))