|
44 | 44 |
|
45 | 45 | class PlatformTesting(TestCase): |
46 | 46 | @mark.skipif(not CurrentPlatform.IsNativeLinux, reason="Skipped, if current platform isn't native Linux.") |
47 | | - def test_ApplicationOnNativeLinux(self): |
| 47 | + def test_ApplicationOnNativeLinux(self) -> None: |
48 | 48 | app = Application() |
49 | 49 |
|
50 | 50 | self.assertEqual(1, app.Value) |
51 | 51 |
|
52 | 52 | @mark.skipif(not CurrentPlatform.IsNativeMacOS, reason="Skipped, if current platform isn't native macOS.") |
53 | | - def test_ApplicationOnNativeMacOS(self): |
| 53 | + def test_ApplicationOnNativeMacOS(self) -> None: |
54 | 54 | app = Application() |
55 | 55 |
|
56 | 56 | self.assertEqual(2, app.Value) |
57 | 57 |
|
58 | 58 | @mark.skipif(not CurrentPlatform.IsNativeWindows, reason="Skipped, if current platform isn't native Windows.") |
59 | | - def test_ApplicationOnNativeWindows(self): |
| 59 | + def test_ApplicationOnNativeWindows(self) -> None: |
60 | 60 | app = Application() |
61 | 61 |
|
62 | 62 | self.assertEqual(3, app.Value) |
63 | 63 |
|
64 | 64 | @mark.skipif(not CurrentPlatform.IsMSYSOnWindows, reason="Skipped, if current platform isn't MSYS on Windows.") |
65 | | - def test_ApplicationOnMSYS2OnWindows(self): |
| 65 | + def test_ApplicationOnMSYS2OnWindows(self) -> None: |
66 | 66 | app = Application() |
67 | 67 |
|
68 | 68 | self.assertEqual(11, app.Value) |
69 | 69 |
|
70 | 70 | @mark.skipif(not CurrentPlatform.IsMinGW32OnWindows, reason="Skipped, if current platform isn't MinGW32 on Windows.") |
71 | | - def test_ApplicationOnMinGW32OnWindows(self): |
| 71 | + def test_ApplicationOnMinGW32OnWindows(self) -> None: |
72 | 72 | app = Application() |
73 | 73 |
|
74 | 74 | self.assertEqual(12, app.Value) |
75 | 75 |
|
76 | 76 | @mark.skipif(not CurrentPlatform.IsMinGW64OnWindows, reason="Skipped, if current platform isn't MinGW64 on Windows.") |
77 | | - def test_ApplicationOnMinGW64OnWindows(self): |
| 77 | + def test_ApplicationOnMinGW64OnWindows(self) -> None: |
78 | 78 | app = Application() |
79 | 79 |
|
80 | 80 | self.assertEqual(13, app.Value) |
81 | 81 |
|
82 | 82 | @mark.skipif(not CurrentPlatform.IsUCRT64OnWindows, reason="Skipped, if current platform isn't UCRT64 on Windows.") |
83 | | - def test_ApplicationOnURTC64OnWindows(self): |
| 83 | + def test_ApplicationOnURTC64OnWindows(self) -> None: |
84 | 84 | app = Application() |
85 | 85 |
|
86 | 86 | self.assertEqual(14, app.Value) |
87 | 87 |
|
88 | 88 | @mark.skipif(not CurrentPlatform.IsClang32OnWindows, reason="Skipped, if current platform isn't Clang32 on Windows.") |
89 | | - def test_ApplicationOnClang32OnWindows(self): |
| 89 | + def test_ApplicationOnClang32OnWindows(self) -> None: |
90 | 90 | app = Application() |
91 | 91 |
|
92 | 92 | self.assertEqual(15, app.Value) |
93 | 93 |
|
94 | 94 | @mark.skipif(not CurrentPlatform.IsClang64OnWindows, reason="Skipped, if current platform isn't Clang64 on Windows.") |
95 | | - def test_ApplicationOnClang64OnWindows(self): |
| 95 | + def test_ApplicationOnClang64OnWindows(self) -> None: |
96 | 96 | app = Application() |
97 | 97 |
|
98 | 98 | self.assertEqual(16, app.Value) |
0 commit comments