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
a76eb719
Unverified
Commit
a76eb719
authored
Jun 23, 2021
by
Ahmed Ashour
Committed by
GitHub
Jun 23, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typos in test names (#85126)
parent
b30c721e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
ios_test.dart
...ols/test/general.shard/build_system/targets/ios_test.dart
+3
-3
linux_test.dart
...s/test/general.shard/build_system/targets/linux_test.dart
+3
-3
No files found.
packages/flutter_tools/test/general.shard/build_system/targets/ios_test.dart
View file @
a76eb719
...
@@ -64,12 +64,12 @@ void main() {
...
@@ -64,12 +64,12 @@ void main() {
);
);
});
});
testWithoutContext
(
'iOS AOT targets has analyicsName'
,
()
{
testWithoutContext
(
'iOS AOT targets has analy
t
icsName'
,
()
{
expect
(
const
AotAssemblyRelease
().
analyticsName
,
'ios_aot'
);
expect
(
const
AotAssemblyRelease
().
analyticsName
,
'ios_aot'
);
expect
(
const
AotAssemblyProfile
().
analyticsName
,
'ios_aot'
);
expect
(
const
AotAssemblyProfile
().
analyticsName
,
'ios_aot'
);
});
});
testUsingContext
(
'DebugUniveralFramework creates simulator binary'
,
()
async
{
testUsingContext
(
'DebugUniver
s
alFramework creates simulator binary'
,
()
async
{
environment
.
defines
[
kIosArchs
]
=
'x86_64'
;
environment
.
defines
[
kIosArchs
]
=
'x86_64'
;
environment
.
defines
[
kSdkRoot
]
=
'path/to/iPhoneSimulator.sdk'
;
environment
.
defines
[
kSdkRoot
]
=
'path/to/iPhoneSimulator.sdk'
;
processManager
.
addCommand
(
processManager
.
addCommand
(
...
@@ -113,7 +113,7 @@ void main() {
...
@@ -113,7 +113,7 @@ void main() {
Platform:
()
=>
macPlatform
,
Platform:
()
=>
macPlatform
,
});
});
testUsingContext
(
'DebugUniveralFramework creates expected binary with arm64 only arch'
,
()
async
{
testUsingContext
(
'DebugUniver
s
alFramework creates expected binary with arm64 only arch'
,
()
async
{
environment
.
defines
[
kIosArchs
]
=
'arm64'
;
environment
.
defines
[
kIosArchs
]
=
'arm64'
;
environment
.
defines
[
kSdkRoot
]
=
'path/to/iPhoneOS.sdk'
;
environment
.
defines
[
kSdkRoot
]
=
'path/to/iPhoneOS.sdk'
;
processManager
.
addCommand
(
processManager
.
addCommand
(
...
...
packages/flutter_tools/test/general.shard/build_system/targets/linux_test.dart
View file @
a76eb719
...
@@ -144,7 +144,7 @@ void main() {
...
@@ -144,7 +144,7 @@ void main() {
ProcessManager:
()
=>
FakeProcessManager
.
any
(),
ProcessManager:
()
=>
FakeProcessManager
.
any
(),
});
});
testWithoutContext
(
"DebugBundleLinuxAssets'
s
name depends on target platforms"
,
()
async
{
testWithoutContext
(
"DebugBundleLinuxAssets' name depends on target platforms"
,
()
async
{
expect
(
const
DebugBundleLinuxAssets
(
TargetPlatform
.
linux_x64
).
name
,
'debug_bundle_linux-x64_assets'
);
expect
(
const
DebugBundleLinuxAssets
(
TargetPlatform
.
linux_x64
).
name
,
'debug_bundle_linux-x64_assets'
);
expect
(
const
DebugBundleLinuxAssets
(
TargetPlatform
.
linux_arm64
).
name
,
'debug_bundle_linux-arm64_assets'
);
expect
(
const
DebugBundleLinuxAssets
(
TargetPlatform
.
linux_arm64
).
name
,
'debug_bundle_linux-arm64_assets'
);
});
});
...
@@ -183,7 +183,7 @@ void main() {
...
@@ -183,7 +183,7 @@ void main() {
ProcessManager:
()
=>
FakeProcessManager
.
any
(),
ProcessManager:
()
=>
FakeProcessManager
.
any
(),
});
});
testWithoutContext
(
"ProfileBundleLinuxAssets'
s
name depends on target platforms"
,
()
async
{
testWithoutContext
(
"ProfileBundleLinuxAssets' name depends on target platforms"
,
()
async
{
expect
(
const
ProfileBundleLinuxAssets
(
TargetPlatform
.
linux_x64
).
name
,
'profile_bundle_linux-x64_assets'
);
expect
(
const
ProfileBundleLinuxAssets
(
TargetPlatform
.
linux_x64
).
name
,
'profile_bundle_linux-x64_assets'
);
expect
(
const
ProfileBundleLinuxAssets
(
TargetPlatform
.
linux_arm64
).
name
,
'profile_bundle_linux-arm64_assets'
);
expect
(
const
ProfileBundleLinuxAssets
(
TargetPlatform
.
linux_arm64
).
name
,
'profile_bundle_linux-arm64_assets'
);
});
});
...
@@ -222,7 +222,7 @@ void main() {
...
@@ -222,7 +222,7 @@ void main() {
ProcessManager:
()
=>
FakeProcessManager
.
any
(),
ProcessManager:
()
=>
FakeProcessManager
.
any
(),
});
});
testWithoutContext
(
"ReleaseBundleLinuxAssets'
s
name depends on target platforms"
,
()
async
{
testWithoutContext
(
"ReleaseBundleLinuxAssets' name depends on target platforms"
,
()
async
{
expect
(
const
ReleaseBundleLinuxAssets
(
TargetPlatform
.
linux_x64
).
name
,
'release_bundle_linux-x64_assets'
);
expect
(
const
ReleaseBundleLinuxAssets
(
TargetPlatform
.
linux_x64
).
name
,
'release_bundle_linux-x64_assets'
);
expect
(
const
ReleaseBundleLinuxAssets
(
TargetPlatform
.
linux_arm64
).
name
,
'release_bundle_linux-arm64_assets'
);
expect
(
const
ReleaseBundleLinuxAssets
(
TargetPlatform
.
linux_arm64
).
name
,
'release_bundle_linux-arm64_assets'
);
});
});
...
...
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