Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
0636fb43
Unverified
Commit
0636fb43
authored
Jul 19, 2019
by
xster
Committed by
GitHub
Jul 19, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make test back button label deterministic (#36404)
parent
38e41f5a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
0 deletions
+15
-0
DualFlutterViewController.m
...tests/ios_add2app/ios_add2app/DualFlutterViewController.m
+5
-0
HybridViewController.m
...tion_tests/ios_add2app/ios_add2app/HybridViewController.m
+5
-0
NativeViewController.m
...tion_tests/ios_add2app/ios_add2app/NativeViewController.m
+5
-0
No files found.
dev/integration_tests/ios_add2app/ios_add2app/DualFlutterViewController.m
View file @
0636fb43
...
...
@@ -15,6 +15,11 @@
-
(
void
)
viewDidLoad
{
[
super
viewDidLoad
];
self
.
title
=
@"Dual Flutter Views"
;
self
.
navigationItem
.
backBarButtonItem
=
[[
UIBarButtonItem
alloc
]
initWithTitle
:
@"Back"
style
:
UIBarButtonItemStylePlain
target
:
nil
action
:
nil
];
UIStackView
*
stackView
=
[[
UIStackView
alloc
]
initWithFrame
:
self
.
view
.
frame
];
stackView
.
axis
=
UILayoutConstraintAxisVertical
;
...
...
dev/integration_tests/ios_add2app/ios_add2app/HybridViewController.m
View file @
0636fb43
...
...
@@ -36,6 +36,11 @@ static NSString *_kPing = @"ping";
stackView
.
layoutMargins
=
UIEdgeInsetsMake
(
0
,
0
,
50
,
0
);
stackView
.
layoutMarginsRelativeArrangement
=
YES
;
[
self
.
view
addSubview
:
stackView
];
self
.
navigationItem
.
backBarButtonItem
=
[[
UIBarButtonItem
alloc
]
initWithTitle
:
@"Back"
style
:
UIBarButtonItemStylePlain
target
:
nil
action
:
nil
];
NativeViewController
*
nativeViewController
=
[[
NativeViewController
alloc
]
initWithDelegate
:
self
];
...
...
dev/integration_tests/ios_add2app/ios_add2app/NativeViewController.m
View file @
0636fb43
...
...
@@ -34,6 +34,11 @@
self
.
title
=
@"Native iOS View"
;
self
.
view
.
backgroundColor
=
UIColor
.
lightGrayColor
;
self
.
navigationItem
.
backBarButtonItem
=
[[
UIBarButtonItem
alloc
]
initWithTitle
:
@"Back"
style
:
UIBarButtonItemStylePlain
target
:
nil
action
:
nil
];
_incrementLabel
=
[
self
addIncrementLabel
];
UIStackView
*
footer
=
[
self
addFooter
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment