[Qgis-developer] Unit tests

Benedict Holland benedict.m.holland at gmail.com
Sun May 19 11:13:51 PDT 2013


Hi all,

How up to date are the unit tests? I seem to be getting quite a lot of
failures by the look of things but I am not sure if these are up to date or
not. BTW, the program compiles and seems to run so these unit tests might
just be very outdated.

This is my output of make test

Test project /home/ben/git/Quantum-GIS/build

Start 1: qgis_clippertest

1/67 Test #1: qgis_clippertest ..................... Passed 0.12 sec

Start 2: qgis_distanceareatest

2/67 Test #2: qgis_distanceareatest ................ Passed 0.99 sec

Start 3: qgis_applicationtest

3/67 Test #3: qgis_applicationtest ................. Passed 0.25 sec

Start 4: qgis_diagramtest

4/67 Test #4: qgis_diagramtest ..................... Passed 1.69 sec

Start 5: qgis_expressiontest

5/67 Test #5: qgis_expressiontest ..................***Failed 0.31 sec

Start 6: qgis_filewritertest

6/67 Test #6: qgis_filewritertest .................. Passed 0.16 sec

Start 7: qgis_regression992

7/67 Test #7: qgis_regression992 ................... Passed 0.20 sec

Start 8: qgis_regression1141

8/67 Test #8: qgis_regression1141 .................. Passed 0.16 sec

Start 9: qgis_rasterlayertest

9/67 Test #9: qgis_rasterlayertest ................. Passed 0.36 sec

Start 10: qgis_rastersublayertest

10/67 Test #10: qgis_rastersublayertest .............. Passed 0.19 sec

Start 11: qgis_rasterfilewritertest

11/67 Test #11: qgis_rasterfilewritertest ............ Passed 0.37 sec

Start 12: qgis_contrastenhancementtest

12/67 Test #12: qgis_contrastenhancementtest ......... Passed 0.09 sec

Start 13: qgis_maplayertest

13/67 Test #13: qgis_maplayertest .................... Passed 0.16 sec

Start 14: qgis_rendererstest

14/67 Test #14: qgis_rendererstest ...................***Failed 0.68 sec

Start 15: qgis_maprenderertest

15/67 Test #15: qgis_maprenderertest ................. Passed 5.81 sec

Start 16: qgis_blendmodestest

16/67 Test #16: qgis_blendmodestest ..................***Failed 0.43 sec

Start 17: qgis_geometrytest

17/67 Test #17: qgis_geometrytest ....................***Failed 0.27 sec

Start 18: qgis_coordinatereferencesystemtest

18/67 Test #18: qgis_coordinatereferencesystemtest ... Passed 0.19 sec

Start 19: qgis_pointtest

19/67 Test #19: qgis_pointtest ....................... Passed 0.11 sec

Start 20: qgis_vectordataprovidertest

20/67 Test #20: qgis_vectordataprovidertest .......... Passed 0.16 sec

Start 21: qgis_vectorlayertest

21/67 Test #21: qgis_vectorlayertest ................. Passed 0.16 sec

Start 22: qgis_rulebasedrenderertest

22/67 Test #22: qgis_rulebasedrenderertest ........... Passed 0.17 sec

Start 23: qgis_ziplayertest

23/67 Test #23: qgis_ziplayertest .................... Passed 0.61 sec

Start 24: qgis_dataitemtest

24/67 Test #24: qgis_dataitemtest .................... Passed 0.19 sec

Start 25: qgis_composermaptest

25/67 Test #25: qgis_composermaptest ................. Passed 8.82 sec

Start 26: qgis_composereffectstest

26/67 Test #26: qgis_composereffectstest ............. Passed 2.53 sec

Start 27: qgis_atlascompositiontest

27/67 Test #27: qgis_atlascompositiontest ............ Passed 11.22 sec

Start 28: qgis_composerlabeltest

28/67 Test #28: qgis_composerlabeltest ............... Passed 0.17 sec

Start 29: qgis_stylev2test

29/67 Test #29: qgis_stylev2test ..................... Passed 0.81 sec

Start 30: qgis_composerhtmltest

30/67 Test #30: qgis_composerhtmltest ................***Failed 5.35 sec

Start 31: qgis_rectangletest

31/67 Test #31: qgis_rectangletest ................... Passed 0.11 sec

Start 32: qgis_composerscalebartest

32/67 Test #32: qgis_composerscalebartest ............***Failed 7.19 sec

Start 33: qgis_ogcutilstest

33/67 Test #33: qgis_ogcutilstest .................... Passed 0.10 sec

Start 34: qgis_vectorlayercachetest

34/67 Test #34: qgis_vectorlayercachetest ............ Passed 0.19 sec

Start 35: qgis_zoomtest

35/67 Test #35: qgis_zoomtest ........................ Passed 0.21 sec

Start 36: qgis_histogramtest

36/67 Test #36: qgis_histogramtest ................... Passed 0.62 sec

Start 37: qgis_projectionissues

37/67 Test #37: qgis_projectionissues ................ Passed 0.69 sec

Start 38: qgis_scalecombobox

38/67 Test #38: qgis_scalecombobox ................... Passed 0.13 sec

Start 39: qgis_dualviewtest

39/67 Test #39: qgis_dualviewtest .................... Passed 0.19 sec

Start 40: qgis_rubberbandtest

40/67 Test #40: qgis_rubberbandtest .................. Passed 0.20 sec

Start 41: qgis_analyzertest

41/67 Test #41: qgis_analyzertest .................... Passed 0.17 sec

Start 42: qgis_openstreetmaptest

42/67 Test #42: qgis_openstreetmaptest ............... Passed 4.64 sec

Start 43: qgis_wcsprovidertest

43/67 Test #43: qgis_wcsprovidertest ................. Passed 9.09 sec

Start 44: PyQgsApplication

44/67 Test #44: PyQgsApplication ..................... Passed 1.39 sec

Start 45: PyQgsFeature

45/67 Test #45: PyQgsFeature ......................... Passed 0.33 sec

Start 46: PyQgsGeometry

46/67 Test #46: PyQgsGeometry ........................ Passed 0.33 sec

Start 47: PyQgsVectorLayer

47/67 Test #47: PyQgsVectorLayer ..................... Passed 0.32 sec

Start 48: PyQgsRasterLayer

48/67 Test #48: PyQgsRasterLayer ..................... Passed 0.37 sec

Start 49: PyQgsBlendModes

49/67 Test #49: PyQgsBlendModes ......................***Failed 0.61 sec

Start 50: PyQgsRasterFileWriter

50/67 Test #50: PyQgsRasterFileWriter ................ Passed 0.51 sec

Start 51: PyQgsMemoryProvider

51/67 Test #51: PyQgsMemoryProvider .................. Passed 0.30 sec

Start 52: PyQgsDelimitedTextProvider

52/67 Test #52: PyQgsDelimitedTextProvider ...........***Failed 0.51 sec

Start 53: PyQgsLogger

53/67 Test #53: PyQgsLogger .......................... Passed 0.17 sec

Start 54: PyQgsCoordinateTransform

54/67 Test #54: PyQgsCoordinateTransform ............. Passed 0.29 sec

Start 55: PyQgsRectangle

55/67 Test #55: PyQgsRectangle ....................... Passed 0.28 sec

Start 56: PyQgsSpatialIndex

56/67 Test #56: PyQgsSpatialIndex .................... Passed 0.27 sec

Start 57: PyQgsComposerHtml

57/67 Test #57: PyQgsComposerHtml .................... Passed 0.37 sec

Start 58: PyQgsComposition

58/67 Test #58: PyQgsComposition ..................... Passed 1.47 sec

Start 59: PyQgsAnalysis

59/67 Test #59: PyQgsAnalysis ........................ Passed 0.28 sec

Start 60: PyQgsComposerMap

60/67 Test #60: PyQgsComposerMap ..................... Passed 51.86 sec

Start 61: PyQgsComposerEffects

61/67 Test #61: PyQgsComposerEffects ................. Passed 20.13 sec

Start 62: PyQgsSymbolLayerV2

62/67 Test #62: PyQgsSymbolLayerV2 ...................***Failed 0.36 sec

Start 63: PyQgsPoint

63/67 Test #63: PyQgsPoint ........................... Passed 0.28 sec

Start 64: PyQgsAtlasComposition

64/67 Test #64: PyQgsAtlasComposition ................ Passed 49.63 sec

Start 65: PyQgsComposerLabel

65/67 Test #65: PyQgsComposerLabel ................... Passed 0.32 sec

Start 66: PyQgsExpression

66/67 Test #66: PyQgsExpression ...................... Passed 0.16 sec

Start 67: PyQgsVectorFileWriter

67/67 Test #67: PyQgsVectorFileWriter ................ Passed 0.28 sec


87% tests passed, 9 tests failed out of 67


Total Test time (real) = 199.47 sec


The following tests FAILED:

5 - qgis_expressiontest (Failed)

14 - qgis_rendererstest (Failed)

16 - qgis_blendmodestest (Failed)

17 - qgis_geometrytest (Failed)

30 - qgis_composerhtmltest (Failed)

32 - qgis_composerscalebartest (Failed)

49 - PyQgsBlendModes (Failed)

52 - PyQgsDelimitedTextProvider (Failed)

  62 - PyQgsSymbolLayerV2 (Failed)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20130519/1e758f48/attachment.html>


More information about the Qgis-developer mailing list