Removing invalid test.

This commit is contained in:
Paul Knopf 2019-07-26 12:39:07 -04:00
parent 801da2360f
commit 0057103578
2 changed files with 1 additions and 13 deletions

View file

@ -21,7 +21,6 @@ class TestQObject : public TestBaseQObject
{
Q_OBJECT
Q_PROPERTY(int readOnly READ getReadOnly)
Q_PROPERTY(int writeOnly WRITE setWriteOnly)
Q_PROPERTY(int readAndWrite READ getReadAndWrite WRITE setReadAndWrite)
Q_PROPERTY(int propWithSignal READ getPropWithSignal WRITE setPropWithSignal NOTIFY propWithSignalChanged)
Q_PROPERTY(QVariant variantProperty READ getVariantProperty WRITE setVariantProperty)

View file

@ -98,18 +98,7 @@ namespace Qml.Net.Tests.Qml
qObject.GetProperty("readOnly").Should().Be(3);
});
}
[Fact]
public void Can_set_property_on_qobject()
{
AssertQObject(qObject =>
{
// No real way to test this.
// I suppose it doesn't throw, eh?
qObject.SetProperty("writeOnly", 3);
});
}
[Fact]
public void Can_set_and_get_property_on_qobject()
{