Applying XCTest
Development Environment
- Xcode 11.3.1 (11C504)
- macOS Catalina 10.15.4 Beta (19E234g)
Deployment Target
- macOS 10.7
Change Log
-
GHUnitis removed because it's a deprecated project. -
XCTestis applied. - Code coverage is enabled.
-
GBLogX...is replaced withGBLog....GBLogX...is supposed to print the file name that has the log. ButDDLogthatGBLog...andGBLogX...are using has an issue to print character array. In order to set the file name tonil, some macros are copied intoGBLog.hfromDDLog. This is a workaround.
Todo
-
GBLogXError,GBLogXInfo, andGBLogXWarndon't work with the CocoaLumberjack v1.9.1
Thanks! Would it be a lot of work to make GBLogX.... macros working? They're used for integrating logs with Xcode, so they may be important for some developers...
@tomaz I'm going to look into the GBLogX things. It might be solved easily if we can use the latest version of CocoaLumberjack.
Can you tell me how the log integration works on Xcode? Is there any special format for the log? I'm not familiar with it.
Exactly, that's all there is to it, don't remember exact format either, but I think full file path and line number is needed
@tomaz Okay. I'm going to update this PR after understanding the log integration. If it takes longer than a week, I'll leave the comment about the progress.
Thanks!
Looks perfect now