19 lines
564 B
Swift
19 lines
564 B
Swift
import XCTest
|
|
@testable import AppClientBaseSwiftSmoke
|
|
|
|
/// EN: Smoke tests for localization assets.
|
|
/// VI: Smoke tests cho tài nguyên bản địa hóa.
|
|
final class LocalizationManifestTests: XCTestCase {
|
|
func testEnglishLocalizationFileShouldExist() {
|
|
XCTAssertTrue(LocalizationManifest.hasLocale("en"))
|
|
}
|
|
|
|
func testVietnameseLocalizationFileShouldExist() {
|
|
XCTAssertTrue(LocalizationManifest.hasLocale("vi"))
|
|
}
|
|
|
|
func testUnknownLocaleShouldNotExist() {
|
|
XCTAssertFalse(LocalizationManifest.hasLocale("zz"))
|
|
}
|
|
}
|