mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Reorg test fixtures
This commit is contained in:
8
test/fixtures/objective-c/Foo.h
vendored
Normal file
8
test/fixtures/objective-c/Foo.h
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
|
||||
@interface Foo : NSObject {
|
||||
|
||||
}
|
||||
|
||||
@end
|
||||
6
test/fixtures/objective-c/Foo.m
vendored
Normal file
6
test/fixtures/objective-c/Foo.m
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
#import "Foo.h"
|
||||
|
||||
|
||||
@implementation Foo
|
||||
|
||||
@end
|
||||
10
test/fixtures/objective-c/FooAppDelegate.h
vendored
Normal file
10
test/fixtures/objective-c/FooAppDelegate.h
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
#import <Cocoa/Cocoa.h>
|
||||
|
||||
@interface FooAppDelegate : NSObject <NSApplicationDelegate> {
|
||||
@private
|
||||
NSWindow *window;
|
||||
}
|
||||
|
||||
@property (assign) IBOutlet NSWindow *window;
|
||||
|
||||
@end
|
||||
12
test/fixtures/objective-c/FooAppDelegate.m
vendored
Normal file
12
test/fixtures/objective-c/FooAppDelegate.m
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
#import "FooAppDelegate.h"
|
||||
|
||||
@implementation FooAppDelegate
|
||||
|
||||
@synthesize window;
|
||||
|
||||
- (void)applicationDidFinishLaunching:(NSNotification *)aNotification
|
||||
{
|
||||
// Insert code here to initialize your application
|
||||
}
|
||||
|
||||
@end
|
||||
0
test/fixtures/objective-c/empty.m
vendored
Normal file
0
test/fixtures/objective-c/empty.m
vendored
Normal file
7
test/fixtures/objective-c/hello.m
vendored
Normal file
7
test/fixtures/objective-c/hello.m
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
#import <Cocoa/Cocoa.h>
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
NSLog(@"Hello, World!\n");
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user