Uploaded image for project: 'SystemDS'
  1. SystemDS
  2. SYSTEMDS-151

AutomatedTestBase calls deprecated TestUtils methods

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • SystemDS 2.1
    • Test
    • None

    Description

      The TestUtils.readDMLMatrixFromHDFS() and TestUtils.readRMatrixFromFS() methods are deprecated.

      The AutomatedTestBase.readDMLMatrixFromHDFS() method calls TestUtils.readDMLMatrixFromHDFS() and the AutomatedTestBase.readRMatrixFromFS() method calls TestUtils.readRMatrixFromFS(). The AutomatedTestBase methods are annotated with @SuppressWarnings("deprecation").

      Rather than have suppressed-deprecation-warning methods call their equivalent deprecated methods, we have other options:
      1) Don't deprecate the TestUtils methods. If AutomatedTestBase methods should be used, explain reasoning in the Javadoc comments.
      2) Remove deprecated methods from TestUtils and replace them with 'good' versions of these methods in TestUtils or move the functionality to where it is intended.

      Attachments

        Activity

          People

            markd Mark Dokter
            deron Jon Deron Eriksson
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: