James Hawkins
|
d89ee5fdd6
|
msi: Test using carriage returns in SQL queries and imported tables.
|
2008-02-07 12:09:10 +01:00 |
James Hawkins
|
56574c7c6e
|
msi: Add tests for using single quotes in an INSERT query.
|
2008-02-05 12:19:36 +01:00 |
Francois Gouget
|
44b52b128c
|
Assorted spelling fixes.
|
2008-01-16 12:48:29 +01:00 |
James Hawkins
|
4b75f33012
|
msi: Actually delete the row data instead of blanking it out.
|
2008-01-09 13:38:02 +01:00 |
James Hawkins
|
419a8a2426
|
msi: Test committing a table with a removed row.
|
2008-01-09 13:38:02 +01:00 |
James Hawkins
|
ce8199a46e
|
msi: Handle markers in the WHERE section of an UPDATE query, with tests.
|
2008-01-09 13:38:02 +01:00 |
James Hawkins
|
58c7fe1095
|
msi: Allow the not-equal operator in WHERE query string comparisons.
|
2007-12-23 14:17:11 +01:00 |
James Hawkins
|
3c0f7ca4e6
|
msi: Fix deleting temporary rows, with tests.
|
2007-12-23 14:17:11 +01:00 |
James Hawkins
|
91c205e8c0
|
msi: Sort each table of the join separately.
|
2007-12-18 12:32:55 +01:00 |
James Hawkins
|
f93ee6f420
|
msi: Test sorting a table using a column that is not selected.
|
2007-12-18 12:32:55 +01:00 |
James Hawkins
|
7dffb518c0
|
msi: Create the _Tables table when creating a database.
|
2007-11-12 12:06:29 +01:00 |
James Hawkins
|
ef1277d462
|
msi: Test the default tables added by MsiOpenDatabase.
|
2007-11-12 12:06:22 +01:00 |
James Hawkins
|
37895faaa8
|
msi: MsiViewGetError returns MSIDBERROR, not UINT.
|
2007-11-05 14:53:16 +01:00 |
James Hawkins
|
35a6782d7b
|
msi: Test and implement the MSIMODIFY_DELETE command.
|
2007-11-05 14:52:46 +01:00 |
James Hawkins
|
4d2e148fb0
|
msi: Use package_from_db instead of opening the package with MsiOpenPackage.
|
2007-10-26 14:03:47 +02:00 |
James Hawkins
|
2274388323
|
msi: Save nonpersistent strings as holes in the string pool.
|
2007-10-18 12:10:05 +02:00 |
James Hawkins
|
36df6a0655
|
msi: Test adding nonpersistent strings to the string table.
|
2007-10-18 12:09:52 +02:00 |
James Hawkins
|
26f86c55c9
|
msi: Return ERROR_FUNCTION_FAILED if a matching row is not found.
|
2007-10-18 12:09:39 +02:00 |
James Hawkins
|
46ec7ee183
|
msi: Return ERROR_FUNCTION_FAILED when inserting duplicate keys.
|
2007-10-18 12:09:33 +02:00 |
James Hawkins
|
2e6ed06fdc
|
msi: Reimplement joins to allow joining any number of tables, each of arbitrary size.
|
2007-08-02 12:18:42 +02:00 |
James Hawkins
|
4f6a93b9c8
|
msi: Add tests for joining three tables.
|
2007-08-02 12:18:42 +02:00 |
James Hawkins
|
5e81dbebb0
|
msi: Treat an empty string and a NULL string as the same value.
|
2007-07-30 15:26:51 +02:00 |
James Hawkins
|
ac1f717ab8
|
msi: Keep track of the wildcard record index.
|
2007-07-30 12:51:47 +02:00 |
James Hawkins
|
b830fb0a34
|
msi: Implement the MSIMODIFY_UPDATE command in the SELECT view.
|
2007-07-27 12:24:39 +02:00 |
James Hawkins
|
b0ac20e951
|
msi: Add more tests for MSIMODIFY_UPDATE.
|
2007-07-27 12:24:02 +02:00 |
James Hawkins
|
f4147ca004
|
msi: Add handling for the MSIMODIFY_UPDATE command.
|
2007-07-24 11:49:59 +02:00 |
James Hawkins
|
479aca4731
|
msi: Add tests for the MSIMODIFY_UPDATE command.
|
2007-07-24 11:49:50 +02:00 |
James Hawkins
|
ccef56f2cc
|
msi: Ref count temporary columns and release them when necessary.
|
2007-07-23 11:55:34 +02:00 |
James Hawkins
|
0fd733bf90
|
msi: Implement adding columns using the ALTER command.
|
2007-07-23 11:55:11 +02:00 |
James Hawkins
|
3b1ab76986
|
msi: Implement reference counting for tables, manipulated with the HOLD and FREE sql commands.
|
2007-07-19 12:00:43 +02:00 |
James Hawkins
|
0169533be8
|
msi: Add more tests for the ALTER command.
|
2007-07-19 11:59:59 +02:00 |
James Hawkins
|
1093eb83cd
|
msi: Add tests for adding properties in a transform.
|
2007-07-11 12:42:55 +02:00 |
James Hawkins
|
17ba74195b
|
msi: Handle adding columns in transforms.
|
2007-07-10 13:35:50 +02:00 |
James Hawkins
|
9285351ad3
|
msi: Test adding columns with data in a transform.
|
2007-07-10 13:35:39 +02:00 |
James Hawkins
|
5af06dec83
|
msi: Delete msifile after the tests.
|
2007-07-10 13:35:31 +02:00 |
James Hawkins
|
dfa1b1299c
|
msi: Match the changes made by the hand-generated and API-generated transforms.
|
2007-07-10 13:35:11 +02:00 |
James Hawkins
|
9309f4dfa0
|
msi: Properly delete rows from the table, instead of zeroing out the row.
|
2007-06-19 11:31:44 +02:00 |
Francois Gouget
|
4017334ed4
|
msi/tests: Add missing '\n' to ok() call.
|
2007-04-30 12:34:58 +02:00 |
James Hawkins
|
da55285acb
|
msi: Implement special handling for the _Streams table.
|
2007-04-25 12:44:37 +02:00 |
Rob Shearman
|
697d820eee
|
msi: All columns being temporary means the table is non-persistent.
The HOLD keyword just means that the non-persistent data in the table
should be kept around, not that the table is temporary.
|
2007-04-24 12:25:36 +02:00 |
Rob Shearman
|
44f7cb8858
|
msi: Add a persistent flag to tables.
Implement MSI_DatabaseIsTablePersistent.
|
2007-04-24 12:25:25 +02:00 |
Rob Shearman
|
a33cc3d859
|
msi: Don't add info to the _Columns table for non-persistent tables.
|
2007-04-24 12:24:59 +02:00 |
James Hawkins
|
d677bd7f3b
|
msi: Return MSICONDITION_NONE in MsiDatabaseIsTablePersistent if the table doesn't exist.
|
2007-04-23 14:00:24 +02:00 |
Francois Gouget
|
d9e8a0f63e
|
Remove unneeded checks on the GetModuleHandle() return value for cases where we are linked with the dll.
|
2007-03-28 12:36:13 +02:00 |
James Hawkins
|
a40d687133
|
msi: Add tests for using markers in SELECT clauses.
|
2007-02-26 13:56:24 +01:00 |
Marcus Meissner
|
f0280cbd1e
|
made functions and variables static in some testcases.
|
2006-12-11 12:18:29 +01:00 |
Mike McCormack
|
08d1398d97
|
msi: Double quotes are not valid in queries.
|
2006-12-04 12:41:08 +01:00 |
Mike McCormack
|
ef1af6ada7
|
msi: Add tests for quoting in queries.
|
2006-12-04 12:40:59 +01:00 |
Mike McCormack
|
2f2143b4ec
|
msi: Add a test showing which tables are special.
|
2006-11-17 11:14:31 +01:00 |
Francois Gouget
|
30e44c85c8
|
Assorted spelling fixes.
|
2006-11-07 15:25:24 +01:00 |
Mike McCormack
|
50e5caeb6c
|
msi: Fix WHERE IS (NOT) NULL queries.
|
2006-11-07 15:06:57 +01:00 |
Mike McCormack
|
2b943bfddc
|
msi: Fix regression tests failing on Windows.
|
2006-11-07 15:06:49 +01:00 |
Mike McCormack
|
aaa0dc0425
|
msi: Fix a handle leak in the tests.
|
2006-11-02 12:25:00 +01:00 |
Mike McCormack
|
d65e80c85e
|
msi: Add a test showing a join doesn't need a WHERE clause.
|
2006-10-31 11:57:46 +01:00 |
Mike McCormack
|
c6124db905
|
msi: Use a simpler algorithm for joins.
|
2006-10-31 11:57:40 +01:00 |
Mike McCormack
|
8fc5fbe7ab
|
msi: Test the data returned by join queries in one ok().
|
2006-10-31 11:57:23 +01:00 |
Mike McCormack
|
57443e0112
|
msi: Fix the ALTER and FREE keywords in the tokenizer.
|
2006-10-31 11:56:49 +01:00 |
Mike McCormack
|
1582f58036
|
msi: Fix the join algorithm.
|
2006-10-26 12:56:10 +02:00 |
Mike McCormack
|
6c95dc644c
|
msi: Allow UPDATE queries without a condition.
|
2006-10-26 12:56:10 +02:00 |
Mike McCormack
|
4a32845a56
|
msi: Fixed the UPDATE query to work with explicit values.
|
2006-10-26 12:56:09 +02:00 |
James Hawkins
|
62aedea856
|
msi: Add tests for the UPDATE sql command.
|
2006-10-26 12:56:09 +02:00 |
Mike McCormack
|
f6c7ae6a0c
|
msi: Fix insertion of null integers into a table.
|
2006-10-23 12:38:56 +02:00 |
Mike McCormack
|
8858011375
|
msi: Add the column type INTEGER as an alias for INT.
|
2006-10-23 12:38:51 +02:00 |
James Hawkins
|
fcd57a3fc4
|
msi: Add tests for integer column types.
|
2006-10-20 11:41:09 +02:00 |
James Hawkins
|
279f8158f8
|
msi: Integer columns can have the 'NOT NULL' modifier too.
|
2006-10-20 11:41:09 +02:00 |
James Hawkins
|
a66584e1a2
|
msi: Allow more than one primary key in a table when importing a database.
|
2006-10-20 11:41:09 +02:00 |
Alexandre Julliard
|
11894cc77e
|
msi/tests: Make sure to delete the test data file.
|
2006-10-18 11:51:05 +02:00 |
Mike McCormack
|
98a42ad575
|
msi: Fix tables with binary data where the key is an integer.
|
2006-10-17 11:17:43 +02:00 |
Mike McCormack
|
1f737c035e
|
msi: Stream fields shouldn't be treated as strings.
|
2006-10-17 11:17:34 +02:00 |
Mike McCormack
|
fbddd9060f
|
msi: Add a test for modifying a table containing binary data.
|
2006-10-17 11:16:45 +02:00 |
Mike McCormack
|
9187951ac7
|
msi: Handle the sign properly when converting integer data.
|
2006-10-12 14:58:39 +02:00 |
Mike McCormack
|
60ea01a4f2
|
msi: Test transforms removing a row in a table.
|
2006-10-12 11:32:36 +02:00 |
Mike McCormack
|
8f56ae8b3a
|
msi: Tests for transforms modifying rows in a table.
|
2006-10-12 11:32:27 +02:00 |
Mike McCormack
|
ee55546d34
|
msi: Check that transforms return the correct data.
|
2006-10-11 12:09:32 +02:00 |
Michael Ploujnikov
|
e86296a47f
|
msi/tests: Win64 printf format warning fixes.
|
2006-10-10 13:36:49 +02:00 |
Mike McCormack
|
e9c5e93fda
|
msi: Fix handle leaks in the test cases.
|
2006-10-10 12:10:18 +02:00 |
Mike McCormack
|
2e19d49538
|
msi: Check that transforms preserve tables.
|
2006-10-05 11:32:27 +02:00 |
James Hawkins
|
6be7ba7546
|
msi: Implement MsiDatabaseImport.
|
2006-10-03 20:18:38 +02:00 |
Benjamin Arai
|
4195697cc1
|
msi: Adds test to check "JOIN" operator with "*" operator for the SELECT clause returns the correct results.
|
2006-09-21 11:26:13 +02:00 |
Benjamin Arai
|
a35ff56580
|
msi: Adds test to check if basic "JOIN" operator without "WHERE" clause returns the correct results.
|
2006-09-21 11:26:05 +02:00 |
Benjamin Arai
|
f84c1463c1
|
msi: Adds test to check if "AND" operator returns the correct result for the "WHERE" clause.
|
2006-09-20 20:04:21 +02:00 |
Benjamin Arai
|
32d002c7ed
|
msi: Adds tests to check if joins return the correct number of rows.
|
2006-09-20 20:04:01 +02:00 |
Benjamin Arai
|
d4c6b06ed7
|
msi: Updates tests for joins to include row and column ids in message.
|
2006-09-20 20:03:54 +02:00 |
Mike McCormack
|
60d92d42a3
|
msi: Fix a couple of test cases for MsiDatabaseIsTablePersistent.
|
2006-09-13 12:19:54 +02:00 |
Mike McCormack
|
61c1dd2b32
|
msi: Add a test for ALTER TABLE.
|
2006-09-13 11:44:06 +02:00 |
Mike McCormack
|
b4005c15f0
|
msi: Fix database creation.
|
2006-09-13 11:43:11 +02:00 |
James Hawkins
|
bfc1b5c15f
|
msi: Add more join tests.
|
2006-09-13 11:36:54 +02:00 |
Mike McCormack
|
74a6a1e71b
|
msi: Delete databases we create but never commit.
|
2006-09-13 10:58:42 +02:00 |
Mike McCormack
|
e1757fcad2
|
msi: Add some more tests for MsiOpenDatabase.
|
2006-09-12 11:01:25 +02:00 |
Mike McCormack
|
0fc2bd760c
|
msi: Add more tests for temporary columns.
|
2006-09-08 12:46:42 +02:00 |
Mike McCormack
|
77d3c59843
|
msi: Fix the TEMPORARY keyword for columns.
|
2006-09-08 12:46:32 +02:00 |
Mike McCormack
|
14ab62306c
|
msi: Add a test for MsiDatabaseIsTablePersistent.
|
2006-09-08 12:46:25 +02:00 |
James Hawkins
|
a302f03c65
|
msi: Allow non-key columns to be used with the join query.
|
2006-09-08 12:43:55 +02:00 |
James Hawkins
|
d8c13370b3
|
msi: Add tests for MSI SQL join queries.
|
2006-09-08 12:43:39 +02:00 |
James Hawkins
|
7e86590518
|
msi: Add more tests for the _Streams table.
|
2006-09-07 15:12:06 +02:00 |
Mike McCormack
|
d998543edb
|
msi: Add a short test for transforms.
|
2006-09-07 12:00:22 +02:00 |
Mike McCormack
|
12baa13ba5
|
msi: Make opening and closing 4000 handle into two tests, not 20000.
|
2006-09-07 12:00:00 +02:00 |
Mike McCormack
|
6991563d81
|
msi: Implement MsiDatabaseExport.
|
2006-09-07 11:01:07 +02:00 |
Mike McCormack
|
5699936cf1
|
msi: Make sure there's a value for each column when inserting data.
|
2006-09-07 11:00:40 +02:00 |
Mike McCormack
|
533833b4e1
|
msi: Validate database fields before inserting them.
|
2006-09-07 11:00:32 +02:00 |
Mike McCormack
|
2924501a68
|
msi: Check that column names are unique when creating a table.
|
2006-09-07 10:57:45 +02:00 |
Dan Kegel
|
29f0803c02
|
msi: Remove limit on number of handles.
|
2006-08-28 17:49:31 +02:00 |
Dan Kegel
|
98ec9399c4
|
msi/tests: Add test to verify we can create 4000 msi handles.
|
2006-08-28 17:49:08 +02:00 |
Mike McCormack
|
5f832b2731
|
msi: Fix writing of long strings to the database.
|
2006-08-28 11:49:21 +02:00 |
Mike McCormack
|
b42f9df913
|
msi: Fix a couple of memory leaks in the test code.
|
2006-08-16 12:53:57 +02:00 |
Andrew Talbot
|
72ac6f5d4e
|
msi/tests: Write-strings warnings fix.
|
2006-08-02 22:04:00 +02:00 |
James Hawkins
|
91ec65d7f1
|
msi: Add tests for SQL query markers.
|
2006-08-02 11:45:26 +02:00 |
Andrew Talbot
|
81592e497b
|
msi/tests: Write-strings warnings fix.
|
2006-07-29 11:51:02 +02:00 |
James Hawkins
|
05bd17b8b7
|
msi: Add tests for MsiDatabaseImport.
|
2006-07-28 12:35:37 +02:00 |
Mike McCormack
|
65d12c342d
|
msi: Fix the value of LONG integers in records (suggested by James Hawkins).
|
2006-07-27 11:57:12 +02:00 |
Andrew Talbot
|
320da90632
|
msi/tests: Write-strings warnings fix.
|
2006-07-26 10:25:21 +02:00 |
Mike McCormack
|
4ab109e507
|
msi: Fix where queries on 32bit integer columns.
|
2006-07-25 11:22:43 +02:00 |
James Hawkins
|
8144e17169
|
msi: Add tests for the WHERE SQL clause.
|
2006-07-25 11:22:19 +02:00 |
Andrew Talbot
|
685e7007e1
|
msi/tests: Write-strings warnings fixes.
|
2006-06-19 09:21:42 +02:00 |
Mike McCormack
|
94dc36e5a6
|
msi: Add test for _Streams table (based on patch by Andrey Turkin).
|
2006-06-15 12:24:16 +02:00 |
Mike McCormack
|
863bc989b9
|
msi: Add a test for reading long strings.
|
2006-06-14 12:47:06 +02:00 |
Mike McCormack
|
2d323b3df8
|
msi: Add a test for creating a record with a long string.
|
2006-06-14 12:47:05 +02:00 |
Mike McCormack
|
d2dca89c52
|
msi: Add a test for MsiDatabaseExport.
|
2006-06-14 12:47:05 +02:00 |
Mike McCormack
|
a28ebdf7d4
|
msi: Add some more test cases for INSERT.
|
2006-06-12 16:04:31 +02:00 |
Mike McCormack
|
3c81969a55
|
msi: Remove an inconsistent test.
|
2006-06-12 16:02:53 +02:00 |
Mike McCormack
|
bbbcc2a1be
|
msi: Add some test cases for "SELECT ... WHERE condition".
|
2006-06-12 13:21:47 +02:00 |
EA Durbin
|
4e66d4791c
|
msi/tests: Fixed a typo.
|
2006-06-07 14:19:52 +02:00 |
Jonathan Ernst
|
360a3f9142
|
Update the address of the Free Software Foundation.
|
2006-05-23 14:11:13 +02:00 |
Mike McCormack
|
5c63332b4f
|
Fix passing of NULL pointers to MsiDecomposeDescriptor and add a
test.
|
2005-11-09 10:59:20 +00:00 |
Saulius Krasuckas
|
056d96939b
|
Win9x returns MSIDBERROR_NOERROR.
|
2005-11-05 10:42:57 +00:00 |
Mike McCormack
|
8e74308a10
|
Fix and test MsiViewGetColumnInfo and binary fields.
|
2005-09-28 11:59:40 +00:00 |
Saulius Krasuckas
|
a9476d4edf
|
Older platforms choke on a NULL as the third parameter to
MsiViewGetError.
|
2005-09-06 09:21:08 +00:00 |
Mike McCormack
|
34247aff40
|
Test case for MsiModifyView and MsiViewGetError.
|
2005-08-24 11:10:39 +00:00 |
Stefan Huehner
|
ac6f562b52
|
Fix more -Wstrict-prototypes warnings.
|
2005-06-20 14:18:03 +00:00 |
Mike McCormack
|
b58a098a11
|
-Wmissing-declarations and -Wwrite-strings warning fixes.
|
2005-05-29 20:08:12 +00:00 |
Alexandre Julliard
|
f271224f44
|
Authors: Mike McCormack <mike@codeweavers.com>, Aric Stewart <aric@codeweavers.com>
Add format record tests.
|
2005-05-27 19:25:42 +00:00 |
Mike McCormack
|
d31f12964b
|
Only tables can be backquoted, strings must be single quoted.
|
2005-05-19 11:15:37 +00:00 |
Aric Stewart
|
41fbee0e83
|
Correct a missing MsiCloseHandle().
|
2005-05-07 12:12:56 +00:00 |
Francois Gouget
|
3b36eee083
|
Add trailing '\n's to ok() calls.
|
2005-04-19 09:48:44 +00:00 |
Aric Stewart
|
8760ed97f2
|
Test package creation.
|
2005-03-22 16:45:55 +00:00 |
Dmitry Timoshkov
|
dd1ba8a7d8
|
Remove a temporary msi database file.
|
2005-02-26 17:41:36 +00:00 |
Mike McCormack
|
c04ce10bdd
|
Test different types of dodgy queries.
|
2005-01-27 10:43:27 +00:00 |
Mike McCormack
|
5af66fef43
|
Implement, test and document MsiDecomposeDescriptor.
|
2005-01-25 16:41:33 +00:00 |
Mike McCormack
|
5007de8b05
|
Fix and test inserting records.
|
2005-01-20 20:39:15 +00:00 |
Francois Gouget
|
87b0906789
|
Assorted spelling fixes.
|
2005-01-10 13:29:24 +00:00 |
Mike McCormack
|
23b291a642
|
Add a simple test case for MSI databases.
|
2005-01-05 13:26:34 +00:00 |