jchambers / pushy-console

A simple GUI app for sending APNs (iOS/macOS/Safari) push notifications
MIT License
53 stars 18 forks source link

Tests for credential handling in "compose notification" controller #5

Closed jchambers closed 6 years ago

jchambers commented 6 years ago

This change adds a handful of tests for credential handling in ComposeNotificationController. Rather than using a framework like TestFX (which isn't really well-documented at all and doesn't really seem to add much value), this just uses plain old JUnit, which seems completely find for our purposes and appears to work well for headless testing.

Certificate generation scripts and configuration files are basically copied/pasted from Pushy.