This test class demonstrates a problem with the file system preferences.
Prequesites:
Test running on a unix system as non root user
Current user only has execute and read permissions in system preferences folder
Scenario:
Create a preferences node in system preferences that does not exist.
Expected:
Node is not available and no properties will be returned.
The node should only be created if the file system grants write access.
After the thrown BackingStoreException, no further create actions
should be performed.
Currently:
Node tries to create the folder in file system and throws a
BackingStoreException each 30 seconds. There is no chance to
check whether a new node can be successfully created.
Prequesites:
Test running on a unix system as non root user
Current user only has execute and read permissions in system preferences folder
Scenario:
Create a preferences node in system preferences that does not exist.
Expected:
Node is not available and no properties will be returned.
The node should only be created if the file system grants write access.
After the thrown BackingStoreException, no further create actions
should be performed.
Currently:
Node tries to create the folder in file system and throws a
BackingStoreException each 30 seconds. There is no chance to
check whether a new node can be successfully created.