This repository was archived by the owner on Feb 22, 2023. It is now read-only.
File tree 7 files changed +202
-25
lines changed
packages/shared_preferences/shared_preferences
7 files changed +202
-25
lines changed Original file line number Diff line number Diff line change
1
+ ## NEXT
2
+
3
+ * Add iOS unit test target.
4
+
1
5
## 2.0.6
2
6
3
7
* Migrate maven repository from jcenter to mavenCentral.
Original file line number Diff line number Diff line change @@ -29,6 +29,9 @@ flutter_ios_podfile_setup
29
29
30
30
target 'Runner' do
31
31
flutter_install_all_ios_pods File . dirname ( File . realpath ( __FILE__ ) )
32
+ target 'RunnerTests' do
33
+ inherit! :search_paths
34
+ end
32
35
end
33
36
34
37
post_install do |installer |
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 37
37
</BuildableReference >
38
38
</MacroExpansion >
39
39
<Testables >
40
+ <TestableReference
41
+ skipped = " NO" >
42
+ <BuildableReference
43
+ BuildableIdentifier = " primary"
44
+ BlueprintIdentifier = " F76AC2052669B6AE0040C8BC"
45
+ BuildableName = " RunnerTests.xctest"
46
+ BlueprintName = " RunnerTests"
47
+ ReferencedContainer = " container:Runner.xcodeproj" >
48
+ </BuildableReference >
49
+ </TestableReference >
40
50
</Testables >
41
51
</TestAction >
42
52
<LaunchAction
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version =" 1.0" >
4
+ <dict >
5
+ <key >CFBundleDevelopmentRegion </key >
6
+ <string >$(DEVELOPMENT_LANGUAGE) </string >
7
+ <key >CFBundleExecutable </key >
8
+ <string >$(EXECUTABLE_NAME) </string >
9
+ <key >CFBundleIdentifier </key >
10
+ <string >$(PRODUCT_BUNDLE_IDENTIFIER) </string >
11
+ <key >CFBundleInfoDictionaryVersion </key >
12
+ <string >6.0 </string >
13
+ <key >CFBundleName </key >
14
+ <string >$(PRODUCT_NAME) </string >
15
+ <key >CFBundlePackageType </key >
16
+ <string >$(PRODUCT_BUNDLE_PACKAGE_TYPE) </string >
17
+ <key >CFBundleShortVersionString </key >
18
+ <string >1.0 </string >
19
+ <key >CFBundleVersion </key >
20
+ <string >1 </string >
21
+ </dict >
22
+ </plist >
Original file line number Diff line number Diff line change
1
+ // Copyright 2013 The Flutter Authors. All rights reserved.
2
+ // Use of this source code is governed by a BSD-style license that can be
3
+ // found in the LICENSE file.
4
+
5
+ @import shared_preferences;
6
+ @import XCTest;
7
+
8
+ @interface SharedPreferencesTests : XCTestCase
9
+ @end
10
+
11
+ @implementation SharedPreferencesTests
12
+
13
+ - (void )testPlugin {
14
+ FLTSharedPreferencesPlugin* plugin = [[FLTSharedPreferencesPlugin alloc ] init ];
15
+ XCTAssertNotNil (plugin);
16
+ }
17
+
18
+ @end
You can’t perform that action at this time.
0 commit comments