OLD | NEW |
1 var testCases = [ | 1 var testCases = [ |
2 { | 2 { |
3 name: 'RestrictedUnicodeChars', | 3 name: 'RestrictedUnicodeChars', |
4 precondition: [ ], | 4 precondition: [ ], |
5 tests: [ | 5 tests: [ |
6 function(helper) { helper.getFile('/', 'ab', {create:true}); }, | 6 function(helper) { helper.getFile('/', 'ab', {create:true}); }, |
7 | 7 |
8 // Embedded NULs aren't allowed; anything else in the first 32 is fa
ir game. | 8 // Embedded NULs aren't allowed; anything else in the first 32 is fa
ir game. |
9 function(helper) { helper.getFile('/', 'a\u0000b', {create:true}, Fi
leError.INVALID_MODIFICATION_ERR); }, | 9 function(helper) { helper.getFile('/', 'a\u0000b', {create:true}, 'I
nvalidModificationError'); }, |
10 function(helper) { helper.getFile('/', 'a\u0001b', {create:true}, 0)
; }, | 10 function(helper) { helper.getFile('/', 'a\u0001b', {create:true}, 0)
; }, |
11 function(helper) { helper.getFile('/', 'a\u0002b', {create:true}, 0)
; }, | 11 function(helper) { helper.getFile('/', 'a\u0002b', {create:true}, 0)
; }, |
12 function(helper) { helper.getFile('/', 'a\u0003b', {create:true}, 0)
; }, | 12 function(helper) { helper.getFile('/', 'a\u0003b', {create:true}, 0)
; }, |
13 function(helper) { helper.getFile('/', 'a\u0004b', {create:true}, 0)
; }, | 13 function(helper) { helper.getFile('/', 'a\u0004b', {create:true}, 0)
; }, |
14 function(helper) { helper.getFile('/', 'a\u0005b', {create:true}, 0)
; }, | 14 function(helper) { helper.getFile('/', 'a\u0005b', {create:true}, 0)
; }, |
15 function(helper) { helper.getFile('/', 'a\u0006b', {create:true}, 0)
; }, | 15 function(helper) { helper.getFile('/', 'a\u0006b', {create:true}, 0)
; }, |
16 function(helper) { helper.getFile('/', 'a\u0007b', {create:true}, 0)
; }, | 16 function(helper) { helper.getFile('/', 'a\u0007b', {create:true}, 0)
; }, |
17 function(helper) { helper.getFile('/', 'a\u0008b', {create:true}, 0)
; }, | 17 function(helper) { helper.getFile('/', 'a\u0008b', {create:true}, 0)
; }, |
18 function(helper) { helper.getFile('/', 'a\u0009b', {create:true}, 0)
; }, | 18 function(helper) { helper.getFile('/', 'a\u0009b', {create:true}, 0)
; }, |
19 function(helper) { helper.getFile('/', 'a\u000ab', {create:true}, 0)
; }, | 19 function(helper) { helper.getFile('/', 'a\u000ab', {create:true}, 0)
; }, |
(...skipping 16 matching lines...) Expand all Loading... |
36 function(helper) { helper.getFile('/', 'a\u001bb', {create:true}, 0)
; }, | 36 function(helper) { helper.getFile('/', 'a\u001bb', {create:true}, 0)
; }, |
37 function(helper) { helper.getFile('/', 'a\u001cb', {create:true}, 0)
; }, | 37 function(helper) { helper.getFile('/', 'a\u001cb', {create:true}, 0)
; }, |
38 function(helper) { helper.getFile('/', 'a\u001db', {create:true}, 0)
; }, | 38 function(helper) { helper.getFile('/', 'a\u001db', {create:true}, 0)
; }, |
39 function(helper) { helper.getFile('/', 'a\u001eb', {create:true}, 0)
; } | 39 function(helper) { helper.getFile('/', 'a\u001eb', {create:true}, 0)
; } |
40 ], | 40 ], |
41 postcondition: [ | 41 postcondition: [ |
42 {fullPath:'/ab'}, | 42 {fullPath:'/ab'}, |
43 ], | 43 ], |
44 }, | 44 }, |
45 ]; | 45 ]; |
OLD | NEW |