Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(78)

Side by Side Diff: third_party/protobuf/js/debug_test.js

Issue 1983203003: Update third_party/protobuf to protobuf-v3.0.0-beta-3 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: owners Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/protobuf/js/debug.js ('k') | third_party/protobuf/js/gulpfile.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Protocol Buffers - Google's data interchange format 1 // Protocol Buffers - Google's data interchange format
2 // Copyright 2008 Google Inc. All rights reserved. 2 // Copyright 2008 Google Inc. All rights reserved.
3 // https://developers.google.com/protocol-buffers/ 3 // https://developers.google.com/protocol-buffers/
4 // 4 //
5 // Redistribution and use in source and binary forms, with or without 5 // Redistribution and use in source and binary forms, with or without
6 // modification, are permitted provided that the following conditions are 6 // modification, are permitted provided that the following conditions are
7 // met: 7 // met:
8 // 8 //
9 // * Redistributions of source code must retain the above copyright 9 // * Redistributions of source code must retain the above copyright
10 // notice, this list of conditions and the following disclaimer. 10 // notice, this list of conditions and the following disclaimer.
(...skipping 13 matching lines...) Expand all
24 // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 24 // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
25 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 25 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
26 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 26 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
27 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 27 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 28 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 30
31 goog.setTestOnly(); 31 goog.setTestOnly();
32 32
33 goog.require('goog.testing.asserts'); 33 goog.require('goog.testing.asserts');
34
35 // CommonJS-LoadFromFile: google-protobuf
34 goog.require('jspb.debug'); 36 goog.require('jspb.debug');
37
38 // CommonJS-LoadFromFile: test_pb
35 goog.require('proto.jspb.test.HasExtensions'); 39 goog.require('proto.jspb.test.HasExtensions');
36 goog.require('proto.jspb.test.IsExtension'); 40 goog.require('proto.jspb.test.IsExtension');
37 goog.require('proto.jspb.test.Simple1'); 41 goog.require('proto.jspb.test.Simple1');
38 42
39 43
40 44
41 describe('debugTest', function() { 45 describe('debugTest', function() {
42 it('testSimple1', function() { 46 it('testSimple1', function() {
43 if (COMPILED) { 47 if (COMPILED) {
44 return; 48 return;
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 'extField': { 96 'extField': {
93 '$name': 'proto.jspb.test.IsExtension', 97 '$name': 'proto.jspb.test.IsExtension',
94 'ext1': 'ext1field' 98 'ext1': 'ext1field'
95 }, 99 },
96 'repeatedSimpleList': [] 100 'repeatedSimpleList': []
97 } 101 }
98 }, jspb.debug.dump(extendable)); 102 }, jspb.debug.dump(extendable));
99 }); 103 });
100 104
101 }); 105 });
OLDNEW
« no previous file with comments | « third_party/protobuf/js/debug.js ('k') | third_party/protobuf/js/gulpfile.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698