Граф коммитов

7 Коммитов

Автор SHA1 Сообщение Дата
Marek Cirkos 41e61d75ad Fix TestFBTestManagerAPIMediator when used from command line
Summary: When xctest is bootstrapped from command line testmanagerd "hangs up" XPC connection, probobaly because of protocol differences.

Reviewed By: lawrencelomax

Differential Revision: D3144335

fb-gh-sync-id: 7a740fab46d045f516e49ba11b47e83442895db6
fbshipit-source-id: 7a740fab46d045f516e49ba11b47e83442895db6
2016-04-06 07:45:59 -07:00
Marek Cirkos d788a10ec0 Properly disconnecting testmanagerd
Summary:I noticed that on xcode 7.3 tests hang on semaphore during "DTXConnection" deallocation and  happens pretty often.
Probably there is race condition, during simulator termination and socket handling.
This diff disconnects testmanagerd before simulator is terminated.

Reviewed By: lawrencelomax

Differential Revision: D3115134

fb-gh-sync-id: 36c4d848a5a7ba9c16df873a2a6721c52f6fd999
fbshipit-source-id: 36c4d848a5a7ba9c16df873a2a6721c52f6fd999
2016-04-04 05:45:21 -07:00
Marek Cirkos 50d7194104 Resolved private framework and plugins linking
Summary:Added support for linking frameworks that requires other frameworks to link beforehand.
This is required to link 'IDEiOSSupportCore.plugin' (used by XCTestBootstrap).

Also added check for multiple classes to confirm successful framework load.

Reviewed By: lawrencelomax

Differential Revision: D3120290

fb-gh-sync-id: 95f1c064406a6965d583c85d4b16b674e68f543b
fbshipit-source-id: 95f1c064406a6965d583c85d4b16b674e68f543b
2016-04-01 02:35:23 -07:00
Marek Cirkos 3b2fdf2dd1 Use FBControlCoreLogger when logging in testmanagermediator
Reviewed By: nqmtuan

Differential Revision: D3058301

fb-gh-sync-id: 1f00292d7e12b05bd70c020c918962bbce1fdc32
shipit-source-id: 1f00292d7e12b05bd70c020c918962bbce1fdc32
2016-03-16 07:10:29 -07:00
Marek Cirkos f5b573a969 Added description to FBTestManager
Summary: This will provide some debug information.

Reviewed By: lawrencelomax

Differential Revision: D3047338

fb-gh-sync-id: 0a7a53e482ce5144cf10f8563c91feb3ded25c6b
shipit-source-id: 0a7a53e482ce5144cf10f8563c91feb3ded25c6b
2016-03-14 09:11:17 -07:00
Marek Cirkos b169ce0c24 When starting test, not installing app, if already installed.
Summary: It generates operations that don't need to be always executed.

Reviewed By: sigmix

Differential Revision: D3041737

fb-gh-sync-id: d045d79c5b62b103618bc7eef46af2bc5153f4bb
shipit-source-id: d045d79c5b62b103618bc7eef46af2bc5153f4bb
2016-03-14 09:11:00 -07:00
Marek Cirkos 9479f8bc99 Renamed TestMediators folder to TestManager
Summary: Renamed the because it better reflects its content

Reviewed By: mmmulani, lawrencelomax

Differential Revision: D3041487

fb-gh-sync-id: 60e435eb14b95226e5c9b890a535f490209c36e5
shipit-source-id: 60e435eb14b95226e5c9b890a535f490209c36e5
2016-03-14 09:10:54 -07:00