Resolving of references added (but not finished)

This commit is contained in:
michael starke
2014-02-16 02:23:00 +01:00
parent 1f1c6d5dcb
commit 356a8f524e
4 changed files with 19 additions and 6 deletions

View File

@@ -7,6 +7,7 @@
//
#import <XCTest/XCTest.h>
#import "NSString+Commands.h"
@interface KPKTestReference : XCTestCase
@@ -14,9 +15,21 @@
@implementation KPKTestReference
- (void)testExample
{
- (void)testCorrectReference {
NSString *reference = @"This is some nice stuff {REF:T@U:blubber} and another Reference {REF:U@I:2687345AASTA}";
[reference resolveReferencesWithTree:nil];
}
- (void)testWrongRefernceFormat {
XCTFail(@"Missing Test");
}
- (void)testUnknownReference {
XCTFail(@"Missing Test");
}
- (void)testMultipleMatchinRefernce {
XCTFail(@"Missing Test");
}
@end