Commit 70b41e1
authored
[camera_avfoundation] Migrate tests to Swift - part 3 (#8661)
This PR migrates some of Objective-C tests to Swift as a part of Swift migration: [flutter/flutter/issues/119109](flutter/flutter#119109).
I kept the names of test cases the same.
Tests migrated in this PR:
- PhotoCaptureTests
- SampleBufferTests
- StramingTests
- ThreadSafeEventChannelTests
I also migrated two Mock classes to Swift, but I think that for most of mocks it'd be easier to migrate them when migrating the actual implementation to Swift.1 parent 043e804 commit 70b41e1
File tree
20 files changed
+756
-925
lines changed- packages/camera/camera_avfoundation/example/ios
- Runner.xcodeproj
- RunnerTests
- Mocks
20 files changed
+756
-925
lines changedLines changed: 27 additions & 34 deletions
Large diffs are not rendered by default.
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
33 | 40 | | |
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
Lines changed: 0 additions & 216 deletions
This file was deleted.
0 commit comments