diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2020-04-05 19:15:44 +1000 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2020-04-05 21:38:25 +1000 |
commit | fcd88ec3995033bf802f0a637e7fce65e8739006 (patch) | |
tree | b16be33e76eab83377102bb11edd56f0ee368ff1 /src/test/Example.Extension/ExampleTableDefinitions.cs | |
parent | 05acd26c0dbb86bccb1075e55a77f94da1d22b4f (diff) | |
download | wix-fcd88ec3995033bf802f0a637e7fce65e8739006.tar.gz wix-fcd88ec3995033bf802f0a637e7fce65e8739006.tar.bz2 wix-fcd88ec3995033bf802f0a637e7fce65e8739006.zip |
Add test around ActionText and fix the table definition to get it passing.
Diffstat (limited to 'src/test/Example.Extension/ExampleTableDefinitions.cs')
-rw-r--r-- | src/test/Example.Extension/ExampleTableDefinitions.cs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/test/Example.Extension/ExampleTableDefinitions.cs b/src/test/Example.Extension/ExampleTableDefinitions.cs index 5dbf6d64..124e2406 100644 --- a/src/test/Example.Extension/ExampleTableDefinitions.cs +++ b/src/test/Example.Extension/ExampleTableDefinitions.cs | |||
@@ -8,13 +8,14 @@ namespace Example.Extension | |||
8 | { | 8 | { |
9 | public static readonly TableDefinition ExampleTable = new TableDefinition( | 9 | public static readonly TableDefinition ExampleTable = new TableDefinition( |
10 | "Wix4Example", | 10 | "Wix4Example", |
11 | ExampleTupleDefinitions.Example.Name, | ||
12 | new[] | 11 | new[] |
13 | { | 12 | { |
14 | new ColumnDefinition("Example", ColumnType.String, 72, true, false, ColumnCategory.Identifier), | 13 | new ColumnDefinition("Example", ColumnType.String, 72, true, false, ColumnCategory.Identifier), |
15 | new ColumnDefinition("Value", ColumnType.String, 0, false, false, ColumnCategory.Formatted), | 14 | new ColumnDefinition("Value", ColumnType.String, 0, false, false, ColumnCategory.Formatted), |
16 | } | 15 | }, |
17 | ); | 16 | tupleDefinitionName: ExampleTupleDefinitions.Example.Name, |
17 | tupleIdIsPrimaryKey: true | ||
18 | ); | ||
18 | 19 | ||
19 | public static readonly TableDefinition[] All = new[] { ExampleTable }; | 20 | public static readonly TableDefinition[] All = new[] { ExampleTable }; |
20 | } | 21 | } |