darcs

Patch 496 patch test harness: break out some utili... (and 10 more)

Title patch test harness: break out some utili... (and 10 more)
Superseder Nosy List ganesh
Related Issues
Status accepted Assigned To
Milestone

Created on 2010-12-03.22:23:00 by ganesh, last changed 2011-05-10.18:05:38 by darcswatch. Tracked on DarcsWatch.

Files
File name Status Uploaded Type Edit Remove
patch-test-harness_-break-out-some-utility-code.dpatch ganesh, 2010-12-03.22:22:59 text/x-darcs-patch
unnamed ganesh, 2010-12-03.22:22:59
See mailing list archives for discussion on individual patches.
Messages
msg13284 (view) Author: ganesh Date: 2010-12-03.22:22:59
Some refactoring of the test harness.
It's still a bit messy but I'm gradually trying to move towards
a point where it's all coherently organised and suitably general.

11 patches for repository http://darcs.net/screened:

Wed Nov 24 18:47:50 GMT 2010  Ganesh Sittampalam <ganesh@earth.li>
  * patch test harness: break out some utility code

Thu Nov 25 06:51:58 GMT 2010  Ganesh Sittampalam <ganesh@earth.li>
  * delete some commented out stuff

Thu Nov 25 07:09:02 GMT 2010  Ganesh Sittampalam <ganesh@earth.li>
  * remove unneeded warning flag

Thu Nov 25 07:13:56 GMT 2010  Ganesh Sittampalam <ganesh@earth.li>
  * delete unused utility function

Thu Nov 25 07:16:08 GMT 2010  Ganesh Sittampalam <ganesh@earth.li>
  * delete unused and not very useful looking testcase

Thu Nov 25 07:31:09 GMT 2010  Ganesh Sittampalam <ganesh@earth.li>
  * move properties out of Darcs.Test.Patch.Test

Thu Nov 25 07:54:42 GMT 2010  Ganesh Sittampalam <ganesh@earth.li>
  * reorganise top-level test list

Thu Nov 25 18:08:42 GMT 2010  Ganesh Sittampalam <ganesh@earth.li>
  * put property test list along with tests

Thu Nov 25 18:15:16 GMT 2010  Ganesh Sittampalam <ganesh@earth.li>
  * break test cases out of Darcs.Test.Patch

Thu Nov 25 18:23:01 GMT 2010  Ganesh Sittampalam <ganesh@earth.li>
  * decouple Unit and Unit2

Thu Nov 25 19:23:33 GMT 2010  Ganesh Sittampalam <ganesh@earth.li>
  * break examples out of Darcs.Test.Patch.QuickCheck
Attachments
msg13362 (view) Author: darcswatch Date: 2010-12-16.17:08:29
This patch bundle (with 11 patches) was just applied to the repository http://darcs.net/screened.
This message was brought to you by DarcsWatch
http://darcswatch.nomeata.de/repo_http:__darcs.net_screened.html#bundle-5b249beedb5d0a1f1f430ba599d60b52a15469f7
msg13650 (view) Author: gh Date: 2011-02-07.20:05:24
Wed Nov 24 19:47:50 CET 2010  Ganesh Sittampalam <ganesh@earth.li>
      * patch test harness: break out some utility code
    
Create Darcs.Test.Patch.Utils and move in testConditional from
Darcs.Test.Patch.QuickCheck and testStringList from Darcs.Test.Patch .





Thu Nov 25 06:51:58 GMT 2010  Ganesh Sittampalam <ganesh@earth.li>
  * delete some commented out stuff

OK




Thu Nov 25 07:09:02 GMT 2010  Ganesh Sittampalam <ganesh@earth.li>
  * remove unneeded warning flag

OK





Thu Nov 25 07:13:56 GMT 2010  Ganesh Sittampalam <ganesh@earth.li>
  * delete unused utility function

Removes function quickmerge from Darcs.Test.Patch.Test (leaves module in
inconsistent state since quickmerge is still used inside it, but this is
fixed by next patch).




Thu Nov 25 07:16:08 GMT 2010  Ganesh Sittampalam <ganesh@earth.li>
  * delete unused and not very useful looking testcase

Can't tell if it is not vert useful, but it is indeed unused. OK.




Thu Nov 25 07:31:09 GMT 2010  Ganesh Sittampalam <ganesh@earth.li>
  * move properties out of Darcs.Test.Patch.Test

      * move properties out of Darcs.Test.Patch.Test
    
        M ./darcs.cabal +1
        M ./src/Darcs/Test/Patch.hs -2 +3
        A ./src/Darcs/Test/Patch/Properties2.hs
        M ./src/Darcs/Test/Patch/Test.hs -268 +7


Creates Darcs.Test.Patch.Properties2, moves QC functions from
Darcs.Test.Patch.Test to import Darcs.Test.Patch.Properties2. This only
affects imports in Darcs.Test.Patch.




Thu Nov 25 07:54:42 GMT 2010  Ganesh Sittampalam <ganesh@earth.li>
  * reorganise top-level test list

This makes function testSuite of Darcs.Test.Patch more readable.



Thu Nov 25 18:08:42 GMT 2010  Ganesh Sittampalam <ganesh@earth.li>
  * put property test list along with tests

Move patchPropertyTests function from ./src/Darcs/Test/Patch.hs to 
./src/Darcs/Test/Patch/Properties2.hs and add a TODO comment about tests
exported by Properties2 but not yet used.




Thu Nov 25 18:15:16 GMT 2010  Ganesh Sittampalam <ganesh@earth.li>
  * break test cases out of Darcs.Test.Patch

Introduce Darcs.Test.Patch.Examples, move functions testInfo,
patchExampleTests from Darcs.Test.Patch to the new module. This leaves
just the function testSuite in Darcs.Test.Patch.




Thu Nov 25 18:23:01 GMT 2010  Ganesh Sittampalam <ganesh@earth.li>
  * decouple Unit and Unit2

OK.




Thu Nov 25 19:23:33 GMT 2010  Ganesh Sittampalam <ganesh@earth.li>
  * break examples out of Darcs.Test.Patch.QuickCheck


Introduce Darcs.Test.Patch.Examples2, put there the biggest examples of
Darcs.Test.Patch.QuickCheck.

=========================

Compiles and test ok, pushing it.
msg13785 (view) Author: darcswatch Date: 2011-03-09.18:35:42
This patch bundle (with 11 patches) was just applied to the repository http://darcs.net/.
This message was brought to you by DarcsWatch
http://darcswatch.nomeata.de/repo_http:__darcs.net_.html#bundle-5b249beedb5d0a1f1f430ba599d60b52a15469f7
msg14082 (view) Author: darcswatch Date: 2011-05-10.18:05:38
This patch bundle (with 11 patches) was just applied to the repository http://darcs.net/reviewed.
This message was brought to you by DarcsWatch
http://darcswatch.nomeata.de/repo_http:__darcs.net_reviewed.html#bundle-5b249beedb5d0a1f1f430ba599d60b52a15469f7
History
Date User Action Args
2010-12-03 22:23:00ganeshcreate
2010-12-16 17:08:29darcswatchsetdarcswatchurl: http://darcswatch.nomeata.de/repo_http:__darcs.net_.html#bundle-5b249beedb5d0a1f1f430ba599d60b52a15469f7
2010-12-16 17:08:29darcswatchsetmessages: + msg13362
2011-02-07 20:05:25ghsetstatus: needs-review -> accepted
messages: + msg13650
2011-03-09 18:35:42darcswatchsetmessages: + msg13785
2011-05-10 18:05:38darcswatchsetmessages: + msg14082