mirror of
https://github.com/coteditor/CotEditor.git
synced 2024-10-06 07:27:56 +03:00
Make properties in test case private
This commit is contained in:
parent
49956ee374
commit
2364123595
@ -29,7 +29,7 @@ import XCTest
|
||||
|
||||
final class EncodingDetectionTests: XCTestCase {
|
||||
|
||||
private(set) lazy var bundle = Bundle(for: type(of: self))
|
||||
private lazy var bundle = Bundle(for: type(of: self))
|
||||
|
||||
|
||||
func testUTF8BOM() throws {
|
||||
|
@ -29,7 +29,7 @@ import XCTest
|
||||
|
||||
final class LineSortTests: XCTestCase {
|
||||
|
||||
let lines = """
|
||||
private let lines = """
|
||||
dog, 🐕, 2, イヌ
|
||||
cat, 🐈, 1, ねこ
|
||||
cow, 🐄, 3, ウシ
|
||||
|
@ -28,17 +28,18 @@ import XCTest
|
||||
import Yams
|
||||
@testable import CotEditor
|
||||
|
||||
let styleDirectoryName = "Syntaxes"
|
||||
let styleExtension = "yaml"
|
||||
|
||||
|
||||
final class SyntaxTests: XCTestCase {
|
||||
|
||||
var styleDicts: [String: SyntaxManager.StyleDictionary] = [:]
|
||||
var htmlStyle: SyntaxStyle?
|
||||
var htmlSource: String?
|
||||
private let styleDirectoryName = "Syntaxes"
|
||||
private let styleExtension = "yaml"
|
||||
|
||||
var outlineParseExpectation: XCTestExpectation?
|
||||
|
||||
private var styleDicts: [String: SyntaxManager.StyleDictionary] = [:]
|
||||
private var htmlStyle: SyntaxStyle?
|
||||
private var htmlSource: String?
|
||||
|
||||
private var outlineParseExpectation: XCTestExpectation?
|
||||
|
||||
|
||||
|
||||
|
@ -27,12 +27,12 @@
|
||||
import XCTest
|
||||
@testable import CotEditor
|
||||
|
||||
private let themeDirectoryName = "Themes"
|
||||
|
||||
|
||||
final class ThemeTests: XCTestCase {
|
||||
|
||||
private(set) lazy var bundle = Bundle(for: type(of: self))
|
||||
private let themeDirectoryName = "Themes"
|
||||
|
||||
private lazy var bundle = Bundle(for: type(of: self))
|
||||
|
||||
|
||||
func testDefaultTheme() throws {
|
||||
|
Loading…
Reference in New Issue
Block a user