Optional generation of extension (R.xx)
Some checks reported errors
gitea-openium/resgen.swift/pipeline/head Something is wrong with the build of this commit
Some checks reported errors
gitea-openium/resgen.swift/pipeline/head Something is wrong with the build of this commit
Optional generation of Colors/Fonts/Images/Stringium extension
This commit is contained in:
@@ -17,7 +17,7 @@ final class FontsConfigurationTests: XCTestCase {
|
||||
func test_argsGeneration_requiredArgs() {
|
||||
// Given
|
||||
let testingConfiguration = FontsConfiguration(inputFile: "path/to/fonts.txt",
|
||||
extensionOutputPath: "Fonts/Generated",
|
||||
extensionOutputPath: nil,
|
||||
extensionName: nil,
|
||||
extensionNameUIKit: nil,
|
||||
extensionSuffix: nil,
|
||||
@@ -29,8 +29,6 @@ final class FontsConfigurationTests: XCTestCase {
|
||||
// Expect
|
||||
let expectedArguments = [
|
||||
"projectDirectory/path/to/fonts.txt",
|
||||
"--extension-output-path",
|
||||
"projectDirectory/Fonts/Generated",
|
||||
"--static-members",
|
||||
"false"
|
||||
]
|
||||
@@ -54,10 +52,10 @@ final class FontsConfigurationTests: XCTestCase {
|
||||
let expectedArguments = [
|
||||
"-f",
|
||||
"projectDirectory/path/to/fonts.txt",
|
||||
"--extension-output-path",
|
||||
"projectDirectory/Fonts/Generated",
|
||||
"--static-members",
|
||||
"true",
|
||||
"--extension-output-path",
|
||||
"projectDirectory/Fonts/Generated",
|
||||
"--extension-name",
|
||||
"AppUIFont",
|
||||
"--extension-name-ui-kit",
|
||||
|
Reference in New Issue
Block a user