Commit 906aa9b
authored
Add some
* Configure the Keystone scheme to run tests
* Add some `import`s required to compile Keystone for testing
Unfortunately, there are many imports that we need to add.
I am using a combination of brute force "build, see what failed, fix,
repeat" and of strategic grepping like
```
grep -rlE '\bBlog\b' WordPress/Classes Sources \
--exclude-dir=Sources/WordPressData -I --null \
| xargs -0 grep -L 'WordPressData'
```
To identify usages of WordPressData types that don't have the required
import.
Interestingly, this exercise is revealing additional missing imports,
such as for WordPressKit.imports required to compile Keystone for testing (#24617)1 parent 90e979e commit 906aa9b
File tree
649 files changed
+707
-2
lines changed- Tests/KeystoneTests
- Helpers
- Tests
- Features
- Media/StockPhotos
- Notifications
- Models
- Reader
- Services
- Utility
- WordPress
- Classes
- Apps/Reader
- Home
- Extensions
- Media
- Jetpack/JetpackMigration
- Common
- Done
- SuccessCard/CollectionView
- Welcome
- Login
- Models
- Blog
- Notifications
- Actions
- Types
- Revisions
- Networking
- Services
- Page Layouts
- Reader Post
- Stores
- System
- 3D Touch
- Root View
- UITesting
- Users
- Utility
- Analytics
- Automated Transfer
- Blogging Prompts
- BuildInformation
- Editor
- In-App Feedback
- Logging
- Media
- Networking
- Notifications
- Sharing
- Spotlight
- Universal Links
- Migration
- WebViewController
- ViewRelated
- Activity
- Backup
- FormattableContent
- Factory
- Ranges
- Aztec
- Helpers
- Media
- ViewControllers
- Blaze Campaigns
- Blaze
- Helpers
- Overlay
- Webview
- Blog
- Blog Dashboard
- Cards
- Activity Log
- Blaze
- Domains
- GoogleDomains
- Free to Paid Plans
- Ghost
- Pages
- Posts
- Prompts
- Quick Actions
- Stats
- Helpers
- Models
- Service
- ViewModel
- Blog Details
- Detail Header
- BlogPersonalization
- Blogging Prompts
- BloggingReminders
- My Site
- Header
- Sharing
- Site Management
- Site Monitoring
- Site Picker
- BlogList
- Site Settings
- Subscribers/Helpers
- Cells
- Comments
- Analytics
- Controllers
- Create
- Editor
- Edit
- Views
- Detail
- Domains
- Domain credit
- Domain registration
- RegisterDomainDetails/ViewModel
- RegisterDomainSuggestions
- Utility
- View Models
- Views
- EEUUSCompliance
- Feature Introduction/Blogging Prompts
- Gutenberg
- GutenbergWeb
- Layout Picker
- Utils
- Jetpack
- Branding
- Badge
- Coordinator
- Fullscreen Overlay
- Menu Card
- Install
- Error
- ViewModel
- View
- State
- Webview
- Jetpack Restore
- Restore Complete
- Restore Options
- Coordinators
- Restore Status
- Coordinators
- Restore Warning
- Coordinators
- Jetpack Scan
- View Models
- Jetpack Settings
- Login
- Social
- Likes
- Media
- Lightbox
- MediaPicker
- Menu
- SiteMedia
- Controllers
- Helpers
- Views
- StockPhotos
- Tenor
- Menus/Controllers
- Me
- All Domains/Coordinators
- App Settings
- Privacy Settings
- Me Main
- My Profile
- Change Username
- View Model
- Gravatar
- Views
- NUX
- Controllers/Social Signup
- Helpers
- NewGutenberg
- Notifications
- Controllers
- NotificationsViewController
- FormattableContent/Groups
- Views
- Pages
- Controllers
- Views
- People
- Controllers
- ViewModels
- Plugins
- Controllers
- ViewModels
- Views
- Post
- Categories
- Controllers
- Prepublishing Nudge
- Prepublishing
- Preview
- Revisions
- Browser
- Diffs
- Preview
- Views/Operation
- Scheduling
- Search
- Utils
- Views
- QR Login
- Coordinators
- Helpers
- View Controllers
- Reader
- Cards
- Comments
- Controllers
- ReaderPostActions
- Detail
- Views
- WebView
- Headers
- Manage
- Select Interests
- Sidebar
- User
- Views
- Sharing
- Site Creation
- Design Selection
- Preview
- Final Assembly
- Services
- Site Segments
- Web Address
- Wizard
- Stats
- Charts
- Helpers
- Insights
- Posting Activity
- ViewsVisitors
- Operation
- Period Stats
- Overview
- Traffic
- Suggestions
- Support
- System
- Action Sheet
- Coordinators
- Fancy Alerts
- Floating Create Button
- Sidebar
- Themes
- Tools/Time Zone
- User Profile Sheet
- Voice
- WhatsNew
- Data store
- Dependency container
- Presenter
- Views
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
649 files changed
+707
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
| 4 | + | |
3 | 5 | | |
4 | 6 | | |
5 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
0 commit comments