• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

NeoVintageous / NeoVintageous / 328 / 2
92%
master: 92%

Build:
Build:
LAST BUILD BRANCH: HEAD
DEFAULT BRANCH: master
Ran 28 Apr 2018 01:41PM UTC
Files 43
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

28 Apr 2018 01:10PM UTC coverage: 59.947% (-0.008%) from 59.955%
SUBLIME_TEXT_VERSION="3"

push

travis-ci

gerardroche
Fix default mode assertions can sometimes fail

Apparently it can fail on the CI servers aswell as local development
machines, though at the time of writing I wasn't able to reproduce the
issue on the CI servers.

The issue:

The default mode is UNKNOWN. The event listener on_activated event
initialises views and part of that initialisation is to set the
default mode to NORMAL.

An issue arises when the Sublime Text window doesn't have focus e.g.
start a test run, then quickly move the focus to another application
while the tests are run.

When ST doesn't have focus it doesn't fire the on_activated event. I
assume it's expected ST behaviour e.g. maybe because the when you move
focus away from ST is fires the on_deactivate event on the active
view.

When the on_activated event is NOT fired for the test view then the
mode will stay in an UNKNOWN state, but when it's fired it is set to
a NORMAL state.

Fixes #129

6973 of 11632 relevant lines covered (59.95%)

0.6 hits per line

Source Files on job 328.2 (SUBLIME_TEXT_VERSION="3")
  • Tree
  • List 0
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 254
  • Travis Job 328.2
  • fa652e4b on github
  • Prev Job for SUBLIME_TEXT_VERSION="3" on develop (#324.3)
  • Next Job for SUBLIME_TEXT_VERSION="3" on develop (#329.3)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc