OLD | NEW |
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 Loading... |
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 Loading... |
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 }); |
OLD | NEW |