|
1 | 1 | classdef TestFileImpure < matlab.unittest.TestCase |
2 | 2 |
|
3 | 3 | properties(TestParameter) |
4 | | -p_is_writable = {{pwd(), true}, {"not-exists", false}, {"file:///", false}, {"", false}}; |
| 4 | +p_is_writable = {{pwd(), true}, {"not-exists", false}, {"", false}}; |
5 | 5 |
|
6 | 6 | p_expand = {{"", ""}, {"~abc", "~abc"}, {"~", stdlib.homedir()}, ... |
7 | | - {"~/c", stdlib.homedir() + "/c"}, {'~/////c', stdlib.homedir() + "/c"}, ... |
8 | | - {"file:///", ""}}; |
| 7 | + {"~/c", stdlib.homedir() + "/c"}, {'~/////c', stdlib.homedir() + "/c"}}; |
9 | 8 |
|
10 | 9 | p_same = {... |
11 | 10 | {"","", false}, ... |
12 | 11 | {tempname, tempname, false}, ... |
13 | 12 | {"..", "./..", true}, ... |
14 | | -{"..", pwd() + "/..", true}, ... |
15 | | -{"file:///", "file:///", false}} |
| 13 | +{"..", pwd() + "/..", true}} |
16 | 14 |
|
17 | 15 | ph = {{0, '"stdin"'}, {1, '"stdout"'}, {2, '"stderr"'}, {fopen(tempname), ""}} |
18 | 16 |
|
19 | | -p_file_size = {mfilename("fullpath") + ".m", "", "file:///", pwd()} |
| 17 | +p_file_size = {mfilename("fullpath") + ".m", "", pwd()} |
20 | 18 | end |
21 | 19 |
|
22 | 20 |
|
|
0 commit comments