Cleared tests

This commit is contained in:
Kilian Hofmann 2016-03-31 20:17:47 +02:00
parent 37b2619277
commit bc41170675
2 changed files with 26 additions and 30 deletions

View File

@ -6,6 +6,8 @@
// Copyright © 2016 Kilian Hofmann. All rights reserved. // Copyright © 2016 Kilian Hofmann. All rights reserved.
// //
#import "AppDelegate.h"
#import "DropboxV2ObjC.h"
#import <XCTest/XCTest.h> #import <XCTest/XCTest.h>
@interface FMC_Planner_2Tests : XCTestCase @interface FMC_Planner_2Tests : XCTestCase
@ -14,26 +16,18 @@
@implementation FMC_Planner_2Tests @implementation FMC_Planner_2Tests
- (void)setUp { - (void)setUp
{
[super setUp]; [super setUp];
// Put setup code here. This method is called before the invocation of each test method in the class. // Put setup code here. This method is called before the invocation of each
// test method in the class.
} }
- (void)tearDown { - (void)tearDown
// Put teardown code here. This method is called after the invocation of each test method in the class. {
// Put teardown code here. This method is called after the invocation of
// each test method in the class.
[super tearDown]; [super tearDown];
} }
- (void)testExample {
// This is an example of a functional test case.
// Use XCTAssert and related functions to verify your tests produce the correct results.
}
- (void)testPerformanceExample {
// This is an example of a performance test case.
[self measureBlock:^{
// Put the code you want to measure the time of here.
}];
}
@end @end

View File

@ -14,27 +14,29 @@
@implementation FMC_Planner_2UITests @implementation FMC_Planner_2UITests
- (void)setUp { - (void)setUp
{
[super setUp]; [super setUp];
// Put setup code here. This method is called before the invocation of each test method in the class. // Put setup code here. This method is called before the invocation of each
// test method in the class.
// In UI tests it is usually best to stop immediately when a failure occurs. // In UI tests it is usually best to stop immediately when a failure occurs.
self.continueAfterFailure = NO; self.continueAfterFailure = NO;
// UI tests must launch the application that they test. Doing this in setup will make sure it happens for each test method. // UI tests must launch the application that they test. Doing this in setup
// will make sure it happens for each test method.
[[[XCUIApplication alloc] init] launch]; [[[XCUIApplication alloc] init] launch];
// In UI tests its important to set the initial state - such as interface orientation - required for your tests before they run. The setUp method is a good place to do this. // In UI tests its important to set the initial state - such as interface
// orientation - required for your tests before they run. The setUp method
// is a good place to do this.
} }
- (void)tearDown { - (void)tearDown
// Put teardown code here. This method is called after the invocation of each test method in the class. {
// Put teardown code here. This method is called after the invocation of
// each test method in the class.
[super tearDown]; [super tearDown];
} }
- (void)testExample {
// Use recording to get started writing UI tests.
// Use XCTAssert and related functions to verify your tests produce the correct results.
}
@end @end