Thoughts on client storage testing
Tom Zeller
tzeller at dragonacea.biz
Fri Sep 25 12:40:44 EDT 2015
>> The ServerData object would, I guess, have a single field : idp.home. Test methods would look like :
>
> Or possibly a specific set of overridden properties? But I guess in theory we might need to specialize more of the configuration.
Well, at the moment, the object representing a server configuration (ServerCustomizations) has : (1) overridden properties (in multiple property files), (2) system properties, (3) strings to replace in files, and (4) a more specific case of (3) which is XML to uncomment. This object needs to implement equality, as it is used as a key in a map (when only starting one instance of a server for every config). It also has methods such as enableLocalStorage() and isLocalStorageEnabled(). The latter is a little tricky. Right now isLocalStorageEnabled() looks at an internal field, but perhaps it should read from the configuration/file on the filesystem.
More information about the dev
mailing list