rjkroege / edwood

Go version of Plan9 Acme Editor
Other
387 stars 34 forks source link

Use a mock Display instance in Fsys testing #455

Closed rjkroege closed 2 years ago

rjkroege commented 2 years ago

The Fsys tests launch an Edwood instance and then connect to it via the 9p protocol. Previously this Edwood instance required a real display, devdraw, window server, etc. This CL modifies the startup logic to let this Edwood instance instead use a mock Display instance.

codecov[bot] commented 2 years ago

Codecov Report

Merging #455 (bbd7866) into master (f690af9) will increase coverage by 0.00%. The diff coverage is 0.00%.

@@           Coverage Diff           @@
##           master     #455   +/-   ##
=======================================
  Coverage   58.04%   58.05%           
=======================================
  Files          54       54           
  Lines       10688    10687    -1     
=======================================
  Hits         6204     6204           
+ Misses       4048     4047    -1     
  Partials      436      436           
Impacted Files Coverage Δ
acme.go 28.57% <0.00%> (+0.07%) :arrow_up:
wind.go 75.16% <ø> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us.