I have made the following changes intended for :
  CE:MW:Shared / libcommhistory

Please review and accept or decline.
BOSS has already run some checks on this request.
See the "Messages from BOSS" section below.

https://build.pub.meego.com//request/show/7821

Thank You,
kontio

[This message was auto-generated]

---

Request # 7821:

Messages from BOSS:

State: review at 2013-02-07T12:48:21 by bossbot

Reviews:
       accepted by bossbot : Prechecks succeeded.
       new for CE-maintainers : Please replace this text with a review and 
approve/reject the review (not the SR). BOSS will take care of the rest

Changes:
  submit: home:kontio:commhistory / libcommhistory -> CE:MW:Shared / 
libcommhistory
  
changes files:
--------------
--- libcommhistory.changes
+++ libcommhistory.changes
@@ -0,0 +1,3 @@
+* Thu Feb  7 2013 Reto Zingg <[email protected]> - 1.4.8
+- add -tests packages which can be used for automated testing
+

old:
----
  libcommhistory-1.4.7.tar.bz2

new:
----
  libcommhistory-1.4.8.tar.bz2

spec files:
-----------
--- libcommhistory.spec
+++ libcommhistory.spec
@@ -1,6 +1,6 @@
 Name:       libcommhistory
 Summary:    Communications event history database API
-Version:    1.4.7
+Version:    1.4.8
 Release:    1
 Group:      System/Libraries
 License:    LGPL
@@ -17,12 +17,19 @@
 %description
 Library for accessing the communications (IM, SMS and call) history database.
 
-#package tests
-#Summary: Unit Test files for libcommhistory
-#Group: Development/Libraries
+%package unit-tests
+Summary: Unit Test files for libcommhistory
+Group: Development/Libraries
+
+%description unit-tests
+Unit Test files for libcommhistory
+
+%package performance-tests
+Summary: Performance Test files for libcommhistory
+Group: Development/Libraries
 
-#description tests
-#Unit Test files for libcommhistory
+%description performance-tests
+Performance Test files for libcommhistory
 
 %package tools
 Summary: Command line tools for libcommhistory
