mirror of
https://github.com/qmlnet/qmlnet.git
synced 2026-05-15 14:15:54 -06:00
Removing invalid test.
This commit is contained in:
parent
801da2360f
commit
0057103578
2 changed files with 1 additions and 13 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue