OLD | NEW |
1 dart_library.library('expect', null, /* Imports */[ | 1 dart_library.library('expect', null, /* Imports */[ |
2 "dart/_runtime", | 2 'dart/_runtime', |
3 'dart/core' | 3 'dart/core' |
4 ], /* Lazy imports */[ | 4 ], /* Lazy imports */[ |
5 ], function(exports, dart, core) { | 5 ], function(exports, dart, core) { |
6 'use strict'; | 6 'use strict'; |
7 let dartx = dart.dartx; | 7 let dartx = dart.dartx; |
8 class Expect extends core.Object { | 8 class Expect extends core.Object { |
9 static _truncateString(string, start, end, length) { | 9 static _truncateString(string, start, end, length) { |
10 if (dart.notNull(end) - dart.notNull(start) > dart.notNull(length)) { | 10 if (dart.notNull(end) - dart.notNull(start) > dart.notNull(length)) { |
11 end = dart.notNull(start) + dart.notNull(length); | 11 end = dart.notNull(start) + dart.notNull(length); |
12 } else if (dart.notNull(end) - dart.notNull(start) < dart.notNull(length))
{ | 12 } else if (dart.notNull(end) - dart.notNull(start) < dart.notNull(length))
{ |
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
297 dart.setSignature(AssumeDynamic, { | 297 dart.setSignature(AssumeDynamic, { |
298 constructors: () => ({AssumeDynamic: [AssumeDynamic, []]}) | 298 constructors: () => ({AssumeDynamic: [AssumeDynamic, []]}) |
299 }); | 299 }); |
300 // Exports: | 300 // Exports: |
301 exports.Expect = Expect; | 301 exports.Expect = Expect; |
302 exports.ExpectException = ExpectException; | 302 exports.ExpectException = ExpectException; |
303 exports.NoInline = NoInline; | 303 exports.NoInline = NoInline; |
304 exports.TrustTypeAnnotations = TrustTypeAnnotations; | 304 exports.TrustTypeAnnotations = TrustTypeAnnotations; |
305 exports.AssumeDynamic = AssumeDynamic; | 305 exports.AssumeDynamic = AssumeDynamic; |
306 }); | 306 }); |
OLD | NEW |