Summary:
These test binaries should not be in idb folder in fbobjc
Moving them to fixtures folder of listing target
Reviewed By: jbardini
Differential Revision: D43305011
fbshipit-source-id: 4bdf2ea6c6f0cdb4fd6bf259b179005de911f6c1
Summary:
There are two types of objc methods declarations.
Big:
`objc_method` with 3 fields by 8 bit.
It contains absolute references (file offset from beginning of file)
to information and we simply can extract reference and fetch the data.
Example:
`Name: address 0x00001234, value 0x00FCFF18` -> we can just fetch method name from `0x00FCFF18`
Small:
`objc_relative_method` with 3 fields by 4 bit.
It contains relative references (file offset from itself's declaration).
To get info by relative offset we need to take value of reference,
add this to offset of reference itself and then fetch the data.
Example:
`Name: address 0x00001234, value 0x00FCFF18` -> we should `0x00001234 + 0x00FCFF18 = 0xFD114C`
and then we can fetch method name from `0xFD114C`
Differential Revision: D40382051
fbshipit-source-id: 978d2dd754c65fe81a9bcc981a4de1252be6bc51
Summary: Adds additional test methods for async expectation pass/fails. Useful for additional shim features that we want to ship.
Reviewed By: c-ryan747
Differential Revision: D26146934
fbshipit-source-id: d8c4453b963d80b3e43220d7c2d629e0dd007e24
Summary:
We've never had the ability to consistently get the exit status of a launched application in the same way as we can for launched binaries. This relates to the richness of the APIs available for doing so. For mac and iOS sim tasks we will always get the value that is returned in `waitpid(2)` which is a bitmask containing both the exit code and the signal. This is not true for applications.
As such, it is misleading to have an `exitCode` future that may well "faked". Instead of doing this, let's constrain the interface to the actual implementations and keep a separate interface for the process that we can expand in the future.
Reviewed By: c-ryan747
Differential Revision: D26099131
fbshipit-source-id: 5490800f8167f30e732e3df61acd28ec00aa57e5
Summary: This applies all the lint suggestions from my new lint that enforces you use the name variant.
Reviewed By: naftaly
Differential Revision: D21594212
fbshipit-source-id: 25a5d2089b532ea8635e0ef313b39daa58a842e9
Summary: We need the bundle short version
Reviewed By: zeyadsalloum
Differential Revision: D19831097
fbshipit-source-id: f3f423df43bdc3e6570d027a35062de217758975
Summary: These need the header applied
Reviewed By: zeyadsalloum
Differential Revision: D14383785
fbshipit-source-id: 37de4864a47069e6ff92adc44c8c4339af013268
Summary:
Since new iOS is much more aggressive on killing apps, we cannot use random apps for our integrations tests anymore (as they get killed).
This diff adds app that uses some system hooks in order to avoid that (eg. by adding `unboundedTaskCompletion`, `continuous` as `UIBackgroundModes` in it's `Info.Plist`) and requesting background task via app delegate.
Reviewed By: antiarchit
Differential Revision: D8348520
fbshipit-source-id: e419774f09a30c57e0eedcb54efdaef10b2bfcc7
Summary: Add an app test binary bundle as fixture of unit tests.
Reviewed By: antiarchit
Differential Revision: D6483514
fbshipit-source-id: 0b673a25b5a9f84645c3353f14c8704b9e741ed8
Summary: We can use them for XCUITest test exectiution on OSX
Reviewed By: lawrencelomax
Differential Revision: D6232327
fbshipit-source-id: afdeac6002d92cbb01eb311f018c29fd05f36e93
Summary: iOS11 requires a 64-bit slice. Updates the `TableSearch.app` fixture for tests, to be a fat-binary
Reviewed By: marekcirkos
Differential Revision: D6258515
fbshipit-source-id: f6aa741f9d068f33411bd5d3ee6453ac42e3b262
Summary: This adds the necessary test methods in the Test Fixture. This can then be used for testing stalling.
Reviewed By: marekcirkos
Differential Revision: D4232783
fbshipit-source-id: 99498cdc88f8cafd6a61eacec4a40632bff3062b
Summary: There are is some occasional flakyness in listing tests. Revert for the time being.
Differential Revision: D4161692
fbshipit-source-id: 6397ec10a841cac030e9c9e0e0403ab3f23fe274
Summary: This additional fixture will enable writing a test for the behaviour when a single test hangs, or would otherwise stop producing meaningful output.
Reviewed By: k21
Differential Revision: D4073844
fbshipit-source-id: 7960df3c66be9b9378595da18283d811d33a8847
Summary: It's in the `hgignore` so I need to manually `hg add`
Reviewed By: marekcirkos
Differential Revision: D3741645
fbshipit-source-id: 581034571b723a07bea365180582d38bc38e2987
Summary: Being able to disambiguate between iOS and Mac tests is crucial. Adding a target that will allow us to test against these targets.
Reviewed By: k21
Differential Revision: D3716233
fbshipit-source-id: a65c03d6965f33615d0c8fc3cf27e31c76f216b5