aboutsummaryrefslogtreecommitdiff
path: root/js/compatibility_tests/v3.0.0/commonjs/export_testdeps.js
diff options
context:
space:
mode:
authorAdam Cozzette <acozzette@gmail.com>2017-04-03 14:39:26 -0700
committerGitHub <noreply@github.com>2017-04-03 14:39:26 -0700
commitcc3fa2ec80d196e045ae05797799f079188106f3 (patch)
tree25cdea9202fa1b79395204373e49a9808a685009 /js/compatibility_tests/v3.0.0/commonjs/export_testdeps.js
parent4a0dd03e52e09332c8fd0f8f26a8e0ae9f911182 (diff)
parent10ea25133df29e70f2541f8ec34be091d447f5ae (diff)
downloadprotobuf-cc3fa2ec80d196e045ae05797799f079188106f3.tar.gz
protobuf-cc3fa2ec80d196e045ae05797799f079188106f3.tar.bz2
protobuf-cc3fa2ec80d196e045ae05797799f079188106f3.zip
Merge pull request #2676 from acozzette/js-compatibility-tests
JS compatibility tests
Diffstat (limited to 'js/compatibility_tests/v3.0.0/commonjs/export_testdeps.js')
-rw-r--r--js/compatibility_tests/v3.0.0/commonjs/export_testdeps.js18
1 files changed, 18 insertions, 0 deletions
diff --git a/js/compatibility_tests/v3.0.0/commonjs/export_testdeps.js b/js/compatibility_tests/v3.0.0/commonjs/export_testdeps.js
new file mode 100644
index 00000000..59c77ca2
--- /dev/null
+++ b/js/compatibility_tests/v3.0.0/commonjs/export_testdeps.js
@@ -0,0 +1,18 @@
+/**
+ * @fileoverview Export symbols needed by tests in CommonJS style.
+ *
+ * This file is like export.js, but for symbols that are only used by tests.
+ * However we exclude assert functions here, because they are exported into
+ * the global namespace, so those are handled as a special case in
+ * export_asserts.js.
+ */
+
+goog.require('goog.crypt.base64');
+goog.require('jspb.arith.Int64');
+goog.require('jspb.arith.UInt64');
+goog.require('jspb.BinaryEncoder');
+goog.require('jspb.BinaryDecoder');
+goog.require('jspb.utils');
+
+exports.goog = goog;
+exports.jspb = jspb;