From 65c002763e97bda7bf6e3e7f3ac877b54d6cb2a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Vo=C5=99=C3=AD=C5=A1ek?= Date: Mon, 17 Jul 2023 13:07:54 +0200 Subject: [PATCH] test only simple NS for now --- test/unit/ns.html | 220 +--------------------------------------------- test/unit/ns.md | 52 +---------- 2 files changed, 3 insertions(+), 269 deletions(-) diff --git a/test/unit/ns.html b/test/unit/ns.html index 44bfc2a..278cc87 100644 --- a/test/unit/ns.html +++ b/test/unit/ns.html @@ -3,20 +3,6 @@

Simple NS

-
-
- - Foo\ - - - simplify - - ( - ) - -
-
-
@@ -49,213 +35,11 @@

Simple NS
-
- :php:meth:`X::simplify`
-- :php:meth:`A::simplify`
-
-
- -

-
- -

NS can be redeclared

-
-
- - Foo\Bar\ - - - simplify - - ( - ) - -
-
-
-
-
- - class - - - Foo\Bar\ - - - A - - -
-
-
-
-
- - Foo\Bar\A:: - - - simplify - - ( - ) - -
-
-
- -
-
- - class - - - Bar\ - - - A - - -
-
-
-
-
- - Bar\A:: - - - simplify - - ( - ) - -
-
-
-

Cross linking:

-
-
-
- :php:meth:`X::simplify`
-- :php:meth:`A::simplify`
-
-
-
-
-
-

Leading \ implies absolute class name

-
-
- - \X::simplify() - -
-
-
-
-
- - Bar\X2:: - - - simplify - - ( - ) - -
-
-
-
-
- - \A - -
-
-
-
-
- - Bar\A:: - - - simplify - - ( - ) -
-
-
-
-
- - class - - - Bar\ - - - A2 - - -
-
-
-
-
- - Bar\A2:: - - - simplify - - ( - ) - -
-
-
-

Cross linking:

-
-
-
- :php:meth:`X::simplify`
-- :php:meth:`A::simplify`
+        
- :php:meth:`A::simplify`
+- :php:meth:`\Foo\A::simplify`
 
-
diff --git a/test/unit/ns.md b/test/unit/ns.md index 4ac3319..bd902dc 100644 --- a/test/unit/ns.md +++ b/test/unit/ns.md @@ -4,62 +4,12 @@ Simple NS .. php:namespace:: Foo -.. php:method:: X::simplify() - -.. php:class:: A - -.. php:method:: simplify() - -Cross linking:: - -- :php:meth:`X::simplify` -- :php:meth:`A::simplify` - -NS can be redeclared -==================== - -.. php:namespace:: Foo\Bar - -.. php:method:: X::simplify() - -.. php:class:: A - -.. php:method:: simplify() - -.. php:namespace:: Bar - .. php:class:: A .. php:method:: simplify() Cross linking:: -- :php:meth:`X::simplify` -- :php:meth:`A::simplify` - -Leading ``\`` implies absolute class name -========================================= - -.. php:method:: \X::simplify() - -.. php:method:: X2::simplify() - -.. php:class:: \A - -.. php:method:: simplify() - -.. php:class:: A2 - -.. php:method:: simplify() - -Cross linking:: - -- :php:meth:`X::simplify` - :php:meth:`A::simplify` - -- :php:meth:`\X::simplify` -- :php:meth:`\A::simplify` - -- :php:meth:`X2::simplify` -- :php:meth:`A2::simplify` +- :php:meth:`\Foo\A::simplify` ```