/
githubmirror
/
client
Обзор
Документация
Войти
/
githubmirror
/
client
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
osx/Tests/KBHelperTest.m
32 строки
720 B
Gabriel Handford
Better versioning. Detecting Fuse update. Build + update fixes.
22 авг 2015, 03:48
22 авг 2015, 03:48
c75fe10
Код
Авторство
О чём код?
// // KBHelperTest.m // Keybase // // Created by Gabriel on 4/21/15. // Copyright (c) 2015 Gabriel Handford. All rights reserved. // #import <Foundation/Foundation.h> #import <XCTest/XCTest.h> #import "KBHelper.h" // TODO: Fix @interface KBHelperTest : XCTestCase @end @implementation KBHelperTest - (void)testXpc { XCTestExpectation *expectation = [self expectationWithDescription:@"Handle version"]; KBHelper *helper = [[KBHelper alloc] init]; [helper handleRequestWithMethod:@"version" params:nil messageId:@(1) completion:^(NSError *error, id value) { //NSLog(@"value=%@", KBDescription(value)); [expectation fulfill]; }]; [self waitForExpectationsWithTimeout:1.0 handler:nil]; } @end