@@ -89,10 +96,13 @@
 %defattr(-,root,root,-)
 %{_libdir}/qt4/imports/org/nemomobile/commhistory/*
 
-#files tests
-#defattr(-,root,root,-)
-%exclude %{_datadir}/libcommhistory-performance-tests/*
-%exclude %{_datadir}/libcommhistory-tests/*
+%files unit-tests
+%defattr(-,root,root,-)
+/opt/tests/libcommhistory-unit-tests/*
+
+%files performance-tests
+%defattr(-,root,root,-)
+/opt/tests/libcommhistory-performance-tests/*
 
 %files devel
 %defattr(-,root,root,-)

other changes:
--------------

++++++ libcommhistory-1.4.7.tar.bz2 -> libcommhistory-1.4.8.tar.bz2
--- declarative/src/groupproxymodel.cpp
+++ declarative/src/groupproxymodel.cpp
@@ -79,7 +79,7 @@
 
     if (role == WeekdaySectionRole) {
         Group g = model->group(mapToSource(idx));
-        QDateTime dateTime = g.endTime();
+        QDateTime dateTime = g.endTime().toLocalTime();
 
         // Return the date for the past week, and group all older items 
together under an
         // arbitrary older date
--- tests/perf_callmodel/test_set.xml
+++ tests/perf_callmodel/test_set.xml
@@ -1,6 +1,5 @@
 <set description="libcommhistory-performance-tests:perf_callmodel" 
name="perf_callmodel">
-                <case 
description="libcommhistory-performance-tests:perf_callmodel:" name="callmodel" 
level="Component" type="Performance" timeout="2500">
-                       <step expected_result="0">su -l user -c 
/usr/share/libcommhistory-performance-tests/perf_callmodel </step>
-                 </case>
-                 
<environments><scratchbox>true</scratchbox><hardware>true</hardware></environments>
+    <case description="libcommhistory-performance-tests:perf_callmodel:" 
name="callmodel" level="Component" type="Performance" timeout="2500">
+        <step 
expected_result="0">/opt/tests/libcommhistory-performance-tests/perf_callmodel</step>
+    </case>
 </set>
--- tests/perf_conversationmodel/test_set.xml
+++ tests/perf_conversationmodel/test_set.xml
@@ -1,6 +1,5 @@
 <set description="libcommhistory-performance-tests:perf_conversationmodel" 
name="perf_conversationmodel">
-                <case 
description="libcommhistory-performance-tests:perf_conversationmodel:" 
name="conversationmodel" level="Component" type="Performance" timeout="4000">
-                       <step expected_result="0">su -l user -c 
/usr/share/libcommhistory-performance-tests/perf_conversationmodel </step>
-                 </case>
-                 
<environments><scratchbox>true</scratchbox><hardware>true</hardware></environments>
+    <case 
description="libcommhistory-performance-tests:perf_conversationmodel:" 
name="conversationmodel" level="Component" type="Performance" timeout="4000">
+        <step 
expected_result="0">/opt/tests/libcommhistory-performance-tests/perf_conversationmodel</step>
+    </case>
 </set>
--- tests/perf_groupmodel/test_set.xml
+++ tests/perf_groupmodel/test_set.xml
@@ -1,6 +1,5 @@
 <set description="libcommhistory-performance-tests:perf_groupmodel" 
name="perf_groupmodel">
-                <case 
description="libcommhistory-performance-tests:perf_groupmodel:" 
name="groupmodel" level="Component" type="Performance" timeout="3600">
-                       <step expected_result="0">su -l user -c 
/usr/share/libcommhistory-performance-tests/perf_groupmodel </step>
-                 </case>
-                 
<environments><scratchbox>true</scratchbox><hardware>true</hardware></environments>
+    <case description="libcommhistory-performance-tests:perf_groupmodel:" 
name="groupmodel" level="Component" type="Performance" timeout="3600">
+        <step 
expected_result="0">/opt/tests/libcommhistory-performance-tests/perf_groupmodel</step>
+    </case>
 </set>
--- tests/performance_tests.pri
+++ tests/performance_tests.pri
@@ -37,6 +37,6 @@
 !include( ../common-installs-config.pri ) : \
     error( "Unable to include common-installs-config.pri!" )
 # override default path for tests
-target.path = $${INSTALL_PREFIX}/share/libcommhistory-performance-tests
+target.path = /opt/tests/$${PROJECT_NAME}-performance-tests
 # End of File
 
--- tests/performance_tests.pro
+++ tests/performance_tests.pro
@@ -48,5 +48,5 @@
          error( "Unable to include common-installs-config.pri!" )
 perftests.files = $${OUT_PWD}/perf_bin/* \
                   run_all_performance_tests.sh
-perftests.path  = $${INSTALL_PREFIX}/share/$${PROJECT_NAME}-performance-tests
+perftests.path  = /opt/tests/$${PROJECT_NAME}-performance-tests
 INSTALLS += perftests
--- tests/tests.pri
+++ tests/tests.pri
@@ -34,6 +34,6 @@
 !include( ../common-installs-config.pri ) : \
     error( "Unable to include common-installs-config.pri!" )
 # override default path for tests
-target.path = $${INSTALL_PREFIX}/share/libcommhistory-tests
+target.path = /opt/tests/$${PROJECT_NAME}-unit-tests
 # End of File
 
--- tests/unit_tests.pro
+++ tests/unit_tests.pro
@@ -59,5 +59,5 @@
 !include( ../common-installs-config.pri ) : \
          error( "Unable to include common-installs-config.pri!" )
 autotests.files = $${OUT_PWD}/bin/*
-autotests.path  = $${INSTALL_PREFIX}/share/$${PROJECT_NAME}-tests
+autotests.path  = /opt/tests/$${PROJECT_NAME}-unit-tests
 INSTALLS += autotests
--- tests/ut_callmodel/test_set.xml
+++ tests/ut_callmodel/test_set.xml
@@ -1,6 +1,5 @@
 <set description="libcommhistory-tests:ut_callmodel" name="ut_callmodel">
-                <case description="libcommhistory-tests:ut_callmodel:" 
name="callmodel" level="Component" type="Functional">
-                       <step expected_result="0">su -l user -c 
/usr/share/libcommhistory-tests/ut_callmodel</step>
-                 </case>
-                 
<environments><scratchbox>true</scratchbox><hardware>true</hardware></environments>
+    <case description="libcommhistory-tests:ut_callmodel:" name="callmodel" 
level="Component" type="Functional">
+        <step 
expected_result="0">/opt/tests/libcommhistory-unit-tests/ut_callmodel</step>
+    </case>
 </set>
--- tests/ut_classzerosmsmodel/test_set.xml
+++ tests/ut_classzerosmsmodel/test_set.xml
@@ -1,6 +1,5 @@
 <set description="libcommhistory-tests:ut_classzerosmsmodel" 
name="ut_classzerosmssmodel">
-                <case description="libcommhistory-tests:ut_classzerosmsmodel:" 
name="classzerosmsmodel" level="Component" type="Functional">
-                       <step expected_result="0">su -l user -c 
/usr/share/libcommhistory-tests/ut_classzerosmsmodel </step>
-                 </case>
-                 
<environments><scratchbox>true</scratchbox><hardware>true</hardware></environments>
+    <case description="libcommhistory-tests:ut_classzerosmsmodel:" 
name="classzerosmsmodel" level="Component" type="Functional">
+        <step 
expected_result="0">/opt/tests/libcommhistory-unit-tests/ut_classzerosmsmodel</step>
+    </case>
 </set>
--- tests/ut_conversationmodel/test_set.xml
+++ tests/ut_conversationmodel/test_set.xml
@@ -1,6 +1,5 @@
 <set description="libcommhistory-tests:ut_conversationmodel" 
name="ut_conversationmodel">
-                <case description="libcommhistory-tests:ut_conversationmodel:" 
name="conversationmodel" level="Component" type="Functional">
-                       <step expected_result="0">su -l user -c 
/usr/share/libcommhistory-tests/ut_conversationmodel </step>
-                 </case>
-                 
<environments><scratchbox>true</scratchbox><hardware>true</hardware></environments>
+    <case description="libcommhistory-tests:ut_conversationmodel:" 
name="conversationmodel" level="Component" type="Functional">
+        <step 
expected_result="0">/opt/tests/libcommhistory-unit-tests/ut_conversationmodel</step>
+    </case>
 </set>
--- tests/ut_draftmodel/test_set.xml
+++ tests/ut_draftmodel/test_set.xml
@@ -1,6 +1,5 @@
 <set description="libcommhistory-tests:ut_draftmodel" name="ut_draftmodel">
-                <case description="libcommhistory-tests:ut_draftmodel:" 
name="draftmodel" level="Component" type="Functional">
-                       <step expected_result="0">su -l user -c 
/usr/share/libcommhistory-tests/ut_draftmodel </step>
-                 </case>
-                 
<environments><scratchbox>true</scratchbox><hardware>true</hardware></environments>
+    <case description="libcommhistory-tests:ut_draftmodel:" name="draftmodel" 
level="Component" type="Functional">
+        <step 
expected_result="0">/opt/tests/libcommhistory-unit-tests/ut_draftmodel</step>
+    </case>
 </set>
--- tests/ut_eventmodel/test_set.xml
+++ tests/ut_eventmodel/test_set.xml
@@ -1,6 +1,5 @@
 <set description="libcommhistory-tests:ut_eventmodel" name="ut_eventmodel">
     <case description="libcommhistory-tests:ut_eventmodel:" name="eventmodel" 
level="Component" type="Functional" insignificant="true">
-        <step expected_result="0">su -l user -c 
/usr/share/libcommhistory-tests/ut_eventmodel</step>
+        <step 
expected_result="0">/opt/tests/libcommhistory-unit-tests/ut_eventmodel</step>
     </case>
-    
<environments><scratchbox>true</scratchbox><hardware>true</hardware></environments>
 </set>
--- tests/ut_eventsquery/test_set.xml
+++ tests/ut_eventsquery/test_set.xml
@@ -1,6 +1,5 @@
 <set description="libcommhistory-tests:ut_eventsquery" name="ut_eventsquery">
     <case description="libcommhistory-tests:ut_eventsquery:" 
name="eventsquery" level="Component" type="Functional">
-        <step expected_result="0">su -l user -c 
/usr/share/libcommhistory-tests/ut_eventsquery</step>
+        <step 
expected_result="0">/opt/tests/libcommhistory-unit-tests/ut_eventsquery</step>
     </case>
-    
<environments><scratchbox>true</scratchbox><hardware>true</hardware></environments>
 </set>
--- tests/ut_groupmodel/test_set.xml
+++ tests/ut_groupmodel/test_set.xml
@@ -1,6 +1,5 @@
 <set description="libcommhistory-tests:ut_groupmodel" name="ut_groupmodel">
-                <case description="libcommhistory-tests:ut_groupmodel:" 
name="groupmodel" level="Component" type="Functional" timeout="180">
-                       <step expected_result="0">su -l user -c 
"/usr/share/libcommhistory-tests/ut_groupmodel -maxwarnings 10000"</step>
-                 </case>
-                 
<environments><scratchbox>true</scratchbox><hardware>true</hardware></environments>
+    <case description="libcommhistory-tests:ut_groupmodel:" name="groupmodel" 
level="Component" type="Functional" timeout="180">
+        <step 
expected_result="0">/opt/tests/libcommhistory-unit-tests/ut_groupmodel 
-maxwarnings 10000</step>
+    </case>
 </set>
--- tests/ut_outboxmodel/test_set.xml
+++ tests/ut_outboxmodel/test_set.xml
@@ -1,6 +1,5 @@
 <set description="libcommhistory-tests:ut_outboxmodel" name="ut_outboxmodel">
-                <case description="libcommhistory-tests:ut_outboxmodel:" 
name="outboxmodel" level="Component" type="Functional">
-                       <step expected_result="0">su -l user -c 
/usr/share/libcommhistory-tests/ut_outboxmodel </step>
-                 </case>
-                 
<environments><scratchbox>true</scratchbox><hardware>true</hardware></environments>
+    <case description="libcommhistory-tests:ut_outboxmodel:" 
name="outboxmodel" level="Component" type="Functional">
+        <step 
expected_result="0">/opt/tests/libcommhistory-unit-tests/ut_outboxmodel</step>
+    </case>
 </set>
--- tests/ut_singleeventmodel/test_set.xml
+++ tests/ut_singleeventmodel/test_set.xml
@@ -1,6 +1,5 @@
 <set description="libcommhistory-tests:ut_singleeventmodel" 
name="ut_singleeventmodel">
     <case description="libcommhistory-tests:ut_singleeventmodel:" 
name="singleeventmodel" level="Component" type="Functional">
-        <step expected_result="0">su -l user -c 
/usr/share/libcommhistory-tests/ut_singleeventmodel</step>
+        <step 
expected_result="0">/opt/tests/libcommhistory-unit-tests/ut_singleeventmodel</step>
     </case>
-    
<environments><scratchbox>true</scratchbox><hardware>true</hardware></environments>
 </set>
--- tests/ut_smsinboxmodel/test_set.xml
+++ tests/ut_smsinboxmodel/test_set.xml
@@ -1,6 +1,5 @@
 <set description="libcommhistory-tests:ut_smsinboxmodel" 
name="ut_smsinboxmodel">
-                <case description="libcommhistory-tests:ut_smsinboxmodel:" 
name="smsinboxmodel" level="Component" type="Functional">
-                       <step expected_result="0">su -l user -c 
/usr/share/libcommhistory-tests/ut_smsinboxmodel </step>
-                 </case>
-                 
<environments><scratchbox>true</scratchbox><hardware>true</hardware></environments>
+    <case description="libcommhistory-tests:ut_smsinboxmodel:" 
name="smsinboxmodel" level="Component" type="Functional">
+        <step 
expected_result="0">/opt/tests/libcommhistory-unit-tests/ut_smsinboxmodel</step>
+    </case>
 </set>
--- tests/ut_syncmodel/test_set.xml
+++ tests/ut_syncmodel/test_set.xml
@@ -1,6 +1,5 @@
 <set description="libcommhistory-tests:ut_syncmodel" name="ut_syncmodel">
-                <case description="libcommhistory-tests:ut_syncmodel:" 
name="syncmodel" level="Component" type="Functional">
-                       <step expected_result="0">su -l user -c 
/usr/share/libcommhistory-tests/ut_syncmodel </step>
-                 </case>
-                 
<environments><scratchbox>true</scratchbox><hardware>true</hardware></environments>
+    <case description="libcommhistory-tests:ut_syncmodel:" name="syncmodel" 
level="Component" type="Functional">
+        <step 
expected_result="0">/opt/tests/libcommhistory-unit-tests/ut_syncmodel</step>
+    </case>
 </set>
--- tests/ut_unreadeventsmodel/test_set.xml
+++ tests/ut_unreadeventsmodel/test_set.xml
@@ -1,6 +1,5 @@
 <set description="libcommhistory-tests:ut_unreadeventsmodel" 
name="ut_unreadeventsmodel">
-                <case description="libcommhistory-tests:ut_unreadeventsmodel:" 
name="unreadeventsmodel" level="Component" type="Functional">
-                       <step expected_result="0">su -l user -c 
/usr/share/libcommhistory-tests/ut_unreadeventsmodel </step>
-                 </case>
-                 
<environments><scratchbox>true</scratchbox><hardware>true</hardware></environments>
+    <case description="libcommhistory-tests:ut_unreadeventsmodel:" 
name="unreadeventsmodel" level="Component" type="Functional">
+        <step 
expected_result="0">/opt/tests/libcommhistory-unit-tests/ut_unreadeventsmodel</step>
+    </case>
 </set>



Reply via email to