Using string resources in conformance tests.
juan.lang at gmail.com
Tue Jun 29 10:55:19 CDT 2010
> I use the LoadString function to get the "New folder" string from
> shell32.dll that is used for creating a new folder. The problem is
> that the location where it is stored in shell32.dll varies between the
> different versions of Windows. I can only make the test work on one
> version at a time. Even the capitalization varies between the
> different versions of Windows, i.e. "New Folder" vs. "New folder".
It appears as though you shouldn't be doing this in a conformance
test. It varies enough that applications can't depend on the resource
ID or string value being the same in different versions of Windows.
Our conformance tests try to test for invariants across Windows
versions, i.e. behavior that applications may depend on or expect.
You might check the contents of the containing folder before and after
the command is executed, and make sure that at least one new folder
exists after the command is executed.
More information about the wine-devel