mirror of https://github.com/qt/qtgrpc.git
Fix the testComplexField initializing in tst_repeated
Fix the invalid assignment of the string to an object. Assing string values to the inner message field instead. Pick-to: 6.8 Fixes: QTBUG-131577 Change-Id: I52dd735c0ffd3a00ac5f95f090c03b7ca3172081 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io> Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
This commit is contained in:
parent
3d01eab5ab
commit
2c6ea3fb35
|
@ -31,8 +31,8 @@ TestCase {
|
|||
property complexMessage msg3;
|
||||
|
||||
function initTestCase() {
|
||||
msg1.testComplexField = "complexMessage 1"
|
||||
msg2.testComplexField = "complexMessage 2"
|
||||
msg1.testComplexField.testFieldString = "complexMessage 1"
|
||||
msg2.testComplexField.testFieldString = "complexMessage 2"
|
||||
|
||||
//TODO: see QTBUG-113690
|
||||
rStrMsg.testRepeatedString = ["String", "Second String",
|
||||
|
|
Loading…
Reference in New Issue