From kde-commits Mon Jun 30 21:14:35 2014 From: Patrick Spendrin Date: Mon, 30 Jun 2014 21:14:35 +0000 To: kde-commits Subject: [kcwsh] tests: add a scroll test application Message-Id: X-MARC-Message: https://marc.info/?l=kde-commits&m=140416288415597 Git commit 47d58cfc617790d0259859da2b10351d685afdef by Patrick Spendrin. Committed on 30/06/2014 at 20:34. Pushed by sengels into branch 'master'. add a scroll test application M +2 -0 tests/CMakeLists.txt A +6 -0 tests/scrolltester.cpp [License: UNKNOWN] * The files marked with a * at the end have a non valid license. Please read:= http://techbase.kde.org/Policies/Licensing_Policy and use the headers whic= h are listed at that page. http://commits.kde.org/kcwsh/47d58cfc617790d0259859da2b10351d685afdef diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index dfd0faf..2a7924f 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -2,6 +2,8 @@ include_directories(${CMAKE_SOURCE_DIR}) = set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}) = +add_executable(scrolltester scrolltester.cpp) + add_executable(terminaltest terminaltest.cpp) target_link_libraries(terminaltest kcwsh) add_test(NAME simpletest COMMAND terminaltest echo) diff --git a/tests/scrolltester.cpp b/tests/scrolltester.cpp new file mode 100644 index 0000000..245e8b0 --- /dev/null +++ b/tests/scrolltester.cpp @@ -0,0 +1,6 @@ +#include + +int main(int argc, char**argv) { + for(int i =3D 0; i < 300; i++) std::cout << "line: " << i << std::endl; + return 0; +} \ No newline at end of file