[geany/geany] f842ed: Tests: add PHP case sensitivity test

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:      f842ed9aac47d1c51115df4f1b3880435fbdc115
             https://github.com/geany/geany/commit/f842ed9aac47d1c51115df4f1b3880435fbdc115

Log Message:
-----------
Tests: add PHP case sensitivity test


Modified Paths:
--------------
    tests/ctags/Makefile.am
    tests/ctags/case_sensitivity.php
    tests/ctags/case_sensitivity.php.tags

Modified: tests/ctags/Makefile.am
1 files changed, 1 insertions(+), 0 deletions(-)
===================================================================
@@ -105,6 +105,7 @@ test_sources = \
 	bug960316.v						\
 	bug961001.v						\
 	byte.f							\
+	case_sensitivity.php			\
 	char-selector.f90				\
 	classes.php						\
 	common.f						\


Modified: tests/ctags/case_sensitivity.php
40 files changed, 40 insertions(+), 0 deletions(-)
===================================================================
@@ -0,0 +1,40 @@
+<?php
+// PHP is case insensitive about keywords
+
+class A {}
+
+CLASS B {}
+
+Class C {}
+
+ClAsS D {}
+
+
+
+function a() {}
+
+FUNCTION b() {}
+
+Function c() {}
+
+FuNcTiOn d() {}
+
+
+
+trait tA {}
+
+TRAIT tB {}
+
+Trait tC {}
+
+TrAiT tD {}
+
+
+
+interface iA {}
+
+INTERFACE iB {}
+
+Interface iC {}
+
+InTeRfAcE iD {}


Modified: tests/ctags/case_sensitivity.php.tags
17 files changed, 17 insertions(+), 0 deletions(-)
===================================================================
@@ -0,0 +1,17 @@
+# format=tagmanager
+A�1�0
+B�1�0
+C�1�0
+D�1�0
+a�16�()�0
+b�16�()�0
+c�16�()�0
+d�16�()�0
+iA�32�0
+iB�32�0
+iC�32�0
+iD�32�0
+tA�2048�0
+tB�2048�0
+tC�2048�0
+tD�2048�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