Edit DataGrid columns and dock layout declarations in the designer
This commit is contained in:
@@ -24,7 +24,10 @@ p.add_argument("--mode", choices=["all", "classpath", "modulepath"], default="al
|
||||
p.add_argument("--repeat", type=int, default=1, help="Consecutive independent runs per mode")
|
||||
p.add_argument("--archiver", type=Path, help="Qualify ArchiveWindow.fxml in a disposable project copy")
|
||||
p.add_argument("--connection-form", action="store_true", help="Qualify the Archiver connection form")
|
||||
p.add_argument("--grid-docking", type=Path, metavar="REFERENCE_FXML", help="Qualify the Archiver grid, dock layout and the supplied reference workspace")
|
||||
args = p.parse_args()
|
||||
if args.grid_docking and (not args.archiver or args.connection_form):
|
||||
p.error("--grid-docking requires --archiver and a separate run from --connection-form")
|
||||
if args.connection_form and not args.archiver:
|
||||
p.error("--connection-form requires --archiver")
|
||||
if args.repeat < 1:
|
||||
@@ -37,7 +40,7 @@ modes = ("classpath",) if args.archiver else (("classpath", "modulepath") if arg
|
||||
for run_number, mode in ((n, mode) for n in range(1, args.repeat + 1) for mode in modes):
|
||||
crashes = NativeCrashGuard(ROOT)
|
||||
launch = subprocess.run([sys.executable, ROOT / "scripts/run-fixture-host.py", "intellij",
|
||||
"--check", *(["--connection-form"] if args.connection_form else []), *(["--archiver", str(args.archiver.resolve())] if args.archiver else []), "--mode", mode, "--java-home", args.java_home,
|
||||
"--check", *(["--grid-docking", str(args.grid_docking.resolve())] if args.grid_docking else []), *(["--connection-form"] if args.connection_form else []), *(["--archiver", str(args.archiver.resolve())] if args.archiver else []), "--mode", mode, "--java-home", args.java_home,
|
||||
"--target-java-home", args.target_java_home, "--idea-home", args.idea_home],
|
||||
cwd=ROOT, text=True, capture_output=True, timeout=60)
|
||||
if launch.returncode:
|
||||
@@ -81,7 +84,7 @@ for run_number, mode in ((n, mode) for n in range(1, args.repeat + 1) for mode i
|
||||
shutil.copyfile(base / "intellij.png", output / (mode + ".png"))
|
||||
(evidence / "proof.json").write_text(json.dumps(proof, indent=2) + "\n")
|
||||
finally:
|
||||
for name in ("SUCCESS.txt", "FAILURE.txt", "ui-state.txt", "launcher.log", "steps.txt", "target-error.txt", "preview-restored.png", "imap.png", "jmap.png", "intellij.png"):
|
||||
for name in ("SUCCESS.txt", "FAILURE.txt", "ui-state.txt", "launcher.log", "steps.txt", "target-error.txt", "preview-restored.png", "imap.png", "jmap.png", "folder.png", "right.png", "bottom.png", "result-folder", "result-right", "result-bottom", "intellij.png"):
|
||||
if (base / name).exists():
|
||||
shutil.copyfile(base / name, evidence / name)
|
||||
workers = descendant_workers(pid)
|
||||
|
||||
Reference in New Issue
Block a user