-
Notifications
You must be signed in to change notification settings - Fork 285
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CL-223: User should be able to override sessionUUID during object
instantiation and prepare unit test project.
- Loading branch information
1 parent
098942b
commit a785ccd
Showing
41 changed files
with
8,949 additions
and
34 deletions.
There are no files selected for viewing
364 changes: 364 additions & 0 deletions
364
cocoa/3.3/CocoaPubnubTest/CocoaPubnubTest.xcodeproj/project.pbxproj
Large diffs are not rendered by default.
Oops, something went wrong.
7 changes: 7 additions & 0 deletions
7
....3/CocoaPubnubTest/CocoaPubnubTest.xcodeproj/project.xcworkspace/contents.xcworkspacedata
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Binary file added
BIN
+23.7 KB
...proj/project.xcworkspace/xcuserdata/dahiwadkar.xcuserdatad/UserInterfaceState.xcuserstate
Binary file not shown.
46 changes: 46 additions & 0 deletions
46
...aPubnubTest.xcodeproj/xcuserdata/dahiwadkar.xcuserdatad/xcdebugger/Breakpoints.xcbkptlist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Bucket | ||
type = "1" | ||
version = "1.0"> | ||
<FileBreakpoints> | ||
<FileBreakpoint | ||
shouldBeEnabled = "No" | ||
ignoreCount = "0" | ||
continueAfterRunningActions = "No" | ||
filePath = "CocoaPubnubTest/PubNub/pubnub.m" | ||
timestampString = "372243808.129985" | ||
startingColumnNumber = "9223372036854775807" | ||
endingColumnNumber = "9223372036854775807" | ||
startingLineNumber = "174" | ||
endingLineNumber = "174" | ||
landmarkName = "-subscribe:delegate:" | ||
landmarkType = "5"> | ||
</FileBreakpoint> | ||
<FileBreakpoint | ||
shouldBeEnabled = "No" | ||
ignoreCount = "0" | ||
continueAfterRunningActions = "No" | ||
filePath = "CocoaPubnubTest/UnitTest/CL_223.m" | ||
timestampString = "372244121.764048" | ||
startingColumnNumber = "9223372036854775807" | ||
endingColumnNumber = "9223372036854775807" | ||
startingLineNumber = "81" | ||
endingLineNumber = "81" | ||
landmarkName = "-callback:withResponce:" | ||
landmarkType = "5"> | ||
</FileBreakpoint> | ||
<FileBreakpoint | ||
shouldBeEnabled = "Yes" | ||
ignoreCount = "0" | ||
continueAfterRunningActions = "No" | ||
filePath = "CocoaPubnubTest/PubNub/pubnub.m" | ||
timestampString = "372243808.129985" | ||
startingColumnNumber = "9223372036854775807" | ||
endingColumnNumber = "9223372036854775807" | ||
startingLineNumber = "84" | ||
endingLineNumber = "84" | ||
landmarkName = "-publish:message:delegate:" | ||
landmarkType = "5"> | ||
</FileBreakpoint> | ||
</FileBreakpoints> | ||
</Bucket> |
86 changes: 86 additions & 0 deletions
86
...PubnubTest.xcodeproj/xcuserdata/dahiwadkar.xcuserdatad/xcschemes/CocoaPubnubTest.xcscheme
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Scheme | ||
LastUpgradeVersion = "0440" | ||
version = "1.3"> | ||
<BuildAction | ||
parallelizeBuildables = "YES" | ||
buildImplicitDependencies = "YES"> | ||
<BuildActionEntries> | ||
<BuildActionEntry | ||
buildForTesting = "YES" | ||
buildForRunning = "YES" | ||
buildForProfiling = "YES" | ||
buildForArchiving = "YES" | ||
buildForAnalyzing = "YES"> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "C8A466E9162FE06B003DDAA6" | ||
BuildableName = "CocoaPubnubTest.app" | ||
BlueprintName = "CocoaPubnubTest" | ||
ReferencedContainer = "container:CocoaPubnubTest.xcodeproj"> | ||
</BuildableReference> | ||
</BuildActionEntry> | ||
</BuildActionEntries> | ||
</BuildAction> | ||
<TestAction | ||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | ||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | ||
shouldUseLaunchSchemeArgsEnv = "YES" | ||
buildConfiguration = "Debug"> | ||
<Testables> | ||
</Testables> | ||
<MacroExpansion> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "C8A466E9162FE06B003DDAA6" | ||
BuildableName = "CocoaPubnubTest.app" | ||
BlueprintName = "CocoaPubnubTest" | ||
ReferencedContainer = "container:CocoaPubnubTest.xcodeproj"> | ||
</BuildableReference> | ||
</MacroExpansion> | ||
</TestAction> | ||
<LaunchAction | ||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | ||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | ||
launchStyle = "0" | ||
useCustomWorkingDirectory = "NO" | ||
buildConfiguration = "Debug" | ||
ignoresPersistentStateOnLaunch = "NO" | ||
debugDocumentVersioning = "YES" | ||
allowLocationSimulation = "YES"> | ||
<BuildableProductRunnable> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "C8A466E9162FE06B003DDAA6" | ||
BuildableName = "CocoaPubnubTest.app" | ||
BlueprintName = "CocoaPubnubTest" | ||
ReferencedContainer = "container:CocoaPubnubTest.xcodeproj"> | ||
</BuildableReference> | ||
</BuildableProductRunnable> | ||
<AdditionalOptions> | ||
</AdditionalOptions> | ||
</LaunchAction> | ||
<ProfileAction | ||
shouldUseLaunchSchemeArgsEnv = "YES" | ||
savedToolIdentifier = "" | ||
useCustomWorkingDirectory = "NO" | ||
buildConfiguration = "Release" | ||
debugDocumentVersioning = "YES"> | ||
<BuildableProductRunnable> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "C8A466E9162FE06B003DDAA6" | ||
BuildableName = "CocoaPubnubTest.app" | ||
BlueprintName = "CocoaPubnubTest" | ||
ReferencedContainer = "container:CocoaPubnubTest.xcodeproj"> | ||
</BuildableReference> | ||
</BuildableProductRunnable> | ||
</ProfileAction> | ||
<AnalyzeAction | ||
buildConfiguration = "Debug"> | ||
</AnalyzeAction> | ||
<ArchiveAction | ||
buildConfiguration = "Release" | ||
revealArchiveInOrganizer = "YES"> | ||
</ArchiveAction> | ||
</Scheme> |
22 changes: 22 additions & 0 deletions
22
...PubnubTest.xcodeproj/xcuserdata/dahiwadkar.xcuserdatad/xcschemes/xcschememanagement.plist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>SchemeUserState</key> | ||
<dict> | ||
<key>CocoaPubnubTest.xcscheme</key> | ||
<dict> | ||
<key>orderHint</key> | ||
<integer>0</integer> | ||
</dict> | ||
</dict> | ||
<key>SuppressBuildableAutocreation</key> | ||
<dict> | ||
<key>C8A466E9162FE06B003DDAA6</key> | ||
<dict> | ||
<key>primary</key> | ||
<true/> | ||
</dict> | ||
</dict> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// | ||
// AppDelegate.h | ||
// CocoaPubnubTest | ||
// | ||
// Created by itshastra on 18/10/12. | ||
// Copyright (c) 2012 itshastra. All rights reserved. | ||
// | ||
|
||
#import <Cocoa/Cocoa.h> | ||
|
||
@interface AppDelegate : NSObject <NSApplicationDelegate> | ||
|
||
@property (assign) IBOutlet NSWindow *window; | ||
- (IBAction)UnsubscribeUnitTest:(id)sender; | ||
- (IBAction)CL_223_UnitTest:(id)sender; | ||
- (IBAction)DetailedHistoryUbitTest:(id)sender; | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
// | ||
// AppDelegate.m | ||
// CocoaPubnubTest | ||
// | ||
// Created by itshastra on 18/10/12. | ||
// Copyright (c) 2012 itshastra. All rights reserved. | ||
// | ||
|
||
#import "AppDelegate.h" | ||
#import "UnitTest/DetailedHistoryUnitTest.h" | ||
#import "UnitTest/UnsubcribeUnitTest.h" | ||
#import "UnitTest/CL_223.h" | ||
|
||
@implementation AppDelegate | ||
|
||
|
||
|
||
- (void)applicationDidFinishLaunching:(NSNotification *)aNotification | ||
{ | ||
// Insert code here to initialize your application | ||
} | ||
|
||
- (IBAction)UnsubscribeUnitTest:(id)sender { | ||
UnsubcribeUnitTest *unittest1= [[UnsubcribeUnitTest alloc] init]; | ||
[unittest1 runUnsubcribeUnitTest]; | ||
|
||
} | ||
|
||
- (IBAction)CL_223_UnitTest:(id)sender { | ||
CL_223 *cl223= [[CL_223 alloc]init]; | ||
[cl223 runCL_223UnitTest]; | ||
} | ||
|
||
- (IBAction)DetailedHistoryUbitTest:(id)sender { | ||
DetailedHistoryUnitTest *unittest= [[DetailedHistoryUnitTest alloc] init]; | ||
[unittest runUnitTest]; | ||
|
||
|
||
} | ||
@end |
34 changes: 34 additions & 0 deletions
34
cocoa/3.3/CocoaPubnubTest/CocoaPubnubTest/CocoaPubnubTest-Info.plist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>CFBundleDevelopmentRegion</key> | ||
<string>en</string> | ||
<key>CFBundleExecutable</key> | ||
<string>${EXECUTABLE_NAME}</string> | ||
<key>CFBundleIconFile</key> | ||
<string></string> | ||
<key>CFBundleIdentifier</key> | ||
<string>its.${PRODUCT_NAME:rfc1034identifier}</string> | ||
<key>CFBundleInfoDictionaryVersion</key> | ||
<string>6.0</string> | ||
<key>CFBundleName</key> | ||
<string>${PRODUCT_NAME}</string> | ||
<key>CFBundlePackageType</key> | ||
<string>APPL</string> | ||
<key>CFBundleShortVersionString</key> | ||
<string>1.0</string> | ||
<key>CFBundleSignature</key> | ||
<string>????</string> | ||
<key>CFBundleVersion</key> | ||
<string>1</string> | ||
<key>LSMinimumSystemVersion</key> | ||
<string>${MACOSX_DEPLOYMENT_TARGET}</string> | ||
<key>NSHumanReadableCopyright</key> | ||
<string>Copyright © 2012 itshastra. All rights reserved.</string> | ||
<key>NSMainNibFile</key> | ||
<string>MainMenu</string> | ||
<key>NSPrincipalClass</key> | ||
<string>NSApplication</string> | ||
</dict> | ||
</plist> |
7 changes: 7 additions & 0 deletions
7
cocoa/3.3/CocoaPubnubTest/CocoaPubnubTest/CocoaPubnubTest-Prefix.pch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
// | ||
// Prefix header for all source files of the 'CocoaPubnubTest' target in the 'CocoaPubnubTest' project | ||
// | ||
|
||
#ifdef __OBJC__ | ||
#import <Cocoa/Cocoa.h> | ||
#endif |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.