diff options
author | Paul Yang <TeBoring@users.noreply.github.com> | 2017-04-19 20:03:34 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-19 20:03:34 -0700 |
commit | 7be088202bad3a89498db2e9b19afda9f3929430 (patch) | |
tree | b3c027b951251e4e80d173acf0655a3c333ceb24 /php/tests/memory_leak_test.php | |
parent | 190b5270c8717ca343db42da489e5e7d6d9efb2c (diff) | |
download | protobuf-7be088202bad3a89498db2e9b19afda9f3929430.tar.gz protobuf-7be088202bad3a89498db2e9b19afda9f3929430.tar.bz2 protobuf-7be088202bad3a89498db2e9b19afda9f3929430.zip |
Enum defined without package have incorrect class name. (#2988)
Fix the bug by sharing the code for generating class name for both
message and enum.
Diffstat (limited to 'php/tests/memory_leak_test.php')
-rw-r--r-- | php/tests/memory_leak_test.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/php/tests/memory_leak_test.php b/php/tests/memory_leak_test.php index 68b6f5be..6b7077f0 100644 --- a/php/tests/memory_leak_test.php +++ b/php/tests/memory_leak_test.php @@ -2,6 +2,8 @@ # phpunit has memory leak by itself. Thus, it cannot be used to test memory leak. +require_once('generated/NoNamespaceEnum.php'); +require_once('generated/NoNamespaceMessage.php'); require_once('generated/PrefixTestPrefix.php'); require_once('generated/Bar/TestInclude.php'); require_once('generated/Foo/TestEnum.php'); @@ -13,6 +15,7 @@ require_once('generated/Foo/TestPhpDoc.php'); require_once('generated/Foo/TestUnpackedMessage.php'); require_once('generated/GPBMetadata/Proto/Test.php'); require_once('generated/GPBMetadata/Proto/TestInclude.php'); +require_once('generated/GPBMetadata/Proto/TestNoNamespace.php'); require_once('generated/GPBMetadata/Proto/TestPrefix.php'); require_once('test_util.php'); |