Erfolg

tests.wurstscript.tests.ModelManagerTests.moduleErrorAtInit

Dauer: 0,35 Sekunden.

Standard Ausgabe (STDOUT)

construct()
    x = 7

   err: Diagnostic [
  range = Range [
    start = Position [
      line = 5
      character = 22
    ]
    end = Position [
      line = 5
      character = 27
    ]
  ]
  severity = Error
  code = null
  codeDescription = null
  source = "Wurst"
  message = "Function getXp does not override anything."
  tags = null
  relatedInformation = null
  data = null
]
   err: Diagnostic [
  range = Range [
    start = Position [
      line = 2
      character = 6
    ]
    end = Position [
      line = 2
      character = 16
    ]
  ]
  severity = Error
  code = null
  codeDescription = null
  source = "Wurst"
  message = "Non-abstract class CustomHero must implement the following functions:\n    function getXpOld() returns int"
  tags = null
  relatedInformation = null
  data = null
]
   err: Diagnostic [
  range = Range [
    start = Position [
      line = 3
      character = 4
    ]
    end = Position [
      line = 4
      character = 0
    ]
  ]
  severity = Error
  code = null
  codeDescription = null
  source = "Wurst"
  message = "Could not find type M."
  tags = null
  relatedInformation = null
  data = null
]
   err: Diagnostic [
  range = Range [
    start = Position [
      line = 3
      character = 10
    ]
    end = Position [
      line = 3
      character = 13
    ]
  ]
  severity = Error
  code = null
  codeDescription = null
  source = "Wurst"
  message = "Could not find function foo."
  tags = null
  relatedInformation = null
  data = null
]
   err: Diagnostic [
  range = Range [
    start = Position [
      line = 1
      character = 0
    ]
    end = Position [
      line = 2
      character = 0
    ]
  ]
  severity = Error
  code = null
  codeDescription = null
  source = "Wurst"
  message = "The import 'Test' could not be resolved.\nAvailable packages: "
  tags = null
  relatedInformation = null
  data = null
]
   err: Diagnostic [
  range = Range [
    start = Position [
      line = 4
      character = 1
    ]
    end = Position [
      line = 4
      character = 2
    ]
  ]
  severity = Error
  code = null
  codeDescription = null
  source = "Wurst"
  message = "Reference to function b could not be resolved."
  tags = null
  relatedInformation = null
  data = null
]
   err: Diagnostic [
  range = Range [
    start = Position [
      line = 5
      character = 1
    ]
    end = Position [
      line = 5
      character = 2
    ]
  ]
  severity = Error
  code = null
  codeDescription = null
  source = "Wurst"
  message = "Reference to function c could not be resolved."
  tags = null
  relatedInformation = null
  data = null
]
   err: Diagnostic [
  range = Range [
    start = Position [
      line = 1
      character = 0
    ]
    end = Position [
      line = 2
      character = 0
    ]
  ]
  severity = Warning
  code = null
  codeDescription = null
  source = "Wurst"
  message = "The import B is never used"
  tags = null
  relatedInformation = null
  data = null
]
   err: Diagnostic [
  range = Range [
    start = Position [
      line = 2
      character = 0
    ]
    end = Position [
      line = 3
      character = 0
    ]
  ]
  severity = Warning
  code = null
  codeDescription = null
  source = "Wurst"
  message = "The import C is never used"
  tags = null
  relatedInformation = null
  data = null
]
   err: Diagnostic [
  range = Range [
    start = Position [
      line = 3
      character = 1
    ]
    end = Position [
      line = 3
      character = 2
    ]
  ]
  severity = Error
  code = null
  codeDescription = null
  source = "Wurst"
  message = "Reference to function c could not be resolved."
  tags = null
  relatedInformation = null
  data = null
]
   err: Diagnostic [
  range = Range [
    start = Position [
      line = 1
      character = 0
    ]
    end = Position [
      line = 2
      character = 0
    ]
  ]
  severity = Warning
  code = null
  codeDescription = null
  source = "Wurst"
  message = "The import C is never used"
  tags = null
  relatedInformation = null
  data = null
]