incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shaz...@apache.org
Subject ios commit: Added stubs for CDVLocalStorageTests
Date Sat, 24 Mar 2012 00:36:55 GMT
Updated Branches:
  refs/heads/master 90ecbb5ad -> 76880703d


Added stubs for CDVLocalStorageTests


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/commit/76880703
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/tree/76880703
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/diff/76880703

Branch: refs/heads/master
Commit: 76880703de77299540bfde1d8846e18c27670201
Parents: 90ecbb5
Author: Shazron Abdullah <shazron@apache.org>
Authored: Fri Mar 23 17:36:47 2012 -0700
Committer: Shazron Abdullah <shazron@apache.org>
Committed: Fri Mar 23 17:36:47 2012 -0700

----------------------------------------------------------------------
 CordovaLib/CordovaLib.xcodeproj/project.pbxproj   |    6 ++
 CordovaLib/CordovaLibTests/CDVLocalStorageTests.h |   26 ++++++++
 CordovaLib/CordovaLibTests/CDVLocalStorageTests.m |   54 ++++++++++++++++
 3 files changed, 86 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/76880703/CordovaLib/CordovaLib.xcodeproj/project.pbxproj
----------------------------------------------------------------------
diff --git a/CordovaLib/CordovaLib.xcodeproj/project.pbxproj b/CordovaLib/CordovaLib.xcodeproj/project.pbxproj
index 8f1b653..c0fcd39 100644
--- a/CordovaLib/CordovaLib.xcodeproj/project.pbxproj
+++ b/CordovaLib/CordovaLib.xcodeproj/project.pbxproj
@@ -81,6 +81,7 @@
 		3062D121151D0EDB000D9128 /* UIDevice+Extensions.h in Headers */ = {isa = PBXBuildFile;
fileRef = 3062D11E151D0EDB000D9128 /* UIDevice+Extensions.h */; settings = {ATTRIBUTES = (Public,
); }; };
 		3062D122151D0EDB000D9128 /* UIDevice+Extensions.m in Sources */ = {isa = PBXBuildFile;
fileRef = 3062D11F151D0EDB000D9128 /* UIDevice+Extensions.m */; };
 		3062D123151D0EDB000D9128 /* UIDevice+Extensions.m in Sources */ = {isa = PBXBuildFile;
fileRef = 3062D11F151D0EDB000D9128 /* UIDevice+Extensions.m */; };
+		3062D1AE151D4D9D000D9128 /* CDVLocalStorageTests.m in Sources */ = {isa = PBXBuildFile;
fileRef = 3062D1AD151D4D9D000D9128 /* CDVLocalStorageTests.m */; };
 		307A8F9E1385A2EC00E43782 /* CDVConnection.h in Headers */ = {isa = PBXBuildFile; fileRef
= 307A8F9C1385A2EC00E43782 /* CDVConnection.h */; };
 		307A8F9F1385A2EC00E43782 /* CDVConnection.m in Sources */ = {isa = PBXBuildFile; fileRef
= 307A8F9D1385A2EC00E43782 /* CDVConnection.m */; };
 		30956FD2138F1F5600FC3563 /* CDVMotion.h in Headers */ = {isa = PBXBuildFile; fileRef =
30956FD0138F1F5600FC3563 /* CDVMotion.h */; };
@@ -195,6 +196,8 @@
 		30392E4D14F4FCAB00B9E0B8 /* CDVAvailability.h */ = {isa = PBXFileReference; fileEncoding
= 4; lastKnownFileType = sourcecode.c.h; name = CDVAvailability.h; path = Classes/CDVAvailability.h;
sourceTree = "<group>"; };
 		3062D11E151D0EDB000D9128 /* UIDevice+Extensions.h */ = {isa = PBXFileReference; fileEncoding
= 4; lastKnownFileType = sourcecode.c.h; name = "UIDevice+Extensions.h"; path = "Classes/UIDevice+Extensions.h";
sourceTree = "<group>"; };
 		3062D11F151D0EDB000D9128 /* UIDevice+Extensions.m */ = {isa = PBXFileReference; fileEncoding
= 4; lastKnownFileType = sourcecode.c.objc; name = "UIDevice+Extensions.m"; path = "Classes/UIDevice+Extensions.m";
sourceTree = "<group>"; };
+		3062D1AC151D4D9D000D9128 /* CDVLocalStorageTests.h */ = {isa = PBXFileReference; fileEncoding
= 4; lastKnownFileType = sourcecode.c.h; path = CDVLocalStorageTests.h; sourceTree = "<group>";
};
+		3062D1AD151D4D9D000D9128 /* CDVLocalStorageTests.m */ = {isa = PBXFileReference; fileEncoding
= 4; lastKnownFileType = sourcecode.c.objc; path = CDVLocalStorageTests.m; sourceTree = "<group>";
};
 		307A8F9C1385A2EC00E43782 /* CDVConnection.h */ = {isa = PBXFileReference; fileEncoding
= 4; lastKnownFileType = sourcecode.c.h; name = CDVConnection.h; path = Classes/CDVConnection.h;
sourceTree = "<group>"; };
 		307A8F9D1385A2EC00E43782 /* CDVConnection.m */ = {isa = PBXFileReference; fileEncoding
= 4; lastKnownFileType = sourcecode.c.objc; name = CDVConnection.m; path = Classes/CDVConnection.m;
sourceTree = "<group>"; };
 		30956FD0138F1F5600FC3563 /* CDVMotion.h */ = {isa = PBXFileReference; fileEncoding = 4;
lastKnownFileType = sourcecode.c.h; name = CDVMotion.h; path = Classes/CDVMotion.h; sourceTree
= "<group>"; };
@@ -368,6 +371,8 @@
 		686357B0141002F100DF4CF2 /* CordovaLibTests */ = {
 			isa = PBXGroup;
 			children = (
+				3062D1AC151D4D9D000D9128 /* CDVLocalStorageTests.h */,
+				3062D1AD151D4D9D000D9128 /* CDVLocalStorageTests.m */,
 				686357B7141002F200DF4CF2 /* CDVPluginResultJSONSerializationTests.h */,
 				686357B9141002F200DF4CF2 /* CDVPluginResultJSONSerializationTests.m */,
 				30356212141049E1006C2D43 /* CDVWhitelistTests.h */,
@@ -778,6 +783,7 @@
 				686357BA141002F200DF4CF2 /* CDVPluginResultJSONSerializationTests.m in Sources */,
 				30AE4E8D1419532F005A9C9A /* CDVContactsTests.m in Sources */,
 				30AE4E97141953C7005A9C9A /* CDVMockUIWebview.m in Sources */,
+				3062D1AE151D4D9D000D9128 /* CDVLocalStorageTests.m in Sources */,
 			);
 			runOnlyForDeploymentPostprocessing = 0;
 		};

http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/76880703/CordovaLib/CordovaLibTests/CDVLocalStorageTests.h
----------------------------------------------------------------------
diff --git a/CordovaLib/CordovaLibTests/CDVLocalStorageTests.h b/CordovaLib/CordovaLibTests/CDVLocalStorageTests.h
new file mode 100644
index 0000000..c2ae7b9
--- /dev/null
+++ b/CordovaLib/CordovaLibTests/CDVLocalStorageTests.h
@@ -0,0 +1,26 @@
+/*
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements.  See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership.  The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License.  You may obtain a copy of the License at
+ 
+ http://www.apache.org/licenses/LICENSE-2.0
+ 
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied.  See the License for the
+ specific language governing permissions and limitations
+ under the License.
+ */
+
+#import <SenTestingKit/SenTestingKit.h>
+
+@interface CDVLocalStorageTests : SenTestCase {
+
+}
+
+@end

http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/76880703/CordovaLib/CordovaLibTests/CDVLocalStorageTests.m
----------------------------------------------------------------------
diff --git a/CordovaLib/CordovaLibTests/CDVLocalStorageTests.m b/CordovaLib/CordovaLibTests/CDVLocalStorageTests.m
new file mode 100644
index 0000000..77ee28c
--- /dev/null
+++ b/CordovaLib/CordovaLibTests/CDVLocalStorageTests.m
@@ -0,0 +1,54 @@
+/*
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements.  See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership.  The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License.  You may obtain a copy of the License at
+ 
+ http://www.apache.org/licenses/LICENSE-2.0
+ 
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied.  See the License for the
+ specific language governing permissions and limitations
+ under the License.
+ */
+
+#import "CDVLocalStorageTests.h"
+#import "CDVLocalStorage.h"
+
+@implementation CDVLocalStorageTests
+
+- (void)setUp
+{
+    [super setUp];
+    
+    // setup code here
+}
+
+- (void)tearDown
+{
+    // Tear-down code here.
+
+    [super tearDown];
+}
+
+- (void) testRestore
+{
+    STAssertTrue(NO, @"TODO: testRestore");
+}
+
+- (void) testBackup
+{
+    STAssertTrue(NO, @"TODO: testBackup");
+}
+
+- (void) testVerifyAndFixDatabaseLocations
+{
+	STAssertTrue(NO, @"TODO: testVerifyAndFixDatabaseLocations");
+}
+
+@end


Mime
View raw message