Skip to content

Commit 68ee7f4

Browse files
committed
R2021a+ required for tests
due to TestParameterDefinition
1 parent 5246860 commit 68ee7f4

File tree

14 files changed

+19
-19
lines changed

14 files changed

+19
-19
lines changed

Readme.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,9 @@
77
Matlab users coming from other languages will benefit from the functionality contained within this user-developed, unofficial "stdlib" standard library of functions.
88
These system, filesystem, and HDF5 / HDF4 / NetCDF functions are used by numerous independent projects.
99

10-
Matlab R2019b is the minimum version required due to use of
10+
Matlab R2019b is the absolute minimum version required due to use of
1111
[function argument validation](https://www.mathworks.com/help/matlab/ref/arguments.html).
12-
Full functionality is available with:
13-
14-
* Linux: Matlab R2019b and newer
15-
* macOS, Windows: Matlab R2020b and newer
12+
Full functionality is available with R2021a and newer.
1613

1714
## Self-tests
1815

@@ -24,7 +21,7 @@ Matlab R2022b and newer:
2421
buildtool test
2522
```
2623

27-
Matlab older than R2022b:
24+
Matlab R2021a and newer (R2022b and newer can use `buildtool test`):
2825

2926
```matlab
3027
test_main

test/TestDisk.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
classdef (SharedTestFixtures={ matlab.unittest.fixtures.PathFixture("..")}, ...
2-
TestTags = {'R2019b', 'impure'}) ...
2+
TestTags = {'R2021a', 'impure'}) ...
33
TestDisk < matlab.unittest.TestCase
44

55
properties

test/TestExists.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ function test_dirs(tc)
4040
end
4141

4242

43-
methods (Test, TestTags={'R2019b'})
43+
methods (Test, TestTags={'R2021a'})
4444

4545
function test_exists(tc, Ps)
4646
ok = stdlib.exists(Ps{1});

test/TestFilename.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
classdef (SharedTestFixtures={ matlab.unittest.fixtures.PathFixture("..")}, ...
2-
TestTags = {'R2019b', 'pure'}) ...
2+
TestTags = {'R2021a', 'pure'}) ...
33
TestFilename < matlab.unittest.TestCase
44

55
properties (TestParameter)

test/TestHash.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
classdef (SharedTestFixtures={ matlab.unittest.fixtures.PathFixture("..")}, ...
2-
TestTags = {'R2019b', 'impure'}) ...
2+
TestTags = {'R2021a', 'impure'}) ...
33
TestHash < matlab.unittest.TestCase
44

55
properties

test/TestIsExe.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ function test_dirs(tc)
3838
end
3939
end
4040

41-
methods(Test, TestTags={'R2019b'})
41+
methods(Test, TestTags={'R2021a'})
4242

4343
function test_is_exe(tc, p)
4444
r = stdlib.is_exe(p{1});

test/TestNormalize.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
classdef (SharedTestFixtures={ matlab.unittest.fixtures.PathFixture("..")}, ...
2-
TestTags = {'R2019b', 'pure'}) ...
2+
TestTags = {'R2021a', 'pure'}) ...
33
TestNormalize < matlab.unittest.TestCase
44

55
properties (TestParameter)

test/TestPermissions.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function w_dirs(tc)
2424
end
2525

2626

27-
methods (Test, TestTags={'R2019b'})
27+
methods (Test, TestTags={'R2021a'})
2828

2929
function test_get_permissions(tc, Ps, B_get_permissions)
3030
import matlab.unittest.constraints.StartsWithSubstring

test/TestRelative.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
classdef (SharedTestFixtures={ matlab.unittest.fixtures.PathFixture("..")}, ...
2-
TestTags = {'R2019b', 'pure'}) ...
2+
TestTags = {'R2021a', 'pure'}) ...
33
TestRelative < matlab.unittest.TestCase
44

55

test/TestSame.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
end
2020

2121

22-
methods(Test, TestTags={'R2019b'})
22+
methods(Test, TestTags={'R2021a'})
2323

2424
function test_samepath(tc, p_same, backend)
2525
r = stdlib.samepath(p_same{:}, backend);

0 commit comments

Comments
 (0)