Hib Eris
|
5e829d1323
|
msi: Fix SHORT column data type.
|
2009-04-28 13:10:03 +02:00 |
Hib Eris
|
407866186c
|
msi/tests: Test type for INTEGER, SHORT, LONG columns.
|
2009-04-28 13:10:03 +02:00 |
Hib Eris
|
15cb7290ee
|
msi: Fix INT column data type.
|
2009-04-28 13:10:03 +02:00 |
Hib Eris
|
fa8f8a3efc
|
msi/tests: Test type for INT column.
|
2009-04-28 13:10:03 +02:00 |
James Hawkins
|
9540d762ad
|
msi: Handle reading from a NULL stream.
|
2009-03-02 12:06:37 +01:00 |
James Hawkins
|
2f1eacfcad
|
msi: Don't treat carriage returns as spaces.
|
2009-03-02 12:06:30 +01:00 |
James Hawkins
|
7f3faffc3b
|
msi: Don't allow nested quotes in SQL queries.
|
2009-03-02 12:06:24 +01:00 |
James Hawkins
|
e821f9d724
|
msi: Add missing calls to MsiViewClose.
|
2009-03-02 12:06:18 +01:00 |
James Hawkins
|
37c5e04010
|
msi: The _Streams and _Storages table are special and always exist.
|
2009-03-02 12:05:45 +01:00 |
James Hawkins
|
c9b3bc1165
|
msi: Column attributes for temporary string and int columns should be g and j respectively.
|
2009-03-02 12:05:28 +01:00 |
James Hawkins
|
c07b554edc
|
msi: Order primary keys to be first in the column list when creating a table.
|
2009-03-02 12:05:09 +01:00 |
James Hawkins
|
b3c9875cf7
|
msi: Correctly order transposed column values in the INSERT query.
|
2009-03-02 12:04:57 +01:00 |
James Hawkins
|
ea28915133
|
msi: Don't create a temporary table that is not held.
|
2009-02-26 12:14:01 +01:00 |
James Hawkins
|
241933e13c
|
msi: A non-temporary table cannot have a temporary primary key.
|
2009-02-26 12:13:57 +01:00 |
James Hawkins
|
74aa053485
|
msi: The _Tables and _Columns tables have no persistence attribute.
|
2009-02-26 12:13:52 +01:00 |
James Hawkins
|
2f8c2a8d41
|
msi: Make sure the view being updated is the same view the record was fetched from.
|
2009-02-26 12:13:49 +01:00 |
James Hawkins
|
60ad75eade
|
msi: Make sure a constant string's quotes match up.
|
2009-02-26 12:13:02 +01:00 |
Alasdair Sinclair
|
0bd6da81c5
|
msi/tests: Fix missing void in empty parameter list.
|
2009-01-29 12:19:44 +01:00 |
Alexandre Julliard
|
35811a9078
|
msi/tests: Use CreateFile instead of OpenFile to avoid handle casts.
|
2009-01-08 13:05:27 +01:00 |
Michael Stefaniuc
|
6bd893a960
|
msi: Change MSIHANDLE to ULONG for Win64 compatibility.
Also fix the compiler warnings produced by this change.
|
2009-01-05 12:34:12 +01:00 |
Francois Gouget
|
0d7cb11fdf
|
msi/tests: Make enum_stream_names() and package_RegDeleteTreeW() static.
|
2008-12-15 12:25:48 +01:00 |
James Hawkins
|
2abb8bba13
|
msi: Factor out the table insertion code.
|
2008-11-04 11:23:07 +01:00 |
Nicolas Le Cam
|
cec5d3f514
|
msi/tests: Fix a failing test on all platforms up to and including win2k.
|
2008-10-28 12:13:53 +01:00 |
James Hawkins
|
acfc915914
|
msi: Fix a failing test in win9x.
|
2008-10-24 14:25:01 +02:00 |
Alexandre Julliard
|
87e21fe585
|
msi/tests: Clean up the binary.dat file.
|
2008-10-09 14:27:21 +02:00 |
James Hawkins
|
f03889ae82
|
msi: Add initial implementation of MsiDatabaseMerge, with tests.
|
2008-10-09 12:58:25 +02:00 |
James Hawkins
|
7cd6736886
|
msi: Add tests for dropping tables with multiple columns.
|
2008-10-07 12:13:52 +02:00 |
James Hawkins
|
62c544cf4f
|
msi: Implement the DROP TABLE sql command.
|
2008-10-06 13:05:52 +02:00 |
James Hawkins
|
1ed12b76e1
|
msi: Add tests for opening a package from a database.
|
2008-07-09 10:44:54 +02:00 |
James Hawkins
|
ccd030c7d3
|
msi: Add handling for the special _Storages table.
|
2008-07-08 10:50:04 +02:00 |
James Hawkins
|
ae9b579135
|
msi: Properly add a storage to the database and verify its contents.
|
2008-07-08 10:48:33 +02:00 |
James Hawkins
|
d9ac95be5b
|
msi: Test the special _Storages table.
|
2008-07-02 12:04:08 +02:00 |
Austin English
|
5644f05edf
|
msi: Spelling fixes.
|
2008-04-08 12:25:13 +02:00 |
James Hawkins
|
4d9c17da02
|
msi: Don't execute the view again when modifying a WHERE query.
|
2008-04-07 11:27:39 +02:00 |
James Hawkins
|
85866317c5
|
msi: Don't reorder the table when matching rows as the results are already ordered.
|
2008-04-07 11:27:15 +02:00 |
James Hawkins
|
061085fa94
|
msi: Fix joining a nonexistent table with another table.
|
2008-04-03 11:30:01 +02:00 |
James Hawkins
|
bed661aef4
|
msi: Handle sorting an empty table.
|
2008-04-02 12:31:01 +02:00 |
James Hawkins
|
0b98ce8ff5
|
msi: Clean up the db when skipping the tests.
|
2008-03-20 14:27:35 +01:00 |
James Hawkins
|
97f1afbd3b
|
msi: Skip the endlines test if the table fails on import.
|
2008-03-18 11:15:34 +01:00 |
James Hawkins
|
40aa7df344
|
msi: Implement the MSIMODIFY_REFRESH command of MsiViewModify.
|
2008-02-18 12:41:37 +01:00 |
James Hawkins
|
30e5321867
|
msi: Add tests for the MSIMODIFY_REFRESH command.
|
2008-02-18 12:41:37 +01:00 |
James Hawkins
|
ec086f77e3
|
msi: Handle carriage returns in MsiDatabaseImport.
|
2008-02-12 22:59:53 +01:00 |
James Hawkins
|
00cfd2899b
|
msi: Use MsiViewModify instead of building a SQL query when adding rows to the table.
|
2008-02-12 22:59:46 +01:00 |
James Hawkins
|
a8d87a86cc
|
msi: Handle the special table _ForceCodepage in MsiDatabaseExport.
|
2008-02-11 20:42:29 +01:00 |
James Hawkins
|
7d529228d3
|
msi: Add tests for not using quotes in SQL queries.
|
2008-02-11 20:42:19 +01:00 |
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 |