From: Vladimír Vondruš Date: Mon, 11 Dec 2017 02:02:57 +0000 (+0100) Subject: m.gl: initial test. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~cjwatson/git?a=commitdiff_plain;h=8e24f5466ebad5fa071f3706f8639aac4978275a;p=blog.git m.gl: initial test. --- 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'))