go-qml / qml

QML support for the Go language
Other
1.96k stars 189 forks source link

go test fails #159

Open janimo opened 8 years ago

janimo commented 8 years ago

go 1.4.2, qt 5.4.1 on Ubuntu 15.10

go test fails


FAIL: qml_test.go:1299: S.TestTable

----- Running table test 0: Read a context variable and its fields ----- [LOG] 0:00.012 file.qml:5: String is [LOG] 0:00.012 file.qml:6: Int is 42 [LOG] 0:00.012 file.qml:7: Any is undefined ----- Running table test 1: Read a nested field via a value (not pointer) in an interface ----- [LOG] 0:00.119 file.qml:3: String is ----- Running table test 2: Read a native property ----- ----- Running table test 3: Read object properties ----- qml_test.go:1403: t.Done(&testData) qml_test.go:514: c.Check(obj.Property("nilp"), Equals, nil) ... obtained uintptr = 0x0 ... expected = nil

OOPS: 12 passed, 1 FAILED --- FAIL: Test (0.90s) FAIL exit status 1 FAIL gopkg.in/qml.v1 0.954s

After disabling the failing testcase, it panics panic: unsupported variant type: 1024 (QJSValue)