[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kcwsh] tests: add a scroll test application
From:       Patrick Spendrin <ps_ml () gmx ! de>
Date:       2014-06-30 21:14:35
Message-ID: E1X1iuJ-0005t9-Kg () scm ! kde ! org
[Download RAW message or body]

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 which 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 <iostream>
+
+int main(int argc, char**argv) {
+    for(int i = 0; i < 300; i++) std::cout << "line: " << i << std::endl;
+    return 0;
+}
\ No newline at end of file


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic