Random Bits of Open Code

logpro output
Login

LOGPRO RESULTS

LOGPRO: hit trigger Body on line 0
LOGPRO: hit trigger Init on line 0
LOGPRO Required: Header = 1 in section Init on line 0

// This is a header
LOGPRO: hit trigger InitEnd on line 1

LOGPRO Error: ERROR BLAH = 0 in section Body on line 2
// The following is an error
begin Blah1
LOGPRO Error: ERROR BLAH = 0 in section Body on line 4
ERROR: This shouldn't happen
end Blah1

LOGPRO Error: ERROR BLAH = 0 in section Body on line 7
// The following is an expected error
LOGPRO: hit trigger Blah2 on line 8
begin Blah2
LOGPRO Ignore: FALSE ERROR = 1 in section Blah2 on line 9
ERROR: This shouldn't happen
LOGPRO: hit trigger Blah2End on line 10
end Blah2

// This is nothing
The End

==========================LOGPRO SUMMARY==========================
Trigger: Blah2End                   OK, count=1
Trigger: Blah2                      OK, count=1
Trigger: Body                       OK, count=1
Trigger: InitEnd                    OK, count=1
Trigger: Init                       OK, count=1
Expect:  Error    in Body         FAIL, expected = 0 of ERROR BLAH, got 3
Expect:  Ignore   in Blah2          OK, expected = 1 of FALSE ERROR, got 1
Expect:  Expect   in Init           OK, expected < 1 of Junk, got 0
Expect:  Required in Init           OK, expected = 1 of Header, got 1