WoWUnit
WoWUnit copied to clipboard
Problem with latest WoWUnit and DugisGuideViewer
as near as i can figure, Dugi has lines for testing things and it relies on WoWUnit, if WoWUnit is not installed dugi ignores trying to test and goes on with life.. once you install the WoWUnit however, the following shows
[string "@DugisGuideViewerZ/Test.lua"]:121: in function 'RegisterTest'
[string "@DugisGuideViewerZ/Test.lua"]:133: in function '?'
[string "@DugisGuideViewerZ/DugisGuideViewer.lua"]:196: in function <DugisGuideViewerZ/DugisGuideViewer.lua:184>
[string "=[C]"]: ?
Locals:
self = <table> {
questId2Title_RU = <table> {
}
tIndexOfFirst = <function> defined @DugisGuideViewerZ/Util.lua:153
UpdateNotificationsMarkVisibility = <function> defined @DugisGuideViewerZ/DugisGuideViewer.lua:1205
ListContains = <function> defined @DugisGuideViewerZ/Util.lua:1007
QuestsBackgroundTranslator = <function> defined @DugisGuideViewerZ/Localization/Translator.lua:110
CreateSettingsTree = <function> defined @DugisGuideViewerZ/DugisGuideViewer.lua:3224
GetTheFastestMount = <function> defined @DugisGuideViewerZ/DugisGuideViewer.lua:5539
InitializeQuestPOI = <function> defined @DugisGuideViewerZ/Util.lua:4
DeclineShareInvitation = <function> defined @DugisGuideViewerZ/DugisGuideViewer.lua:8250
ExtendedTrackingPointsExists = true
ToggleCurrentGuide = <function> defined @DugisGuideViewerZ/DugisGuideViewer.lua:5219
UpdateCurrentGuideExpanded = <function> defined @DugisGuideViewerZ/DugisGuideViewer.lua:5253
SettingsTooltip_OnEnter = <function> defined @DugisGuideViewerZ/DugisGuideViewer.lua:4180
Zone_OnEvent = <function> defined @DugisGuideViewerZ/Util.lua:4
QUEST_COMPLETE = <function> defined @DugisGuideViewerZ/DugisGuideViewer.lua:4767
ShouldEqual = <function> defined @DugisGuideViewerZ/Test.lua:28
defaultMiddleArrowColor = <table> {
}
SKILL_LINES_CHANGED = <function> defined @DugisGuideViewerZ/DugisGuideViewer.lua:4918
WORLD_MAP_UPDATE = <function> defined @DugisGuideViewerZ/DugisGuideViewer.lua:4993
ADDON_LOADED = <function> defined @DugisGuideViewerZ/DugisGuideViewer.lua:4959
PrintTable = <function> defined @DugisGuideViewerZ/DugisGuideViewer.lua:1130
LargeFrameBorderDropdown_OnClick = <function> defined @DugisGuideViewerZ/DugisGuideViewer.lua:3597
IsModuleLoaded = <function> defined @DugisGuideViewerZ/Modules.common.lua:356
DebugPrint = <function> defined @DugisGuideViewerZ/DugisGuideViewer.lua:298
SetupWorldQuestButton_dugi = <function> defined @DugisGuideViewerZ/QuestPOI.lua:325
OnZoneChange = <function> defined @DugisGuideViewerZ/DugisGuideViewer.lua:4724
UpdateSettingsCheckbox = <function> defined @DugisGuideViewerZ/DugisGuideViewer.lua:1879
IsModelDataOn = <function> defined @DugisGuideViewerZ/Util.lua:4
TERRAIN_MAPS = <table> {
}
GetPlayerMapPosition = <function> defined @DugisGuideViewerZ/MapUtils.lua:435
SetDB = <function> defined @DugisGuideViewerZ/DugisGuideViewer.lua:3672
events = <table> {
}
Objects_zhTW = <table> {
}
GetQuestLogIndexByQID = <function> defined @DugisGuideViewerZ/DugisGuideViewer.lua:5046
DebugFormat = <function> defined @DugisGuideViewerZ/Debug.lua:37
QueueInvocation = <function> defined @DugisGuideViewerZ/Util.lua:437
WorldMapFrameUpdateQuest = <function> defined @DugisGuideViewerZ/DugisGuideViewer.lua:7103
defaultQuestingAreaColor = <table> {
}
QUEST_TURNED_IN = <function> defined @DugisGuideViewerZ/DugisGuideViewer.lua:4806
DelayandSetMapToCurrentZone = <function> defined @DugisGuideViewerZ/DugisGuideViewer.lua:4480
IsOnAzeroth = <function> defined @DugisGuideViewerZ/MapUtils.lua:278
GetFontWidth = <function> defined @DugisGuideViewerZ/DugisGuideViewer.lua:1119
RegisterTest = <function> defined @DugisGuideViewerZ/Test.lua:114
IsQuestInGuide = <function> defined @DugisGuideViewerZ/Util.lua:4
GetScrolllesBackground = <function> defined @DugisGuideViewerZ/DugisGuideViewer.lua:5237
ShowReloadUi = <function> defined @DugisGuideViewerZ/Modules.common.lua:200
questId2Title_FR = <table```
looking at the file in question it looks for the `AddTestSuite` which apparently isnt in WoWUnit..
That's an error with Dugi tests then. You should contact Dugi's developer. WoWUnit just providing an API and not creating any errors itself.