reactos/modules/rostests/apitests/apphelp/testdb.xml

244 lines
10 KiB
XML
Raw Normal View History

<SDB>
<DATABASE>
<NAME>ReactOS test database</NAME>
<OS_PLATFORM >1</OS_PLATFORM>
<DATABASE_ID>{551F8E78-A9DA-44AC-A24C-5A8145317BC7}</DATABASE_ID>
<LIBRARY>
</LIBRARY>
<LAYER NAME="DATA_LAYER">
<DATA NAME="TESTDATA1" DATA_DWORD="3333" />
<DATA NAME="TESTDATA2">
<DATA_QWORD>0x123456789</DATA_QWORD>
</DATA>
<DATA NAME="TeSTDaTa3" DATA_STRING="Test string" />
<!--<DATA NAME="TESTDATA4" DATA_BITS="90 90 90 90" />-->
</LAYER>
<!-- Verify that we are able to match this -->
<EXE>
<NAME>test_match0.exe</NAME>
<APP_NAME>test_match0.exe</APP_NAME>
<VENDOR>Succeed</VENDOR>
<MATCHING_FILE>
<NAME>*</NAME>
<SIZE>2048</SIZE>
<CHECKSUM>0x178BD629</CHECKSUM>
<PRODUCT_VERSION>1.0.0.1</PRODUCT_VERSION>
<!-- BIN_PRODUCT_VERSION? -->
<FILE_VERSION>1.0.0.0</FILE_VERSION>
<!-- BIN_FILE_VERSION? -->
<FILE_DESCRIPTION>FileDescription</FILE_DESCRIPTION>
<COMPANY_NAME>CompanyName</COMPANY_NAME>
<ORIGINAL_FILENAME>OriginalFilename</ORIGINAL_FILENAME>
<INTERNAL_NAME>InternalName</INTERNAL_NAME>
</MATCHING_FILE>
</EXE>
<!-- Verify that we are able to match this -->
<EXE>
<NAME>test_match1.exe</NAME>
<APP_NAME>test_match1.exe</APP_NAME>
<VENDOR>Succeed</VENDOR>
<MATCHING_FILE>
<NAME>*</NAME>
<SIZE>2048</SIZE>
<CHECKSUM>0x178BD629</CHECKSUM>
<PRODUCT_VERSION>1.0.0.1</PRODUCT_VERSION>
<!-- BIN_PRODUCT_VERSION? -->
<FILE_VERSION>1.0.0.0</FILE_VERSION>
<!-- BIN_FILE_VERSION? -->
<FILE_DESCRIPTION>FILEDESCRIPTION</FILE_DESCRIPTION>
<COMPANY_NAME>companyname</COMPANY_NAME>
<ORIGINAL_FILENAME>ORIGINALFILENAME</ORIGINAL_FILENAME>
<INTERNAL_NAME>internalname</INTERNAL_NAME>
</MATCHING_FILE>
</EXE>
<!-- SIZE wrong -->
<EXE>
<NAME>test_match2.exe</NAME>
<APP_NAME>test_match2.exe</APP_NAME>
<VENDOR>Fail</VENDOR>
<MATCHING_FILE>
<NAME>*</NAME>
<SIZE>2047</SIZE>
<CHECKSUM>0x178BD629</CHECKSUM>
<PRODUCT_VERSION>1.0.0.1</PRODUCT_VERSION>
<FILE_VERSION>1.0.0.0</FILE_VERSION>
<FILE_DESCRIPTION>FileDescription</FILE_DESCRIPTION>
<COMPANY_NAME>CompanyName</COMPANY_NAME>
<ORIGINAL_FILENAME>OriginalFilename</ORIGINAL_FILENAME>
<INTERNAL_NAME>InternalName</INTERNAL_NAME>
</MATCHING_FILE>
</EXE>
<!-- CHECKSUM wrong -->
<EXE>
<NAME>test_match3.exe</NAME>
<APP_NAME>test_match3.exe</APP_NAME>
<VENDOR>Fail</VENDOR>
<MATCHING_FILE>
<NAME>*</NAME>
<SIZE>2048</SIZE>
<CHECKSUM>0x111111</CHECKSUM>
<PRODUCT_VERSION>1.0.0.1</PRODUCT_VERSION>
<FILE_VERSION>1.0.0.0</FILE_VERSION>
<FILE_DESCRIPTION>FileDescription</FILE_DESCRIPTION>
<COMPANY_NAME>CompanyName</COMPANY_NAME>
<ORIGINAL_FILENAME>OriginalFilename</ORIGINAL_FILENAME>
<INTERNAL_NAME>InternalName</INTERNAL_NAME>
</MATCHING_FILE>
</EXE>
<!-- PRODUCT_VERSION too high -->
<EXE>
<NAME>test_match4.exe</NAME>
<APP_NAME>test_match4.exe</APP_NAME>
<VENDOR>Fail</VENDOR>
<MATCHING_FILE>
<NAME>*</NAME>
<SIZE>2048</SIZE>
<CHECKSUM>0x178BD629</CHECKSUM>
<PRODUCT_VERSION>1.1.1.1</PRODUCT_VERSION>
<FILE_VERSION>1.0.0.0</FILE_VERSION>
<FILE_DESCRIPTION>FileDescription</FILE_DESCRIPTION>
<COMPANY_NAME>CompanyName</COMPANY_NAME>
<ORIGINAL_FILENAME>OriginalFilename</ORIGINAL_FILENAME>
<INTERNAL_NAME>InternalName</INTERNAL_NAME>
</MATCHING_FILE>
</EXE>
<!-- PRODUCT_VERSION too low -->
<EXE>
<NAME>test_match5.exe</NAME>
<APP_NAME>test_match5.exe</APP_NAME>
<VENDOR>Fail</VENDOR>
<MATCHING_FILE>
<NAME>*</NAME>
<SIZE>2048</SIZE>
<CHECKSUM>0x178BD629</CHECKSUM>
<PRODUCT_VERSION>1.0.0.0</PRODUCT_VERSION>
<FILE_VERSION>1.0.0.0</FILE_VERSION>
<FILE_DESCRIPTION>FileDescription</FILE_DESCRIPTION>
<COMPANY_NAME>CompanyName</COMPANY_NAME>
<ORIGINAL_FILENAME>OriginalFilename</ORIGINAL_FILENAME>
<INTERNAL_NAME>InternalName</INTERNAL_NAME>
</MATCHING_FILE>
</EXE>
<!-- FILE_VERSION wrong -->
<EXE>
<NAME>test_match6.exe</NAME>
<APP_NAME>test_match6.exe</APP_NAME>
<VENDOR>Fail</VENDOR>
<MATCHING_FILE>
<NAME>*</NAME>
<SIZE>2048</SIZE>
<CHECKSUM>0x178BD629</CHECKSUM>
<PRODUCT_VERSION>1.0.0.1</PRODUCT_VERSION>
<FILE_VERSION>1.1.1.1</FILE_VERSION>
<FILE_DESCRIPTION>FileDescription</FILE_DESCRIPTION>
<COMPANY_NAME>CompanyName</COMPANY_NAME>
<ORIGINAL_FILENAME>OriginalFilename</ORIGINAL_FILENAME>
<INTERNAL_NAME>InternalName</INTERNAL_NAME>
</MATCHING_FILE>
</EXE>
<!-- FILE_DESCRIPTION wrong -->
<EXE>
<NAME>test_match7.exe</NAME>
<APP_NAME>test_match7.exe</APP_NAME>
<VENDOR>Fail</VENDOR>
<MATCHING_FILE>
<NAME>*</NAME>
<SIZE>2048</SIZE>
<CHECKSUM>0x178BD629</CHECKSUM>
<PRODUCT_VERSION>1.0.0.1</PRODUCT_VERSION>
<FILE_VERSION>1.0.0.0</FILE_VERSION>
<FILE_DESCRIPTION>Wrong Description</FILE_DESCRIPTION>
<COMPANY_NAME>CompanyName</COMPANY_NAME>
<ORIGINAL_FILENAME>OriginalFilename</ORIGINAL_FILENAME>
<INTERNAL_NAME>InternalName</INTERNAL_NAME>
</MATCHING_FILE>
</EXE>
<!-- COMPANY_NAME wrong -->
<EXE>
<NAME>test_match8.exe</NAME>
<APP_NAME>test_match8.exe</APP_NAME>
<VENDOR>Fail</VENDOR>
<MATCHING_FILE>
<NAME>*</NAME>
<SIZE>2048</SIZE>
<CHECKSUM>0x178BD629</CHECKSUM>
<PRODUCT_VERSION>1.0.0.1</PRODUCT_VERSION>
<FILE_VERSION>1.0.0.0</FILE_VERSION>
<FILE_DESCRIPTION>FileDescription</FILE_DESCRIPTION>
<COMPANY_NAME>Wrong CompanyName</COMPANY_NAME>
<ORIGINAL_FILENAME>OriginalFilename</ORIGINAL_FILENAME>
<INTERNAL_NAME>InternalName</INTERNAL_NAME>
</MATCHING_FILE>
</EXE>
<!-- ORIGINAL_FILENAME wrong -->
<EXE>
<NAME>test_match9.exe</NAME>
<APP_NAME>test_match9.exe</APP_NAME>
<VENDOR>Fail</VENDOR>
<MATCHING_FILE>
<NAME>*</NAME>
<SIZE>2048</SIZE>
<CHECKSUM>0x178BD629</CHECKSUM>
<PRODUCT_VERSION>1.0.0.1</PRODUCT_VERSION>
<FILE_VERSION>1.0.0.0</FILE_VERSION>
<FILE_DESCRIPTION>FileDescription</FILE_DESCRIPTION>
<COMPANY_NAME>CompanyName</COMPANY_NAME>
<ORIGINAL_FILENAME>Wrong OriginalFilename</ORIGINAL_FILENAME>
<INTERNAL_NAME>InternalName</INTERNAL_NAME>
</MATCHING_FILE>
</EXE>
<!-- INTERNAL_NAME wrong -->
<EXE>
<NAME>test_match10.exe</NAME>
<APP_NAME>test_match10.exe</APP_NAME>
<VENDOR>Fail</VENDOR>
<MATCHING_FILE>
<NAME>*</NAME>
<SIZE>2048</SIZE>
<CHECKSUM>0x178BD629</CHECKSUM>
<PRODUCT_VERSION>1.0.0.1</PRODUCT_VERSION>
<FILE_VERSION>1.0.0.0</FILE_VERSION>
<FILE_DESCRIPTION>FileDescription</FILE_DESCRIPTION>
<COMPANY_NAME>CompanyName</COMPANY_NAME>
<ORIGINAL_FILENAME>OriginalFilename</ORIGINAL_FILENAME>
<INTERNAL_NAME>wrong InternalName</INTERNAL_NAME>
</MATCHING_FILE>
</EXE>
<!-- Show that strings are checked for the full length(1) -->
<EXE>
<NAME>test_match11.exe</NAME>
<APP_NAME>test_match11.exe</APP_NAME>
<VENDOR>Fail</VENDOR>
<MATCHING_FILE>
<NAME>*</NAME>
<SIZE>2048</SIZE>
<CHECKSUM>0x178BD629</CHECKSUM>
<PRODUCT_VERSION>1.0.0.1</PRODUCT_VERSION>
<FILE_VERSION>1.0.0.0</FILE_VERSION>
<FILE_DESCRIPTION>FileDescription</FILE_DESCRIPTION>
<COMPANY_NAME>CompanyName</COMPANY_NAME>
<ORIGINAL_FILENAME>OriginalFilename</ORIGINAL_FILENAME>
<INTERNAL_NAME>InternalName wrong</INTERNAL_NAME>
</MATCHING_FILE>
</EXE>
<!-- Show that strings are checked for the full length(2) -->
<EXE>
<NAME>test_match12.exe</NAME>
<APP_NAME>test_match12.exe</APP_NAME>
<VENDOR>Fail</VENDOR>
<MATCHING_FILE>
<NAME>*</NAME>
<SIZE>2048</SIZE>
<CHECKSUM>0x178BD629</CHECKSUM>
<PRODUCT_VERSION>1.0.0.1</PRODUCT_VERSION>
<FILE_VERSION>1.0.0.0</FILE_VERSION>
<FILE_DESCRIPTION>FileDescription</FILE_DESCRIPTION>
<COMPANY_NAME>CompanyName</COMPANY_NAME>
<ORIGINAL_FILENAME>OriginalFilename</ORIGINAL_FILENAME>
<INTERNAL_NAME>Internal</INTERNAL_NAME>
</MATCHING_FILE>
</EXE>
</DATABASE>
</SDB>