diff options
author | Daniel Teske <daniel.teske@nokia.com> | 2012-04-13 13:22:35 +0200 |
---|---|---|
committer | hjk <qthjk@ovi.com> | 2012-04-15 20:34:06 +0200 |
commit | 9589e8dd7c92daa976c6d3a8a6750ddf83b12b7d (patch) | |
tree | 657d59c52d18b7ddd12f51b8120152347c28955a /tests | |
parent | 766d19aba9c0074aeaaf1ad3e5d3d03938104555 (diff) |
Debugger simple test case: Move BREAK_HERE
The manual tests can't be followed otherwise
Change-Id: I09f0b99a63bd5189dcd0dc74c53e310d78f0b083
Reviewed-by: hjk <qthjk@ovi.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/manual/debugger/simple/simple_test_app.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/manual/debugger/simple/simple_test_app.cpp b/tests/manual/debugger/simple/simple_test_app.cpp index dda33f41ba..1da44079be 100644 --- a/tests/manual/debugger/simple/simple_test_app.cpp +++ b/tests/manual/debugger/simple/simple_test_app.cpp @@ -394,8 +394,6 @@ namespace peekandpoke { void testComplexWatchers() { struct S { int a; double b; } s[10]; - for (int i = 0; i != 10; ++i) - s[i].a = i; BREAK_HERE; // Expand s and s[0]. // CheckType s peekandpoke::S [10]. @@ -405,6 +403,9 @@ namespace peekandpoke { // Manual: Type ['s[%d].a' % i for i in range(5)] // Manual: Expand it, continue stepping. This should result in a list // Manual: of five items containing the .a fields of s[0]..s[4]. + for (int i = 0; i != 10; ++i) + s[i].a = i; + dummyStatement(&s); } |