aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzzhongwei2012-12-03 04:03:26 (EST)
committerzzhongwei2012-12-03 04:03:26 (EST)
commitabd0f3c32eea98643727299d5801a744925fd5e9 (patch)
tree8a18401a76d404fb8736e870bec31146e2419c64
parent7be29a3c40c1d92c1f9614240965f61ad1b7d709 (diff)
downloadorg.eclipse.pdt-abd0f3c32eea98643727299d5801a744925fd5e9.zip
org.eclipse.pdt-abd0f3c32eea98643727299d5801a744925fd5e9.tar.gz
org.eclipse.pdt-abd0f3c32eea98643727299d5801a744925fd5e9.tar.bz2
unit test for https://bugs.eclipse.org/bugs/show_bug.cgi?id=395040
-rw-r--r--tests/org.eclipse.php.core.tests/workspace/codeassist/php5/test395040_self.pdtt16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/org.eclipse.php.core.tests/workspace/codeassist/php5/test395040_self.pdtt b/tests/org.eclipse.php.core.tests/workspace/codeassist/php5/test395040_self.pdtt
new file mode 100644
index 0000000..3bfc3d5
--- /dev/null
+++ b/tests/org.eclipse.php.core.tests/workspace/codeassist/php5/test395040_self.pdtt
@@ -0,0 +1,16 @@
+--TEST--
+Test global constant.
+--PREFERENCES--
+org.eclipse.php.core/contentAssistShowStrictOptions=false
+--FILE--
+<?
+class MyClass {
+ function test($param) {
+ $a = 1;
+ | // trigger Content Assist at cursor position "|"
+ }
+}
+?>
+--EXPECT--
+keyword(self)
+?> \ No newline at end of file