Source

delPython / demo / persist.txt

Full commit
Exception while evaluating "o.Strings[0]" Details: "xxx field lookup failed for TStringList.Strings"
Exception while evaluating "o.Strings[1]" Details: "xxx field lookup failed for TStringList.Strings"
Exception while evaluating "o.Strings[2]" Details: "xxx field lookup failed for TStringList.Strings"
Exception while evaluating "o[0]" Details: "Python raised error <type 'exceptions.TypeError'> with 'S' object is unsubscriptable"
Exception while evaluating "o[1]" Details: "Python raised error <type 'exceptions.TypeError'> with 'S' object is unsubscriptable"
Exception while evaluating "o[2]" Details: "Python raised error <type 'exceptions.TypeError'> with 'S' object is unsubscriptable"
Exception while evaluating "o.Objects[0]" Details: "xxx field lookup failed for TStringList.Objects"
Exception while evaluating "o.Objects[1]" Details: "xxx field lookup failed for TStringList.Objects"
Exception while evaluating "o.Objects[2]" Details: "xxx field lookup failed for TStringList.Objects"
Exception while evaluating "o[0]" Details: "Python raised error <type 'exceptions.TypeError'> with 'S' object is unsubscriptable"
Exception while evaluating "o[1]" Details: "Python raised error <type 'exceptions.TypeError'> with 'S' object is unsubscriptable"
Exception while evaluating "o.Strings[0]" Details: "xxx field lookup failed for TStringList.Strings"
Exception while evaluating "o.Strings[1]" Details: "xxx field lookup failed for TStringList.Strings"
Exception while evaluating "o.Objects[0]" Details: "xxx field lookup failed for TStringList.Objects"
Exception while evaluating "o.Objects[1]" Details: "xxx field lookup failed for TStringList.Objects"
Exception while evaluating "o[0]" Details: "Python raised error <type 'exceptions.TypeError'> with 'S' object is unsubscriptable"
Exception while evaluating "o[1]" Details: "Python raised error <type 'exceptions.TypeError'> with 'S' object is unsubscriptable"
Expected "1" but found "0" for i
Expected "2" but found "0" for i
Exception while evaluating "o[0]" Details: "Python raised error <type 'exceptions.TypeError'> with 'S' object is unsubscriptable"
Exception while evaluating "o[1]" Details: "Python raised error <type 'exceptions.TypeError'> with 'S' object is unsubscriptable"
Exception while evaluating "o[2]" Details: "Python raised error <type 'exceptions.TypeError'> with 'S' object is unsubscriptable"
FAIL: o2=vcl.TStringList(); o2.Add("4"); o2.Add("5"); o.AddStrings(o2) raised an exception: xxx PyObjectToTValue: unsupported type "S"
Expected "5" but found "3" for o.Count
Expected "3" but found "-1" for o.IndexOf("4")
Expected "4" but found "-1" for o.IndexOf("5")
FAIL: o2=vcl.TStringList(); o2.Add("4"); o2.Add("5"); o.Assign(o2) raised an exception: xxx PyObjectToTValue: unsupported type "N"
Expected "2" but found "3" for o.Count
Exception while evaluating "o[0]" Details: "Python raised error <type 'exceptions.TypeError'> with 'S' object is unsubscriptable"
Exception while evaluating "o[1]" Details: "Python raised error <type 'exceptions.TypeError'> with 'S' object is unsubscriptable"
FAIL: o.Duplicates = dupIgnore raised an exception: Python raised error <type 'exceptions.NameError'> with name 'dupIgnore' is not defined
Expected "3" but found "4" for o.Count
FAIL: o.Duplicates = dupAccept raised an exception: Python raised error <type 'exceptions.NameError'> with name 'dupAccept' is not defined
Expected "4" but found "5" for o.Count
FAIL: o.Sorted = True raised an exception: Invalid class typecast
Expected "True" but found "False" for o.Sorted
Exception while evaluating "o[0]" Details: "Python raised error <type 'exceptions.TypeError'> with 'S' object is unsubscriptable"
Exception while evaluating "o[1]" Details: "Python raised error <type 'exceptions.TypeError'> with 'S' object is unsubscriptable"
Exception while evaluating "o[2]" Details: "Python raised error <type 'exceptions.TypeError'> with 'S' object is unsubscriptable"
Expected "1;2;3" but found "1,2,3" for o.CommaText
Exception while evaluating "o[0]" Details: "Python raised error <type 'exceptions.TypeError'> with 'S' object is unsubscriptable"
Exception while evaluating "o[1]" Details: "Python raised error <type 'exceptions.TypeError'> with 'S' object is unsubscriptable"
Exception while evaluating "o[2]" Details: "Python raised error <type 'exceptions.TypeError'> with 'S' object is unsubscriptable"
Exception while evaluating "o[0]" Details: "Python raised error <type 'exceptions.TypeError'> with 'A' object is unsubscriptable"
Exception while evaluating "o[1]" Details: "Python raised error <type 'exceptions.TypeError'> with 'A' object is unsubscriptable"
Exception while evaluating "o[2]" Details: "Python raised error <type 'exceptions.TypeError'> with 'A' object is unsubscriptable"
Exception while evaluating "o.Names[0]" Details: "xxx field lookup failed for TStringList.Names"
Exception while evaluating "o.Names[1]" Details: "xxx field lookup failed for TStringList.Names"
Exception while evaluating "o.Names[2]" Details: "xxx field lookup failed for TStringList.Names"
Exception while evaluating "o.Objects[0]" Details: "xxx field lookup failed for TStringList.Objects"
Exception while evaluating "o.Objects[1]" Details: "xxx field lookup failed for TStringList.Objects"
Exception while evaluating "o.Objects[2]" Details: "xxx field lookup failed for TStringList.Objects"
Exception while evaluating "o.Objects[2] = 42" Details: "Python raised error <type 'exceptions.SyntaxError'> with invalid syntax (<string>, line 1)"
Exception while evaluating "o.Objects[2]" Details: "xxx field lookup failed for TStringList.Objects"
Exception while evaluating "o.Values["a"]" Details: "xxx field lookup failed for TStringList.Values"
Exception while evaluating "o.Values["b"]" Details: "xxx field lookup failed for TStringList.Values"
Exception while evaluating "o.Values["c"]" Details: "xxx field lookup failed for TStringList.Values"
Exception while evaluating "o.ValueFromIndex[0]" Details: "xxx field lookup failed for TStringList.ValueFromIndex"
Exception while evaluating "o.ValueFromIndex[1]" Details: "xxx field lookup failed for TStringList.ValueFromIndex"
Exception while evaluating "o.ValueFromIndex[2]" Details: "xxx field lookup failed for TStringList.ValueFromIndex"
Exception while evaluating "o.Strings[0]" Details: "xxx field lookup failed for TStringList.Strings"
Exception while evaluating "o.Strings[1]" Details: "xxx field lookup failed for TStringList.Strings"
Exception while evaluating "o.Strings[2]" Details: "xxx field lookup failed for TStringList.Strings"
Exception while evaluating "o[0]" Details: "Python raised error <type 'exceptions.TypeError'> with 'S' object is unsubscriptable"
Exception while evaluating "o[1]" Details: "Python raised error <type 'exceptions.TypeError'> with 'S' object is unsubscriptable"
Exception while evaluating "o.StringsAdaptor" Details: "xxx field lookup failed for TStringList.StringsAdaptor"
FAIL: o.Clear(); o.OnChange = _onchange raised an exception: Access violation at address 004E16A1 in module 'delpython_test.exe'. Read of address 00000000
Expected "1" but found "0" for event_test
FAIL: o.Clear(); o.OnChange = _onchange raised an exception: Access violation at address 004E16A1 in module 'delpython_test.exe'. Read of address 00000000
Expected "2" but found "0" for event_test
FAIL: o.CustomSort(StringListCompareStrings) raised an exception: xxx PyObjectToTValue: unsupported type "function"
Exception while evaluating "o[0]" Details: "Python raised error <type 'exceptions.TypeError'> with 'S' object is unsubscriptable"
Exception while evaluating "o[1]" Details: "Python raised error <type 'exceptions.TypeError'> with 'S' object is unsubscriptable"
Exception while evaluating "o[2]" Details: "Python raised error <type 'exceptions.TypeError'> with 'S' object is unsubscriptable"
Exception while evaluating "o[3]" Details: "Python raised error <type 'exceptions.TypeError'> with 'S' object is unsubscriptable"
DONE tests.