Skip to content

Commit 755c56b

Browse files
committed
Fix typos.
1 parent 4f92fe4 commit 755c56b

2 files changed

Lines changed: 17 additions & 17 deletions

File tree

source/base/files/base_paths.h

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,49 +27,49 @@ class BasePaths
2727
// System-wide configuration directory, shared across all users and applications.
2828
// Windows: C:\ProgramData
2929
// Linux: /etc
30-
// MacOS: /Library/CoreApplication Support
30+
// MacOS: /Library/Application Support
3131
static QString genericConfigDir();
3232

3333
// Per-user configuration directory, shared across applications.
3434
// Windows: C:\Users\<user>\AppData\Roaming
3535
// Linux: /home/<user>/.config
36-
// MacOS: /Users/<user>/Library/CoreApplication Support
36+
// MacOS: /Users/<user>/Library/Application Support
3737
static QString genericUserConfigDir();
3838

3939
// System-wide configuration directory dedicated to Aspia (genericConfigDir() + "/aspia").
4040
// Windows: C:\ProgramData\aspia
4141
// Linux: /etc/aspia
42-
// MacOS: /Library/CoreApplication Support/aspia
42+
// MacOS: /Library/Application Support/aspia
4343
static QString appConfigDir();
4444

4545
// Per-user configuration directory dedicated to Aspia (genericUserConfigDir() + "/aspia").
4646
// Windows: C:\Users\<user>\AppData\Roaming\aspia
4747
// Linux: /home/<user>/.config/aspia
48-
// MacOS: /Users/<user>/Library/CoreApplication Support/aspia
48+
// MacOS: /Users/<user>/Library/Application Support/aspia
4949
static QString appUserConfigDir();
5050

5151
// System-wide data directory, shared across all users and applications.
5252
// Windows: C:\ProgramData
5353
// Linux: /var/lib
54-
// MacOS: /Library/CoreApplication Support
54+
// MacOS: /Library/Application Support
5555
static QString genericDataDir();
5656

5757
// Per-user data directory, shared across applications.
5858
// Windows: C:\Users\<user>\AppData\Roaming
5959
// Linux: /home/<user>/.local/share
60-
// MacOS: /Users/<user>/Library/CoreApplication Support
60+
// MacOS: /Users/<user>/Library/Application Support
6161
static QString genericUserDataDir();
6262

6363
// System-wide data directory dedicated to Aspia (genericDataDir() + "/aspia").
6464
// Windows: C:\ProgramData\aspia
6565
// Linux: /var/lib/aspia
66-
// MacOS: /Library/CoreApplication Support/aspia
66+
// MacOS: /Library/Application Support/aspia
6767
static QString appDataDir();
6868

6969
// Per-user data directory dedicated to Aspia (genericUserDataDir() + "/aspia").
7070
// Windows: C:\Users\<user>\AppData\Roaming\aspia
7171
// Linux: /home/<user>/.local/share/aspia
72-
// MacOS: /Users/<user>/Library/CoreApplication Support/aspia
72+
// MacOS: /Users/<user>/Library/Application Support/aspia
7373
static QString appUserDataDir();
7474

7575
// Home directory of the current user.

source/base/files/base_paths_unittest.cc

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ TEST(BasePathsTest, GenericUserDataDir)
6565
}
6666

6767
// ============================================================================
68-
// CoreApplication-level directories: must be the corresponding generic path
68+
// Application-level directories: must be the corresponding generic path
6969
// with "/aspia" appended.
7070
// ============================================================================
7171

@@ -265,46 +265,46 @@ TEST_F(BasePathsLinuxXdgTest, GenericUserDataDirFallsBackToHomeShareWhenEmpty)
265265

266266
TEST(BasePathsTest, MacOSGenericConfigDir)
267267
{
268-
EXPECT_EQ(BasePaths::genericConfigDir(), "/Library/CoreApplication Support");
268+
EXPECT_EQ(BasePaths::genericConfigDir(), "/Library/Application Support");
269269
}
270270

271271
TEST(BasePathsTest, MacOSGenericDataDir)
272272
{
273-
EXPECT_EQ(BasePaths::genericDataDir(), "/Library/CoreApplication Support");
273+
EXPECT_EQ(BasePaths::genericDataDir(), "/Library/Application Support");
274274
}
275275

276276
TEST(BasePathsTest, MacOSAppConfigDir)
277277
{
278-
EXPECT_EQ(BasePaths::appConfigDir(), "/Library/CoreApplication Support/aspia");
278+
EXPECT_EQ(BasePaths::appConfigDir(), "/Library/Application Support/aspia");
279279
}
280280

281281
TEST(BasePathsTest, MacOSAppDataDir)
282282
{
283-
EXPECT_EQ(BasePaths::appDataDir(), "/Library/CoreApplication Support/aspia");
283+
EXPECT_EQ(BasePaths::appDataDir(), "/Library/Application Support/aspia");
284284
}
285285

286286
TEST(BasePathsTest, MacOSGenericUserConfigDir)
287287
{
288288
EXPECT_EQ(BasePaths::genericUserConfigDir(),
289-
BasePaths::userHome() + "/Library/CoreApplication Support");
289+
BasePaths::userHome() + "/Library/Application Support");
290290
}
291291

292292
TEST(BasePathsTest, MacOSGenericUserDataDir)
293293
{
294294
EXPECT_EQ(BasePaths::genericUserDataDir(),
295-
BasePaths::userHome() + "/Library/CoreApplication Support");
295+
BasePaths::userHome() + "/Library/Application Support");
296296
}
297297

298298
TEST(BasePathsTest, MacOSAppUserConfigDir)
299299
{
300300
EXPECT_EQ(BasePaths::appUserConfigDir(),
301-
BasePaths::userHome() + "/Library/CoreApplication Support/aspia");
301+
BasePaths::userHome() + "/Library/Application Support/aspia");
302302
}
303303

304304
TEST(BasePathsTest, MacOSAppUserDataDir)
305305
{
306306
EXPECT_EQ(BasePaths::appUserDataDir(),
307-
BasePaths::userHome() + "/Library/CoreApplication Support/aspia");
307+
BasePaths::userHome() + "/Library/Application Support/aspia");
308308
}
309309

310310
#endif // defined(Q_OS_MACOS)

0 commit comments

Comments
 (0)