コード例 #1
0
 @Override
 protected void setUp() throws Exception {
   super.setUp();
   assertSame(new NbPreferencesFactory().userRoot(), Preferences.userRoot());
   pref = getPreferencesNode();
   assertNotNull(pref);
   storage = (PropertiesStorage) pref.fileStorage;
   assertNotNull(storage);
 }
コード例 #2
0
 @Override
 void fileRepresentationAssertion() throws IOException {
   super.fileRepresentationAssertion();
   assertNotNull(((PropertiesStorage) instance).toFolder());
   assertNotNull(((PropertiesStorage) instance).toPropertiesFile());
 }