Skip to content

Commit edee027

Browse files
committed
chore: fix typo, remove useless file (Orange-OpenSource/ouds-ios#513)
Signed-off-by: Pierre-Yves Lapersonne <pierreyves.lapersonne@orange.com>
1 parent 23a376c commit edee027

File tree

6 files changed

+11
-14
lines changed

6 files changed

+11
-14
lines changed

DesignToolbox/ContentDisplay.md

Lines changed: 0 additions & 2 deletions
This file was deleted.

DesignToolbox/DesignToolboxSnapshotsTests/__Snapshots__/Components/SoshTheme/Components/ContentDisplay/SoshTheme+BulletListSnapshotsTests.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ final class SoshThemeBulletListSnapshotsTests: BulletListSnapshotsTestsTestCase
2929
theme = SoshTheme()
3030
}
3131

32-
/// Tests all bullet lists configuration in the `OrangeTheme` with the `light` color schemes.
33-
@MainActor func testAllBulletListOrangeThemeLight() {
32+
/// Tests all bullet lists configuration in the `SoshTheme` with the `light` color schemes.
33+
@MainActor func testAllBulletListSoshThemeLight() {
3434
let interfaceStyle = UIUserInterfaceStyle.light
3535
testAllBulletLists(theme: theme, interfaceStyle: interfaceStyle)
3636
}
3737

38-
/// Tests all bullet lists configuration in the `OrangeTheme` with the `dark` color schemes.
39-
@MainActor func testAllBulletListsOrangeThemeDark() {
38+
/// Tests all bullet lists configuration in the `SoshTheme` with the `dark` color schemes.
39+
@MainActor func testAllBulletListsSoshThemeDark() {
4040
let interfaceStyle = UIUserInterfaceStyle.dark
4141
testAllBulletLists(theme: theme, interfaceStyle: interfaceStyle)
4242
}

DesignToolbox/DesignToolboxSnapshotsTests/__Snapshots__/Components/Test Cases/Components/Actions/ButtonSnapshotsTestsTestCase.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ open class ButtonSnapshotsTestsTestCase: XCTestCase {
102102

103103
// swiftlint:disable function_parameter_count
104104
// swiftlint:disable line_length
105-
/// This function tests button according to all parameters of the configutation available on a `OUDButton`
105+
/// This function tests button according to all parameters of the configuration available on a `OUDButton`
106106
/// for the given theme and color schemes and on a colored surface or not.
107107
///
108108
/// It captures a snapshot for each tests. The snapshots are saved with names based on each parameters.

DesignToolbox/DesignToolboxSnapshotsTests/__Snapshots__/Components/Test Cases/Components/ContentDisplay/BulletListSnapshotsTestsTestCase.swift

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ open class BulletListSnapshotsTestsTestCase: XCTestCase {
2525

2626
/// This function tests all BulletList configuration for the given theme and color schemes on a standard surface.
2727
///
28-
/// It iterates through all elments of configuraiton `BulletListType`, `BulletListTextStyle`, `isBold` flag.
29-
/// For unordered list, additionnal elements are iterated in `testUnorderedBulletList`
28+
/// It iterates through all elements of configuration `BulletListType`, `BulletListTextStyle`, `isBold` flag.
29+
/// For unordered list, additional elements are iterated in `testUnorderedBulletList`
3030
///
3131
/// - Parameters:
3232
/// - theme: The theme (`OUDSTheme`).
@@ -38,7 +38,6 @@ open class BulletListSnapshotsTestsTestCase: XCTestCase {
3838

3939
for isBold in [true, false] {
4040
let model = BulletListConfigurationModel()
41-
model.levelCount = .three
4241
model.textStyle = textType
4342
model.isBold = isBold
4443
model.bulletType = type
@@ -60,7 +59,7 @@ open class BulletListSnapshotsTestsTestCase: XCTestCase {
6059
}
6160
}
6261

63-
/// This function tests Unordered Bullet List with some additionnal parameter like bullet type,
62+
/// This function tests Unordered Bullet List with some additional parameter like bullet type,
6463
/// and flag to know if bullet is branded.
6564
///
6665
/// - Parameters:
@@ -83,7 +82,7 @@ open class BulletListSnapshotsTestsTestCase: XCTestCase {
8382
}
8483
}
8584

86-
/// This function tests BulletList according to all parameters of the configutation available on a `OUDSBulletList`
85+
/// This function tests BulletList according to all parameters of the configuration available on a `OUDSBulletList`
8786
/// for the given theme and color schemes.
8887
///
8988
/// It captures a snapshot for each tests. The snapshots are saved with names based on each parameters

DesignToolbox/DesignToolboxSnapshotsTests/__Snapshots__/Components/Test Cases/Components/Layouts/DividerSnapshotsTestsTestCase.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ open class DividerSnapshotsTestsTestCase: XCTestCase {
3838
}
3939
}
4040

41-
/// This function tests divider according to all parameters of the configutation available on a `OUDSDivider`
41+
/// This function tests divider according to all parameters of the configuration available on a `OUDSDivider`
4242
/// for the given theme and color schemes.
4343
///
4444
/// It captures a snapshot for each tests. The snapshots are saved with names based on each parameters

DesignToolbox/DesignToolboxSnapshotsTests/__Snapshots__/Components/Test Cases/Components/Navigations/LinkSnapshotsTestsTestCase.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ open class LinkSnapshotsTestsTestCase: XCTestCase {
6464
}
6565
}
6666

67-
/// This function tests link according to all parameters of the configutation available on a `OUDLink`
67+
/// This function tests link according to all parameters of the configuration available on a `OUDLink`
6868
/// for the given theme and color schemes and on a colored surface or not.
6969
///
7070
/// It captures a snapshot for each tests. The snapshots are saved with names based on each parameters

0 commit comments

Comments
 (0)