Index: third_party/protobuf/php/tests/test_no_namespace.pb.php |
diff --git a/third_party/protobuf/php/tests/test_no_namespace.pb.php b/third_party/protobuf/php/tests/test_no_namespace.pb.php |
new file mode 100644 |
index 0000000000000000000000000000000000000000..2f92c955c4ca1dfc9a735e757f83ef7e12e34f2f |
--- /dev/null |
+++ b/third_party/protobuf/php/tests/test_no_namespace.pb.php |
@@ -0,0 +1,34 @@ |
+<?php |
+# Generated by the protocol buffer compiler. DO NOT EDIT! |
+# source: test_no_namespace.proto |
+ |
+use Google\Protobuf\Internal\DescriptorPool; |
+use Google\Protobuf\Internal\GPBType; |
+use Google\Protobuf\Internal\RepeatedField; |
+use Google\Protobuf\Internal\GPBUtil; |
+ |
+class NoNameSpace extends \Google\Protobuf\Internal\Message |
+{ |
+ private $a = 0; |
+ |
+ public function getA() |
+ { |
+ return $this->a; |
+ } |
+ |
+ public function setA($var) |
+ { |
+ GPBUtil::checkInt32($var); |
+ $this->a = $var; |
+ } |
+ |
+} |
+ |
+$pool = DescriptorPool::getGeneratedPool(); |
+ |
+$pool->internalAddGeneratedFile(hex2bin( |
+ "0a3b0a17746573745f6e6f5f6e616d6573706163652e70726f746f22180a" . |
+ "0b4e6f4e616d65537061636512090a0161180120012805620670726f746f" . |
+ "33" |
+)); |
+ |