[geany/geany] 4de97d: Tests: add test for PHP 5.5 additional usage of the "class" keyword
Colomban Wendling
git-noreply at xxxxx
Wed Jul 3 17:26:23 UTC 2013
Branch: refs/heads/master
Author: Colomban Wendling <ban at herbesfolles.org>
Committer: Colomban Wendling <ban at herbesfolles.org>
Date: Wed, 03 Jul 2013 17:26:23 UTC
Commit: 4de97daa8ce4622d5ff9d366291a29839ed960e1
https://github.com/geany/geany/commit/4de97daa8ce4622d5ff9d366291a29839ed960e1
Log Message:
-----------
Tests: add test for PHP 5.5 additional usage of the "class" keyword
Modified Paths:
--------------
tests/ctags/Makefile.am
tests/ctags/php5_5_class_kw.php
tests/ctags/php5_5_class_kw.php.tags
Modified: tests/ctags/Makefile.am
1 files changed, 1 insertions(+), 0 deletions(-)
===================================================================
@@ -185,6 +185,7 @@ test_sources = \
objectivec_property.mm \
objectivec_protocol.mm \
Package.pm \
+ php5_5_class_kw.php \
procedure_pointer_module.f90 \
property.cs \
prototype.h \
Modified: tests/ctags/php5_5_class_kw.php
19 files changed, 19 insertions(+), 0 deletions(-)
===================================================================
@@ -0,0 +1,19 @@
+<?php
+
+class A {
+
+}
+
+echo A::class . "\n";
+
+class B {
+ public function __construct () {
+ echo this::class;
+ }
+}
+
+new B();
+
+class C {
+
+}
Modified: tests/ctags/php5_5_class_kw.php.tags
5 files changed, 5 insertions(+), 0 deletions(-)
===================================================================
@@ -0,0 +1,5 @@
+# format=tagmanager
+A�1�0
+B�1�0
+C�1�0
+__construct�16�()�B�0
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Commits
mailing list