<commit_before>﻿// Copyright (c) 2007-2017 ppy Pty Ltd <<EMAIL>>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE

using osu.Framework.Testing;
using osu.Game;

namespace osu.Desktop.VisualTests
{
    public class AutomatedVisualTestGame : OsuGameBase
    {
        public AutomatedVisualTestGame()
        {
            Add(new TestRunner(new TestBrowser()));
        }
    }
}<commit_msg>Fix nullref.<commit_after>﻿// Copyright (c) 2007-2017 ppy Pty Ltd <<EMAIL>>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE

using osu.Framework.Testing;
using osu.Game;

namespace osu.Desktop.VisualTests
{
    public class AutomatedVisualTestGame : OsuGameBase
    {
        protected override void LoadComplete()
        {
            base.LoadComplete();

            // Have to construct this here, rather than in the constructor, because
            // we depend on some dependencies to be loaded within OsuGameBase.load().
            Add(new TestRunner(new TestBrowser()));
        }
    }
}
{'fraction_non_alphanumeric': 0.10472659870250231, 'fraction_numerical': 0.014828544949026877, 'mean_word_length': 2.7630662020905925, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3625860', 'n_tokens_mistral': 329, 'n_tokens_neox': 310, 'n_words': 83}