MCPcopy
hub / github.com/go-qml/qml / TestComponentSetDataError

Method TestComponentSetDataError

qml_test.go:260–263  ·  view source on GitHub ↗
(c *C)

Source from the content-addressed store, hash-verified

258}
259
260func (s *S) TestComponentSetDataError(c *C) {
261 _, err := s.engine.LoadString("file.qml", "Item{}")
262 c.Assert(err, ErrorMatches, "file:.*/file.qml:1 Item is not a type")
263}
264
265func (s *S) TestComponentCreateWindow(c *C) {
266 data := `

Callers

nothing calls this directly

Calls 1

LoadStringMethod · 0.80

Tested by

no test coverage detected