protobuf/js
Josh Haberman 5394fdb641 Enable JavaScript tests for binary parse/serialize.
These should have been included in the first match
but I overlooked them.

This involved deleting some of the code that tests
Google-internal-only features.
2016-02-02 15:54:59 -08:00
..
binary Enable JavaScript tests for binary parse/serialize. 2016-02-02 15:54:59 -08:00
data.proto Down-integrate from internal code base. 2015-12-11 17:10:28 -08:00
debug_test.js Down-integrate from internal code base. 2015-12-11 17:10:28 -08:00
debug.js Down-integrate from internal code base. 2015-12-11 17:10:28 -08:00
gulpfile.js Added README and enabled JavaScript tests on Node.js 2015-12-21 15:22:49 -08:00
jasmine.json Enable JavaScript tests for binary parse/serialize. 2016-02-02 15:54:59 -08:00
message_test.js Added README and enabled JavaScript tests on Node.js 2015-12-21 15:22:49 -08:00
message.js Down-integrate from internal code base. 2015-12-11 17:10:28 -08:00
node_loader.js Added README and enabled JavaScript tests on Node.js 2015-12-21 15:22:49 -08:00
package.json Enable JavaScript tests for binary parse/serialize. 2016-02-02 15:54:59 -08:00
proto3_test.js Down-integrate from internal code base. 2015-12-11 17:10:28 -08:00
proto3_test.proto Down-integrate from internal code base. 2015-12-11 17:10:28 -08:00
README.md Added README and enabled JavaScript tests on Node.js 2015-12-21 15:22:49 -08:00
test2.proto Down-integrate from internal code base. 2015-12-11 17:10:28 -08:00
test3.proto Down-integrate from internal code base. 2015-12-11 17:10:28 -08:00
test4.proto Down-integrate from internal code base. 2015-12-11 17:10:28 -08:00
test5.proto Down-integrate from internal code base. 2015-12-11 17:10:28 -08:00
test_bootstrap.js Down-integrate from internal code base. 2015-12-11 17:10:28 -08:00
test.proto Down-integrate from internal code base. 2015-12-11 17:10:28 -08:00
testbinary.proto Down-integrate from internal code base. 2015-12-11 17:10:28 -08:00
testempty.proto Down-integrate from internal code base. 2015-12-11 17:10:28 -08:00

This directory contains Protocol Buffer support for JavaScript. This code works in browsers and in Node.js.

The packaging work for this is still in-progress. For now you can just run the tests. First you need to build the main C++ distribution because the code generator for JavaScript is written in C++:

$ ./autogen.sh $ ./configure $ make

Then you can run the JavaScript tests in this directory:

$ cd js && gulp test