Visitar URL original
[Pigeon] added support for void argument functions by gaaclarke · Pull Request #145 · flutter/packages · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
started formatting the code after running the tests
  • Loading branch information
gaaclarke committed Apr 24, 2020
commit 53949acd44b04db2dc25a49723a5762833979b6e
2 changes: 1 addition & 1 deletion packages/pigeon/e2e_tests/test_objc/ios/Runner/MyApi.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
NS_ASSUME_NONNULL_BEGIN

/// Implementation of the Pigeon generated interface Api.
@interface MyApi : NSObject<ACApi>
@interface MyApi : NSObject <ACApi>
@end

NS_ASSUME_NONNULL_END
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#import "dartle.h"

/// Implementation of the Pigeon generated interface NestedApi.
@interface MyNestedApi : NSObject<ACNestedApi>
@interface MyNestedApi : NSObject <ACNestedApi>
- (ACSearchReply *)search:(ACNested *)input error:(FlutterError **)error;
@end

Expand Down
7 changes: 6 additions & 1 deletion packages/pigeon/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,9 @@ pub run pigeon \
--objc_header_out $DARTLE_H \
--objc_source_out $DARTLE_M
dartfmt -w $DARTLE_DART
cd e2e_tests/test_objc

pushd $PWD
cd e2e_tests/test_objc
flutter build ios -t test_driver/e2e_test.dart --simulator
cd ios
xcodebuild \
Expand All @@ -81,3 +82,7 @@ xcodebuild \
-sdk iphonesimulator \
-destination 'platform=iOS Simulator,name=iPhone 8' \
test | xcpretty
popd

cd ../..
pub global activate flutter_plugin_tools && pub global run flutter_plugin_tools format
1 change: 0 additions & 1 deletion packages/pigeon/test/dart_generator_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -149,5 +149,4 @@ void main() {
final String code = sink.toString();
expect(code, matches('channel\.send[(]null[)]'));
});

}