Skip to content

579 more dialogs and models#603

Merged
dbenn merged 2 commits into
masterfrom
579-more-dialogs-and-models
May 16, 2026
Merged

579 more dialogs and models#603
dbenn merged 2 commits into
masterfrom
579-more-dialogs-and-models

Conversation

@dbenn
Copy link
Copy Markdown
Collaborator

@dbenn dbenn commented May 16, 2026

No description provided.

dbenn and others added 2 commits May 17, 2026 00:58
Add -o flag to unzip so existing files in _site/plugins/snapshot/ are
overwritten without an interactive prompt, which caused CI to fail with
exit code 1 when the .plugins.lst file already existed.

Co-authored-by: Cursor <cursoragent@cursor.com>
…plugin patterns

Workstream A — AbstractOkCancelDialog subclasses:
- PolynomialDegreeDialog: add package-private (int, int, boolean show) constructor;
  PolynomialDegreeDialogTest covers title, modality, isCancelled, initial degree,
  okAction/cancelAction.
- RadioButtonDialog: add package-private (String, Collection, String, boolean show)
  constructor; RadioButtonDialogTest covers title, modality, isCancelled,
  selectedOption default, okAction/cancelAction.
- DiscrepantReportDialog: add package-private (String, ValidObservation, boolean show)
  constructor; DiscrepantReportDialogTest covers title, modality, isCancelled,
  initial comments, cancelAction.
- PhaseParameterDialog: constructor already safe (no Mediator.getUI call);
  PhaseParameterDialogTest covers title, modality, initial period/epoch, field setters.
- SeriesTypeCreationDialog: constructor already safe (no Mediator.getUI call);
  SeriesTypeCreationDialogTest covers title, modality, isCancelled, cancelAction.

Workstream B — Period-analysis plugin dialog patterns (placed in
org.aavso.tools.vstar.ui.dialog to access package-private 5-arg constructor):
- PeriodAnalysisPluginDialogsTest replicates and tests the exact DoubleField
  configurations used by DcDftFrequencyRangePeriodAnalysisPlugin,
  DcDftPeriodRangePeriodAnalysisPlugin, WeightedWaveletZTransformWithPeriodRangePlugin,
  and WeightedWaveletZTransformWithFrequencyRangePlugin.

Workstream C — all GUI-classified table/list models already tested; no new candidates.

All new tests registered in AllTests.java.

Co-authored-by: Cursor <cursoragent@cursor.com>
@dbenn dbenn self-assigned this May 16, 2026
@dbenn dbenn added verification Unit tests, static analysis, and other forms of verification and QA UI User Interface tuning labels May 16, 2026
@dbenn dbenn linked an issue May 16, 2026 that may be closed by this pull request
@github-actions
Copy link
Copy Markdown
Contributor

Plugin Unit Tests

All tests passed (Java 17)

Metric Value
Tests 1
Passed 1
Failures 0
Errors 0

@github-actions
Copy link
Copy Markdown
Contributor

VStar Unit Tests

All tests passed (Java 17)

Metric Value
Tests 929
Passed 929
Failures 0
Errors 0

@dbenn dbenn merged commit e63d36a into master May 16, 2026
20 checks passed
@dbenn dbenn deleted the 579-more-dialogs-and-models branch May 16, 2026 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

UI User Interface tuning verification Unit tests, static analysis, and other forms of verification and QA

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Address lack of GUI code coverage

1 participant