status int64 -1 100 | input_prompt_generate_unittest stringlengths 1.6k 375k | test_driver stringlengths 819 65.5k |
|---|---|---|
-1 | Generate QTest unit test for function: MainWindow::goToMain
===== RAW CODE ANALYSIS (parse this carefully) =====
<think>The user wants me to extract the function `MainWindow::goToMain` from the project at `/opt/project/data/Qt360`.
According to the instructions, I need to:
1. First call `solve_private_method` to mak... | // 1. Qt & test headers (always needed)
#include <QtTest/QtTest>
#include <QObject>
#include <QApplication>
#include <QTimer>
// 2. Qt module headers
#include <QStackedWidget>
#include <QParallelAnimationGroup>
#include <QPropertyAnimation>
#include <QWidget>
// 3. EXPOSE private/protected members — place BEFORE any ... |
100 | "Generate QTest unit test for function: MainWindow::goToClean\n\n===== RAW CODE ANALYSIS (parse this(...TRUNCATED) | "// Qt & test headers\n#include <QtTest/QtTest>\n#include <QObject>\n#include <QApplication>\n#inclu(...TRUNCATED) |
-1 | "Generate QTest unit test for function: NumAnimWidget::NumAnimWidget\n\n===== RAW CODE ANALYSIS (par(...TRUNCATED) | "// 1. Qt & test headers (always needed)\n#include <QtTest/QtTest>\n#include <QObject>\n#include <QA(...TRUNCATED) |
100 | "Generate QTest unit test for function: CleanDynamicButtonWidget::enterEvent\n\n===== RAW CODE ANALY(...TRUNCATED) | "// 1. Qt & test headers (always needed)\n#include <QtTest/QtTest>\n#include <QObject>\n#include <QA(...TRUNCATED) |
-1 | "Generate QTest unit test for function: SafeButtonWidget::leaveEvent\n\n===== RAW CODE ANALYSIS (par(...TRUNCATED) | "#include <QtTest/QtTest>\n#include <QObject>\n#include <QApplication>\n#include <QTimer>\n#include (...TRUNCATED) |
-1 | "Generate QTest unit test for function: ScoreWidget::paintEvent\n\n===== RAW CODE ANALYSIS (parse th(...TRUNCATED) | "#include <QtTest/QtTest>\n#include <QObject>\n#include <QApplication>\n#include <QTimer>\n#include (...TRUNCATED) |
-1 | "Generate QTest unit test for function: OpacityWidget::paintEvent\n\n===== RAW CODE ANALYSIS (parse (...TRUNCATED) | "#include <QtTest/QtTest>\n#include <QObject>\n#include <QApplication>\n#include <QTimer>\n#include (...TRUNCATED) |
-1 | "Generate QTest unit test for function: SafeButtonWidget::setAnimInfo\n\n===== RAW CODE ANALYSIS (pa(...TRUNCATED) | "#include <QtTest/QtTest>\n#include <QObject>\n#include <QApplication>\n#include <QTimer>\n#include (...TRUNCATED) |
-1 | "Generate QTest unit test for function: Game::soundDisable\n\n===== RAW CODE ANALYSIS (parse this ca(...TRUNCATED) | "// 1. Qt & test headers (always needed)\n#include <QtTest/QtTest>\n#include <QObject>\n#include <QA(...TRUNCATED) |
100 | "Generate QTest unit test for function: Physics::movePipes\n\n===== RAW CODE ANALYSIS (parse this ca(...TRUNCATED) | "// Test file for Physics::movePipes\n// This test file covers all branches in the movePipes functio(...TRUNCATED) |
End of preview. Expand in Data Studio
README.md exists but content is empty.
- Downloads last month
- 8