~brandontschaefer/unity/move-window-buttons-unity-shared

Viewing all changes in revision 3073.

  • Committer: Tarmac
  • Author(s): Łukasz 'sil2100' Zemczak
  • Date: 2013-01-25 15:26:04 UTC
  • mfrom: (3069.3.2 unity)
  • Revision ID: tarmac-20130125152604-r1xocsjf3goqezrk
Fix the files lens preview test for the dash in case of a clean system. On a *really* clean system with no mountable partitions available or usage-history, the files lens can be empty. In case of the music lens, we skip the test when this happens since there's no easy and clean way to do it otherwise. Here, for the files lens, we can create a temporary file and open it to add some history. This way, we make sure it won't fail and that the behavior is tested.
And in case of the video lens - when there are no videos or categories present, let's not fail but just skip the test - as in case of the music lens.

Approved by Didier Roche.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: