From 8e24f5466ebad5fa071f3706f8639aac4978275a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Mon, 11 Dec 2017 03:02:57 +0100 Subject: [PATCH] m.gl: initial test. --- pelican-plugins/m/test/gl/page.html | 46 +++++++++++++++++++++++++++++ pelican-plugins/m/test/gl/page.rst | 7 +++++ pelican-plugins/m/test/test_gl.py | 12 ++++++++ 3 files changed, 65 insertions(+) create mode 100644 pelican-plugins/m/test/gl/page.html create mode 100644 pelican-plugins/m/test/gl/page.rst create mode 100644 pelican-plugins/m/test/test_gl.py diff --git a/pelican-plugins/m/test/gl/page.html b/pelican-plugins/m/test/gl/page.html new file mode 100644 index 00000000..e70b4940 --- /dev/null +++ b/pelican-plugins/m/test/gl/page.html @@ -0,0 +1,46 @@ + + + + + m.gl | A Pelican Blog + + + + + + + + + + + + + +
+
+ +
+ + \ No newline at end of file diff --git a/pelican-plugins/m/test/gl/page.rst b/pelican-plugins/m/test/gl/page.rst new file mode 100644 index 00000000..3ec3f93e --- /dev/null +++ b/pelican-plugins/m/test/gl/page.rst @@ -0,0 +1,7 @@ +m.gl +#### + +- Function link: :glfn:`DispatchCompute` +- Extension link: :glext:`ARB_direct_state_access` +- Extension function link: :glfnext:`SpecializeShader ` +- :glfn:`Custom link title ` diff --git a/pelican-plugins/m/test/test_gl.py b/pelican-plugins/m/test/test_gl.py new file mode 100644 index 00000000..3017309d --- /dev/null +++ b/pelican-plugins/m/test/test_gl.py @@ -0,0 +1,12 @@ +from m.test import PluginTestCase + +class Gl(PluginTestCase): + def __init__(self, *args, **kwargs): + super().__init__(__file__, '', *args, **kwargs) + + def test(self): + self.run_pelican({ + 'PLUGINS': ['m.htmlsanity', 'm.gl'] + }) + + self.assertEqual(*self.actual_expected_contents('page.html')) -- 2.30.2