This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
06-28 16:52:50.734 13101-13101/? E/Zygote: v2 | |
06-28 16:52:50.734 13101-13101/? I/libpersona: KNOX_SDCARD checking this for 10288 | |
06-28 16:52:50.734 13101-13101/? I/libpersona: KNOX_SDCARD not a persona | |
06-28 16:52:50.735 13101-13101/? E/Zygote: accessInfo : 0 | |
06-28 16:52:50.735 13101-13101/? W/SELinux: SELinux selinux_android_compute_policy_index : Policy Index[2], Con:u:r:zygote:s0 RAM:SEPF_SECMOBILE_7.0_0007, [-1 -1 -4 -1 0 1] | |
06-28 16:52:50.737 13101-13101/? I/SELinux: SELinux: seapp_context_lookup: seinfo=untrusted, level=s0:c512,c768, pkgname=com.vsmartcard.acardemulator | |
06-28 16:52:50.741 13101-13101/? I/art: Late-enabling -Xcheck:jni | |
06-28 16:52:50.760 13101-13101/? D/TimaKeyStoreProvider: TimaKeyStore is not enabled: cannot add TimaSignature Service and generateKeyPair Service | |
06-28 16:52:51.161 13101-13101/com.vsmartcard.acardemulator W/System: ClassLoader referenced unknown path: /data/app/com.vsmartcard.acardemulator-2/lib/arm | |
06-28 16:52:51.187 13101-13101/com.vsmartcard.acardemulator I/InstantR |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func waitFunc(completion:(Bool) -> Void ) { | |
dispatch_async(dispatch_get_main_queue()) { | |
print("1") | |
sleep(1) | |
completion(true) | |
} | |
} | |
func Test() { | |
for i in 0..<5 { | |
print("another") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func testExample() { | |
let expectation = expectationWithDescription("test expectation") | |
let configuration = NSURLSessionConfiguration.defaultSessionConfiguration() | |
configuration.timeoutIntervalForRequest = 30 | |
let alamofireManager = Manager(configuration: configuration) | |
let body = ["json": "test"] | |
stub(everything, builder: json(body)) | |
alamofireManager.request(.GET, "https://www.test.com").responseJSON { response in |