bhatti / OCActiveObjects

O/R Mapping Framework for iPhone Development in Objective-C using Active Object pattern.

This URL has Read+Write access

OCActiveObjects / main.m
100644 33 lines (27 sloc) 0.605 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
//
// main.m
// OCActiveObjects
//
// Created by shahzad bhatti on 6/13/09.
// Copyright __MyCompanyName__ 2009. All rights reserved.
//
 
#import <UIKit/UIKit.h>
#import "ActiveObjectTest.h"
 
int main(int argc, char *argv[]) {
    
    NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
/*
ActiveObjectTest *test = [[[ActiveObjectTest alloc] init] autorelease];
[test setup];
[test testSaveAndFind];
[test teardown];
 
[test setup];
[test testCount];
[test teardown];
 
[test setup];
[test testRemove];
[test teardown];
*/
NSLog(@"ALL DONE");
    [pool release];
    return 0;
}