summaryrefslogtreecommitdiff
path: root/tests/setdefaults.m
blob: 10f47ff1d848564d4b8b3fa65274fc9289c358bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#import <Foundation/Foundation.h>

int main(int argc, char *argv[])
{
	NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];

	NSUserDefaults *d = [NSUserDefaults standardUserDefaults];
	[d setValue: @"72157601973587381-cf36330fe0ed6249" forKey: @"token"];
	[d setValue: @"12031124@N00" forKey: @"nsid"];
	[d setValue: @"slashclee" forKey: @"username"];
	[d synchronize];
	[pool release];
	return 0;
}