Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-2129

Refactor labeller tests

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 0.11.0
    • 0.10.1
    • Core Engine
    • None

      Currently these two tests are not really reliably testing the expected behaviour of labellers

      • MetaDataWriterTest one does not make sense at all as it assumes that root file system will throw exception while the logic of the labeller always creates directories. Plus this test is platform dependent assuming Linux like file system.
      • PersistenceProtoFilesLabeler one does count bytes which is rather fragile so testing round tripping looks more valid here

            swiderski.maciej Maciej Swiderski (Inactive)
            swiderski.maciej Maciej Swiderski (Inactive)
            Marian Macik Marian Macik
            Marian Macik Marian Macik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: