OLD | NEW |
1 import 'dart:html'; | 1 import 'dart:html'; |
2 | 2 |
3 import 'package:minitest/minitest.dart'; | 3 import 'package:expect/minitest.dart'; |
4 | 4 |
5 main() { | 5 main() { |
6 group('supported', () { | 6 group('supported', () { |
7 test('supported', () { | 7 test('supported', () { |
8 expect(ApplicationCache.supported, isTrue); | 8 expect(ApplicationCache.supported, isTrue); |
9 }); | 9 }); |
10 }); | 10 }); |
11 | 11 |
12 group('ApplicationCache', () { | 12 group('ApplicationCache', () { |
13 test('ApplicationCache', () { | 13 test('ApplicationCache', () { |
(...skipping 17 matching lines...) Expand all Loading... |
31 case ApplicationCache.DOWNLOADING: // DOWNLOADING == 3 | 31 case ApplicationCache.DOWNLOADING: // DOWNLOADING == 3 |
32 return 'DOWNLOADING'; | 32 return 'DOWNLOADING'; |
33 case ApplicationCache.UPDATEREADY: // UPDATEREADY == 4 | 33 case ApplicationCache.UPDATEREADY: // UPDATEREADY == 4 |
34 return 'UPDATEREADY'; | 34 return 'UPDATEREADY'; |
35 case ApplicationCache.OBSOLETE: // OBSOLETE == 5 | 35 case ApplicationCache.OBSOLETE: // OBSOLETE == 5 |
36 return 'OBSOLETE'; | 36 return 'OBSOLETE'; |
37 default: | 37 default: |
38 return 'UNKNOWN CACHE STATUS'; | 38 return 'UNKNOWN CACHE STATUS'; |
39 }; | 39 }; |
40 } | 40 } |
OLD | NEW |