<commit_before>/****************************************************************************
**
** Copyright(C) 2010 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation(<EMAIL>)
**
** This file is part of systemui.
**
** If you have questions regarding the use of this file, please contact
** Nokia at <EMAIL>.
**
** This library is free software; you can redistribute it and/or
** modify it under the terms of the GNU Lesser General Public
** License version 2.1 as published by the Free Software Foundation
** and appearing in the file LICENSE.LGPL included in the packaging
** of this file.
**
****************************************************************************/

#include <QtTest/QtTest>
#include <QX11Info>
#include <MApplication>
#include <MWindow>
#include <X11/Xlib.h>
#include <X11/Xatom.h>
#include "ft_mwindow.h"

void Ft_MWindow::initTestCase()
{
    int argc = 1;
    char *argv[] = {(char *) "./ft_mwindow", NULL };
    app = new MApplication(argc, argv);
}

void Ft_MWindow::cleanupTestCase()
{
    delete app;
}

void Ft_MWindow::init()
{
    window = new MWindow;<commit_msg>Fixes: Ft_MWindow functional test<commit_after>/****************************************************************************
**
** Copyright(C) 2010 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation(<EMAIL>)
**
** This file is part of systemui.
**
** If you have questions regarding the use of this file, please contact
** Nokia at <EMAIL>.
**
** This library is free software; you can redistribute it and/or
** modify it under the terms of the GNU Lesser General Public
** License version 2.1 as published by the Free Software Foundation
** and appearing in the file LICENSE.LGPL included in the packaging
** of this file.
**
****************************************************************************/

#include <QtTest/QtTest>
#include <QX11Info>
#include <MApplication>
#include <MWindow>
#include <X11/Xlib.h>
#include <X11/Xatom.h>
#include "ft_mwindow.h"

void Ft_MWindow::initTestCase()
{
    static int argc = 1;
    static char *argv[] = {(char *) "./ft_mwindow", NULL };
    app = new MApplication(argc, argv);
}

void Ft_MWindow::cleanupTestCase()
{
    delete app;
}

void Ft_MWindow::init()
{
    window = new MWindow;
{'fraction_non_alphanumeric': 0.24121679520137104, 'fraction_numerical': 0.011139674378748929, 'mean_word_length': 5.144736842105263, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, 'https://': 0, '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': '5373069', 'n_tokens_mistral': 698, 'n_tokens_neox': 642, 'n_words': 236}