You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

shouldGetByHash.xml 2.2KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <dataset>
  2. <snapshots id="1" status="P" islast="false" project_id="0" />
  3. <snapshots id="2" status="P" islast="false" project_id="1" />
  4. <projects id="1" kee="bar-old" enabled="true" scope="FIL" qualifier="CLA" />
  5. <snapshots id="3" status="P" islast="true" />
  6. <snapshots id="4" status="P" islast="true" project_id="2" />
  7. <projects id="2" kee="bar-last" enabled="true" scope="FIL" qualifier="CLA" />
  8. <snapshots id="5" status="P" islast="false" />
  9. <snapshots id="6" status="P" islast="false" project_id="3" />
  10. <projects id="3" kee="foo-old" enabled="true" scope="FIL" qualifier="CLA" />
  11. <snapshots id="7" status="P" islast="true" />
  12. <snapshots id="8" status="P" islast="true" project_id="4" />
  13. <projects id="4" kee="foo-last" enabled="true" scope="FIL" qualifier="CLA" />
  14. <snapshots id="9" status="U" islast="false" />
  15. <snapshots id="10" status="U" islast="false" project_id="5" />
  16. <projects id="5" kee="foo" enabled="true" scope="FIL" qualifier="CLA" />
  17. <!-- Old snapshot of another project -->
  18. <!-- bar-old -->
  19. <duplications_index id="1" project_snapshot_id="1" snapshot_id="2" hash="bb" index_in_file="0" start_line="0" end_line="0" />
  20. <!-- Last snapshot of another project -->
  21. <!-- bar-last -->
  22. <duplications_index id="2" project_snapshot_id="3" snapshot_id="4" hash="aa" index_in_file="0" start_line="1" end_line="2" />
  23. <!-- Old snapshot of current project -->
  24. <!-- foo-old -->
  25. <duplications_index id="3" project_snapshot_id="5" snapshot_id="6" hash="bb" index_in_file="0" start_line="0" end_line="0" />
  26. <!-- Last snapshot of current project -->
  27. <!-- foo-last -->
  28. <duplications_index id="4" project_snapshot_id="7" snapshot_id="8" hash="bb" index_in_file="0" start_line="0" end_line="0" />
  29. <!-- New snapshot of current project -->
  30. <!-- foo -->
  31. <duplications_index id="5" project_snapshot_id="9" snapshot_id="10" hash="aa" index_in_file="0" start_line="0" end_line="0" />
  32. <!-- Note that there is two blocks with same hash for current analysis to verify that we use "SELECT DISTINCT", -->
  33. <!-- without "DISTINCT" we will select block from "bar-last" two times. -->
  34. <duplications_index id="6" project_snapshot_id="9" snapshot_id="10" hash="aa" index_in_file="1" start_line="1" end_line="1" />
  35. </dataset>