spiegel-keyman/mac/KeymanEngine4Mac/KeymanEngine4MacTests/KeymanEngineTestsStaticHelperMethods.m
2018-06-15 02:34:03 -04:00

25 lines
853 B
Objective-C

//
// KeymanEngineTestsStaticHelperMethods.m
// KeymanEngine4MacTests
//
// Created by tom on 1/18/18.
// Copyright © 2018 SIL International. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "KeymanEngineTestsStaticHelperMethods.h"
@implementation KeymanEngineTestsStaticHelperMethods
+ (KMXFile *)getKmxFileTestMacEngine {
NSString *path = [[NSBundle bundleForClass:[KeymanEngineTestsStaticHelperMethods class]] pathForResource:@"TestMacEngine.kmx" ofType:nil];
KMXFile *kmxFile = [[KMXFile alloc] initWithFilePath:path];
return kmxFile;
}
+ (KMXFile *)getKmxFileForPlatformTest {
NSString *path = [[NSBundle bundleForClass:[KeymanEngineTestsStaticHelperMethods class]] pathForResource:@"PlatformTest.kmx" ofType:nil];
KMXFile *kmxFile = [[KMXFile alloc] initWithFilePath:path];
return kmxFile;
}
@end