[DataRow(612)]  // PROGRESS tried to read or write the
        public void GetOpenedgeErrorDetailedMessage_Test(int errorNumber)
        {
            if (!TestHelper.GetDlcPath(out string dlcPath))
            {
                return;
            }

            var res = UoeProMessage.GetProMessage(dlcPath, errorNumber);

            Debug.WriteLine(res);
            Assert.IsNotNull(res, "null");
        }
Beispiel #2
0
        protected override int ExecuteCommand(CommandLineApplication app, IConsole console)
        {
            var msg = UoeProMessage.GetProMessage(GetDlcPath(), MessageNumber);

            Out.WriteResultOnNewLine($"{(string.IsNullOrEmpty(msg.Category) ? "" : $"({msg.Category}) ")}{msg.Text}");