mirror of
https://github.com/kyleneideck/BackgroundMusic
synced 2024-11-23 12:43:05 +00:00
Fix BGMApp unit tests.
This commit is contained in:
parent
035faa615f
commit
810b2ed462
2 changed files with 4 additions and 2 deletions
|
@ -177,7 +177,7 @@
|
|||
players = [[BGMMusicPlayers alloc] initWithAudioDevices:devices
|
||||
userDefaults:defaults];
|
||||
|
||||
XCTAssertEqual(players.musicPlayers.count, 5);
|
||||
XCTAssert(players.musicPlayers.count >= 6);
|
||||
|
||||
XCTAssertEqualObjects(players.selectedMusicPlayer.musicPlayerID, [BGMiTunes sharedMusicPlayerID]);
|
||||
XCTAssertEqualObjects(players.selectedMusicPlayer.name, @"iTunes");
|
||||
|
@ -193,7 +193,7 @@
|
|||
BGMMusicPlayers* players = [[BGMMusicPlayers alloc] initWithAudioDevices:devices
|
||||
userDefaults:defaults];
|
||||
|
||||
XCTAssertEqual(players.musicPlayers.count, 5);
|
||||
XCTAssert(players.musicPlayers.count >= 6);
|
||||
|
||||
XCTAssertEqualObjects(players.selectedMusicPlayer.musicPlayerID, vlcID);
|
||||
XCTAssertEqualObjects(players.selectedMusicPlayer.name, @"VLC");
|
||||
|
|
|
@ -92,6 +92,7 @@
|
|||
27D643C01C9FB99200737F6E /* BGMXPCHelperService.m in Sources */ = {isa = PBXBuildFile; fileRef = 27D643BA1C9FB84C00737F6E /* BGMXPCHelperService.m */; };
|
||||
27D643C11C9FB99200737F6E /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 27D643BC1C9FB84C00737F6E /* main.m */; };
|
||||
27F7D4901D2483B100821C4B /* BGMDecibel.m in Sources */ = {isa = PBXBuildFile; fileRef = 27F7D48F1D2483B100821C4B /* BGMDecibel.m */; };
|
||||
27FB8C071DD75D0A0084DB9D /* BGMHermes.m in Sources */ = {isa = PBXBuildFile; fileRef = 279F48761DD6D73900768A85 /* BGMHermes.m */; };
|
||||
/* End PBXBuildFile section */
|
||||
|
||||
/* Begin PBXContainerItemProxy section */
|
||||
|
@ -803,6 +804,7 @@
|
|||
isa = PBXSourcesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
27FB8C071DD75D0A0084DB9D /* BGMHermes.m in Sources */,
|
||||
2743CA1E1D86DE1C0089613B /* Mock_CAHALAudioObject.cpp in Sources */,
|
||||
2743CA211D86DE780089613B /* BGMDeviceControlSync.cpp in Sources */,
|
||||
2743CA201D86DE5E0089613B /* BGMPlayThrough.cpp in Sources */,
|
||||
|
|
Loading…
Reference in a new issue