<commit_before>#include <stdlib.h>
#include <QtGui/QApplication>
#include <Log.h>
#include <QInputEventRecorderCmd.h>
#include "AniEditMainWin.h"
using namespace UTILITY;

#ifdef WIN32
const string TEST_UI_INIF= "D:\\lsw\\AnimationEditor\\TestCase\\TestData\\ani_ui_test_windows.ini";
#else
const string TEST_UI_INIF= "/home/simba/Workspace/AnimationEditor/TestCase/TestData/ani_ui_test.ini";
#endif

int main(int argc, char *argv[]){

  QApplication application(argc,argv);
  QMainWindow w;
  ANI_EDIT_UI::AniEditMainWin m_mainw("",&w);

  // auto record and replay
  pQInputEventRecorderCmd recorder;
  if(argc >= 2){
	recorder = pQInputEventRecorderCmd(new QInputEventRecorderCmd(&w));
	if (2 == argc)
	  recorder->setCmd(argv[argc-1]);
	else if(2 == argc)
	  recorder->setCmd(argv[argc-2],argv[argc-1]);
  }
<commit_msg>fixed one bug in main_UITest.<commit_after>#include <stdlib.h>
#include <QtGui/QApplication>
#include <Log.h>
#include <QInputEventRecorderCmd.h>
#include "AniEditMainWin.h"
using namespace UTILITY;

#ifdef WIN32
const string TEST_UI_INIF= "D:\\lsw\\AnimationEditor\\TestCase\\TestData\\ani_ui_test_windows.ini";
#else
const string TEST_UI_INIF= "/home/simba/Workspace/AnimationEditor/TestCase/TestData/ani_ui_test.ini";
#endif

int main(int argc, char *argv[]){

  QApplication application(argc,argv);
  QMainWindow w;
  ANI_EDIT_UI::AniEditMainWin m_mainw("",&w);

  // auto record and replay
  pQInputEventRecorderCmd recorder;
  if(argc >= 2){
	recorder = pQInputEventRecorderCmd(new QInputEventRecorderCmd(&w));
	if (2 == argc)
	  recorder->setCmd(argv[argc-1]);
	else if(3 == argc)
	  recorder->setCmd(argv[argc-2],argv[argc-1]);
  }

{'fraction_non_alphanumeric': 0.14483173076923078, 'fraction_numerical': 0.009615384615384616, 'mean_word_length': 5.823770491803279, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 17, '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': '2720709', 'n_tokens_mistral': 633, 'n_tokens_neox': 621, 'n_words': 114}