From 87ec0e36ea0a07654c9dd9627f411286bbd883fe Mon Sep 17 00:00:00 2001 From: Alex Amadori Date: Sat, 18 Feb 2017 16:45:46 +0100 Subject: [PATCH] Complying with rule "Instance fields (private)" --- .../Tests/TestCasePlaySongSelect.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/osu.Desktop.VisualTests/Tests/TestCasePlaySongSelect.cs b/osu.Desktop.VisualTests/Tests/TestCasePlaySongSelect.cs index e0e5b2cc82..52b78267d6 100644 --- a/osu.Desktop.VisualTests/Tests/TestCasePlaySongSelect.cs +++ b/osu.Desktop.VisualTests/Tests/TestCasePlaySongSelect.cs @@ -16,7 +16,7 @@ namespace osu.Desktop.VisualTests.Tests private BeatmapDatabase db, oldDb; private TestStorage storage; private Random rnd = new Random(); - private PlaySongSelect SongSelect; + private PlaySongSelect songSelect; public override string Name => @"Song Select"; public override string Description => @"with fake data"; @@ -44,11 +44,11 @@ namespace osu.Desktop.VisualTests.Tests db.Import(sets); } - Add(SongSelect = new PlaySongSelect()); - OnArtist = () => { SongSelect.Filter.Sort = FilterControl.SortMode.Artist; }; - OnTitle = () => { SongSelect.Filter.Sort = FilterControl.SortMode.Title; }; - OnAuthor = () => { SongSelect.Filter.Sort = FilterControl.SortMode.Author; }; - OnDifficulty = () => { SongSelect.Filter.Sort = FilterControl.SortMode.Difficulty; }; + Add(songSelect = new PlaySongSelect()); + OnArtist = () => { songSelect.Filter.Sort = FilterControl.SortMode.Artist; }; + OnTitle = () => { songSelect.Filter.Sort = FilterControl.SortMode.Title; }; + OnAuthor = () => { songSelect.Filter.Sort = FilterControl.SortMode.Author; }; + OnDifficulty = () => { songSelect.Filter.Sort = FilterControl.SortMode.Difficulty; }; AddButton(@"Sort by Artist", OnArtist); AddButton(@"Sort by Title", OnTitle);