Re-enable all project panel tests
Some are still failing.
This commit is contained in:
parent
c7d80c7aac
commit
123faed5b0
3 changed files with 1316 additions and 1293 deletions
|
@ -9168,6 +9168,10 @@ impl Editor {
|
|||
cx.focus(&self.focus_handle)
|
||||
}
|
||||
|
||||
pub fn is_focused(&self, cx: &WindowContext) -> bool {
|
||||
self.focus_handle.is_focused(cx)
|
||||
}
|
||||
|
||||
fn handle_focus_in(&mut self, cx: &mut ViewContext<Self>) {
|
||||
if self.focus_handle.is_focused(cx) {
|
||||
// todo!()
|
||||
|
|
|
@ -152,6 +152,21 @@ impl TestAppContext {
|
|||
(view, VisualTestContext::from_window(*window.deref(), self))
|
||||
}
|
||||
|
||||
pub fn simulate_new_path_selection(
|
||||
&self,
|
||||
_select_path: impl FnOnce(&std::path::Path) -> Option<std::path::PathBuf>,
|
||||
) {
|
||||
//
|
||||
}
|
||||
|
||||
pub fn simulate_prompt_answer(&self, _button_ix: usize) {
|
||||
//
|
||||
}
|
||||
|
||||
pub fn has_pending_prompt(&self) -> bool {
|
||||
false
|
||||
}
|
||||
|
||||
pub fn spawn<Fut, R>(&self, f: impl FnOnce(AsyncAppContext) -> Fut) -> Task<R>
|
||||
where
|
||||
Fut: Future<Output = R> + 'static,
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue