Rename debug in testcases to trace

To remove D specific keyword rename
This commit is contained in:
William S Fulton 2022-08-20 15:09:23 +01:00
commit 0ba11023ac
13 changed files with 61 additions and 81 deletions

View file

@ -30,7 +30,7 @@ public class runme
static private void check_equal(string a, string b)
{
if (li_std_wstring.debug) {
if (li_std_wstring.trace) {
Console.WriteLine("check_equal {0} {1}", a, b);
display_bytes(a);
display_bytes(b);
@ -150,7 +150,7 @@ public class runme
foreach (string expected in test_strings)
{
if (li_std_wstring.debug)
if (li_std_wstring.trace)
Console.WriteLine("expected (C#): " + expected);
string received = li_std_wstring.test_value(expected);
check_equal(received, expected);

View file

@ -4,11 +4,11 @@ using typemap_out_optimalNamespace;
public class typemap_out_optimal_runme {
public static void Main() {
XX.debug = false;
if (XX.debug)
XX.trace = false;
if (XX.trace)
Console.WriteLine("calling create()");
using (XX x = XX.create()) { }
if (XX.debug)
if (XX.trace)
Console.WriteLine("calling createConst()");
using (XX x = XX.createConst()) { }
}