[Kde-hardware-devel] Solid fake computer question
Sebastian Trüg
trueg at kde.org
Tue Apr 5 12:41:39 CEST 2011
Hi guys,
*Please CC me as I am not subscribed.*
I need to fake a NetworkShare component for a unit test and am trying
the following. However, Device::findByType(NetworkShare) does not return it:
<device udi="/org/kde/fstab">
<property key="vendor">KDE</property>
<property key="product">Network Shares</property>
</device>
<device udi="/org/kde/fstab/thehost/solidpath">
<property key="parent">/org/kde/fstab</property>
<property key="interfaces">NetworkShare,StorageAccess</property>
<property key="vendor">/solidpath</property>
<property key="product">thehost</property>
<property key="type">nfs</property>
<property key="url">nfs://thehost/solid-path</property>
<property key="filePath">/media/nfs</property>
<property key="isIgnored">false</property>
<property key="isMounted">true</property>
<property key="mountPoint">/media/nfs</property>
</device>
What am I missing?
Thanks a lot
Sebastian
More information about the Kde-hardware-devel
mailing list