aboutsummaryrefslogtreecommitdiff
path: root/js/commonjs/test6/test6.proto
diff options
context:
space:
mode:
authorJoshua Haberman <jhaberman@gmail.com>2016-02-29 10:09:56 -0800
committerJoshua Haberman <jhaberman@gmail.com>2016-02-29 10:09:56 -0800
commit52f62e3652ce80ab14593331f4277539e7fa29c8 (patch)
tree7fa2adc29c693ceefd0c78d094e85b4f57784476 /js/commonjs/test6/test6.proto
parent9f775a82cd1b5881ef9d32297a21946ab1ea6493 (diff)
parentc9f8a1b00607be071d8be9e2bdc42ffcf97442aa (diff)
downloadprotobuf-52f62e3652ce80ab14593331f4277539e7fa29c8.tar.gz
protobuf-52f62e3652ce80ab14593331f4277539e7fa29c8.tar.bz2
protobuf-52f62e3652ce80ab14593331f4277539e7fa29c8.zip
Merge pull request #1274 from murgatroid99/node_relative_requires
Fix CommonJS relative require generation, and test it
Diffstat (limited to 'js/commonjs/test6/test6.proto')
-rw-r--r--js/commonjs/test6/test6.proto40
1 files changed, 40 insertions, 0 deletions
diff --git a/js/commonjs/test6/test6.proto b/js/commonjs/test6/test6.proto
new file mode 100644
index 00000000..a060925f
--- /dev/null
+++ b/js/commonjs/test6/test6.proto
@@ -0,0 +1,40 @@
+// Protocol Buffers - Google's data interchange format
+// Copyright 2016 Google Inc. All rights reserved.
+// https://developers.google.com/protocol-buffers/
+//
+// Redistribution and use in source and binary forms, with or without
+// modification, are permitted provided that the following conditions are
+// met:
+//
+// * Redistributions of source code must retain the above copyright
+// notice, this list of conditions and the following disclaimer.
+// * Redistributions in binary form must reproduce the above
+// copyright notice, this list of conditions and the following disclaimer
+// in the documentation and/or other materials provided with the
+// distribution.
+// * Neither the name of Google Inc. nor the names of its
+// contributors may be used to endorse or promote products derived from
+// this software without specific prior written permission.
+//
+// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+syntax = "proto3";
+
+option java_package = "com.google.apps.jspb.proto";
+option java_multiple_files = true;
+
+package jspb.test.importing;
+
+message ImportedMessage {
+ string string_value = 1;
+}