1. 15 May, 2013 2 commits
    • Helga Velroyen's avatar
      Annotate every arbitrary instance field · 6b168d4a
      Helga Velroyen authored
      
      
      The Arbitrary instance of the 'Instance' object is written
      using the <*> syntax. Since it often uses the 'arbitrary'
      generator for the instance's fields it is hard to figure
      out which 'arbitrary' fills which instance field. This
      patch annotates all fields with their name to make
      maintenance of this code easier.
      Signed-off-by: default avatarHelga Velroyen <helgav@google.com>
      Reviewed-by: default avatarKlaus Aehlig <aehlig@google.com>
      6b168d4a
    • Helga Velroyen's avatar
      Generators for disks · d9b681ea
      Helga Velroyen authored
      
      
      This patch adds generators for Disk instances to the Haskell
      test code. It uses somewhat more reasonable generators to
      fill the fields instead of just arbitrary values.
      'genDiskWithChildren' is a generator that generates a disk
      with a specified number of disk children. To avoid shooting
      ourselves in the foot we do not generate further (grand)
      child disks for the child disks. 'genDisk' calls
      'genDiskWithChildren' by requesting three children as a
      resonable default.
      Signed-off-by: default avatarHelga Velroyen <helgav@google.com>
      Reviewed-by: default avatarKlaus Aehlig <aehlig@google.com>
      d9b681ea
  2. 14 May, 2013 4 commits
  3. 13 May, 2013 1 commit
  4. 10 May, 2013 2 commits
  5. 08 May, 2013 1 commit
  6. 07 May, 2013 1 commit
  7. 05 May, 2013 1 commit
  8. 03 May, 2013 4 commits
  9. 02 May, 2013 9 commits
  10. 01 May, 2013 1 commit
  11. 30 Apr, 2013 14 commits