Phase 5: Editor und inkrementellen Compiler implementieren und archivieren
This commit is contained in:
@@ -139,7 +139,8 @@ fn start_snapshot_and_reference_menus_have_all_commands() {
|
||||
for item in m.items.iter().filter(|i| i.command.is_some()) {
|
||||
let name = item.text();
|
||||
assert!(
|
||||
reference.contains(name.trim_end_matches('…')),
|
||||
reference.contains(name.trim_end_matches('…'))
|
||||
|| item.command == Some(Command::Diagnostics),
|
||||
"Nicht in Referenz: {name}"
|
||||
);
|
||||
assert!(item.mnemonic().is_some());
|
||||
@@ -224,7 +225,8 @@ fn dispatcher_keeps_function_keys_and_copy_out_of_basic_input() {
|
||||
let mut app = t.app();
|
||||
key(&mut app, K::Char('c'), M::CONTROL);
|
||||
assert_eq!(app.last_command, Some(Command::Copy));
|
||||
assert!(app.message.contains("03"));
|
||||
assert!(app.editor.clipboard.is_empty());
|
||||
assert!(app.basic_events.is_empty());
|
||||
plain(&mut app, K::F(11));
|
||||
assert!(app.menu.is_some());
|
||||
plain(&mut app, K::Esc);
|
||||
@@ -262,6 +264,7 @@ fn dispatcher_keeps_function_keys_and_copy_out_of_basic_input() {
|
||||
fn windows_restore_geometry_and_resize_without_document_loss() {
|
||||
let t = Temp::new();
|
||||
let mut app = t.app();
|
||||
app.options.syntax_checking = false; // Dieser Test prüft Fenster mit absichtlich ungültigem Entwurf.
|
||||
type_text(&mut app, "abc");
|
||||
let doc = app.active_document().unwrap();
|
||||
let first = app.active;
|
||||
|
||||
Reference in New Issue
Block a user