MCPcopy Create free account
hub / github.com/CobaltFusion/DebugViewPP / DbgMsgTest

Function DbgMsgTest

DbgMsgSrc/DbgMsgSrc.cpp:73–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73void DbgMsgTest()
74{
75 OutputDebugStringA("Message 1 without newline");
76 OutputDebugStringA("Message 2 without newline");
77 OutputDebugStringA("Message 3 with newline\n");
78 OutputDebugStringA("Message with\nembedded newline\n");
79 OutputDebugStringA("This should look like a table in a non-proportionally spaced font like 'Courier'");
80 OutputDebugStringA("Columnn1\tColumnn2\tColumnn3\tColumnn4\tColumnn5");
81 OutputDebugStringA("1\t\t2\t\t3\t\t4\t\t5");
82 OutputDebugStringA("A\t\tB\t\tC\t\tD\t\tE");
83 OutputDebugStringA("11\t\t12\t\t13\t\t14\t\t15");
84 OutputDebugStringA("21\t\t22\t\t23A\t\t24\t\t25");
85
86 OutputDebugStringA(" This line has 1 space prefixed");
87 OutputDebugStringA(" This line has 2 space prefixed");
88 OutputDebugStringA(" This line has 3 space prefixed");
89 OutputDebugStringA(" This line has 4 space prefixed");
90
91 OutputDebugStringA("HighLighting test: Double-click the word 'lines' in each of the following lines and make sure that word is highlighted.");
92
93 OutputDebugStringA("\t123\t \t123\t \t123\t \t123\t This lines starts with tab");
94 OutputDebugStringA(" \t123\t \t123\t \t123\t \t123\t This lines starts with 1 space + tab");
95 OutputDebugStringA(" \t123\t \t123\t \t123\t \t123\t This lines starts with 2 spaces + tab");
96 OutputDebugStringA(" \t123\t \t123\t \t123\t \t123\t This lines starts with 3 spaces + tab");
97 OutputDebugStringA(" \t123\t \t123\t \t123\t \t123\t This lines starts with 4 spaces + tab");
98 OutputDebugStringA("2LongLine: Very Long Message that ends in a single newline. Very Long Message that ends in a single newline. Very Long Message that ends in a single newline. Very Long Message that ends in a single newline. Very Long Message that ends in a single newline. Very Long Message that ends in a single newline. Very Long Message that ends in a single newline. Very Long Message that ends in a single newline. Very Long Message that ends in a single newline. Very Long Message that ends in a single newline. Very Long Message that ends in a single newline. Very Long Message that ends in a single newline. Very Long Message that ends in a single newline. Very Long Message that ends in a single newline. Message ends HERE.\n");
99
100 OutputDebugStringA("Message without newline (tid: 9000)");
101 OutputDebugStringA("Message without newline (tid: 9001)");
102 OutputDebugStringA("Message without newline (tid: 9002)");
103 OutputDebugStringA("Message without newline (tid: 9003)");
104 OutputDebugStringA("Message without newline (tid: 9001)");
105 OutputDebugStringA("Message without newline (tid: 9002)");
106 OutputDebugStringA("Message without newline (tid: 9003)");
107 OutputDebugStringA("Message without newline (tid: 9003)");
108 OutputDebugStringA("Message without newline (tid: 9002)");
109 OutputDebugStringA("Message without newline (tid: 9001)");
110 OutputDebugStringA("Message without newline (tid: 9000)");
111 OutputDebugStringA("Message without newline (address: 0x01020304)");
112 OutputDebugStringA("Message without newline (address: 0xDEADBEEF)");
113 OutputDebugStringA("Message without newline (address: 0xFEEDBEEF)");
114 OutputDebugStringA("Message without newline (address: 0xB105F00D)");
115 OutputDebugStringA("Message without newline (address: 0x0DEFACED)");
116 OutputDebugStringA("Message without newline (address: 0xBAADF00D)");
117 OutputDebugStringA("Message without newline (address: 0xCAFEBABE)");
118 OutputDebugStringA("Message without newline (address: 0xDEADC0DE)");
119 OutputDebugStringA("Message without newline (address: 0xDEADC0DE)");
120}
121
122void SocketTest()
123{

Callers 1

MainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected