Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | More testing of the SQLiteConnectionStringBuilder class. Modify anchor names in the release procedures wiki page. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
6853b38030c209c7ab260413d25a0182 |
User & Date: | mistachkin 2011-12-20 04:38:07.576 |
Context
2011-12-20
| ||
05:26 | Enhance SQLiteConnectionStringBuilder class property test to make sure that all property values make it completely through the processing. check-in: d64df7a8cf user: mistachkin tags: trunk | |
04:38 | More testing of the SQLiteConnectionStringBuilder class. Modify anchor names in the release procedures wiki page. check-in: 6853b38030 user: mistachkin tags: trunk | |
00:07 | Correction to the previous commit. Actually, instead of throwing exceptions directly, always attempt to convert non-null values to the required type and let the converter itself throw an exception if necessary. check-in: 4fbdb092f8 user: mistachkin tags: trunk | |
Changes
Changes to Tests/basic.eagle.
︙ | ︙ | |||
845 846 847 848 849 850 851 | set code [compileCSharpWith [subst { using System.Data.SQLite; namespace _Dynamic${id} { public class Test${id} { | | > > > | 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 | set code [compileCSharpWith [subst { using System.Data.SQLite; namespace _Dynamic${id} { public class Test${id} { public static string GetConnectionString( string format, string kind ) { SQLiteConnectionStringBuilder builder = new SQLiteConnectionStringBuilder(); builder.Add("Date Source", "test.db"); builder.Add("DateTimeFormat", format); builder.Add("DateTimeKind", kind); |
︙ | ︙ | |||
891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 | unset -nocomplain result results errors code id } -constraints \ {eagle monoBug28 command.sql compile.DATA SQLite System.Data.SQLite} -match \ regexp -result {^Ok System#CodeDom#Compiler#CompilerResults#\d+ \{\} 0 \{Date\ Source=test\.db\} 0 \{Date Source=test\.db;DateTimeFormat=ISO8601\} 0 \{Date\ Source=test\.db;DateTimeKind=Unspecified\} 0 \{Date\ Source=test\.db;DateTimeFormat=ISO8601;DateTimeKind=Utc\}$}} ############################################################################### unset -nocomplain testExeFile testLinqExeFile northwindEfDbFile testLinqOutFile ############################################################################### runSQLiteTestEpilogue runTestEpilogue | > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > | 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 | unset -nocomplain result results errors code id } -constraints \ {eagle monoBug28 command.sql compile.DATA SQLite System.Data.SQLite} -match \ regexp -result {^Ok System#CodeDom#Compiler#CompilerResults#\d+ \{\} 0 \{Date\ Source=test\.db\} 0 \{Date Source=test\.db;DateTimeFormat=ISO8601\} 0 \{Date\ Source=test\.db;DateTimeKind=Unspecified\} 0 \{Date\ Source=test\.db;DateTimeFormat=ISO8601;DateTimeKind=Utc\}$}} ############################################################################### runTest {test data-1.16 {SQLiteConnectionStringBuilder properties} -body { set id [object invoke Interpreter.GetActive NextId] unset -nocomplain results errors set code [compileCSharpWith [subst { using System.Data.SQLite; namespace _Dynamic${id} { public class Test${id} { public static string GetConnectionString( string key, string value ) { SQLiteConnectionStringBuilder builder = new SQLiteConnectionStringBuilder(); if (key != null) builder.Add(key, value); return builder.ToString(); } public static void Main() { // do nothing. } } } }] results errors System.Data.SQLite.dll] lappend results $code [expr {[info exists errors] ? $errors : ""}] if {$code eq "Ok"} then { set keys [list null Version Synchronous UseUTF16Encoding Pooling \ BinaryGUID "Data Source" Uri "Default Timeout" \ Enlist FailIfMissing "Legacy Format" "Read Only" \ Password "Page Size" "Max Page Count" "Cache Size" \ DateTimeFormat DateTimeKind BaseSchemaName \ "Journal Mode" "Default IsolationLevel" "Foreign Keys"] set values [list null 3 Full True False \ True test.db test.db 60 \ False True False True \ secret 4096 1024 8192 \ UnixEpoch Utc sqlite_schema \ Memory Serializable False] foreach key $keys value $values { set code [catch { object invoke _Dynamic${id}.Test${id} GetConnectionString $key $value } result] lappend results $code $result } } set results } -cleanup { unset -nocomplain value key values keys result results errors code id } -constraints \ {eagle monoBug28 command.sql compile.DATA SQLite System.Data.SQLite} -match \ regexp -result {^System#CodeDom#Compiler#CompilerResults#\d+ Ok \{\} 0 \{\} 0\ Version=3 0 Synchronous=Full 0 UseUTF16Encoding=True 0 Pooling=False 0\ BinaryGUID=True 0 \{Data Source=test\.db\} 0 Uri=test\.db 0 \{Default\ Timeout=60\} 0 Enlist=False 0 FailIfMissing=True 0 \{Legacy Format=False\} 0\ \{Read Only=True\} 0 Password=secret 0 \{Page Size=4096\} 0 \{Max Page\ Count=1024\} 0 \{Cache Size=8192\} 0 DateTimeFormat=UnixEpoch 0\ DateTimeKind=Utc 0 BaseSchemaName=sqlite_schema 0 \{Journal Mode=Memory\} 0\ \{Default IsolationLevel=Serializable\} 0 \{Foreign Keys=False\}$}} ############################################################################### unset -nocomplain testExeFile testLinqExeFile northwindEfDbFile testLinqOutFile ############################################################################### runSQLiteTestEpilogue runTestEpilogue |
Changes to www/release.wiki.
1 2 | <title>Release Procedures</title> | | | 1 2 3 4 5 6 7 8 9 10 | <title>Release Procedures</title> <a name="releaseProcedures"></a> <h2>Release Procedures</h2> <p> Follow these steps to prepare a new release of System.Data.SQLite. Unless otherwise noted, all steps need to be done in the order specified. </p> |
︙ | ︙ | |||
24 25 26 27 28 29 30 | <li> Enter the following command to build all the x86 and x64 binaries: <b>build_all.bat</b><br /> </li> </ol> | | | 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | <li> Enter the following command to build all the x86 and x64 binaries: <b>build_all.bat</b><br /> </li> </ol> <a name="buildCeBinaries"></a> <h2>Build Windows CE Binaries</h2> <ol> <li>Open a normal command prompt window with "cmd.exe".</li> <li>Change the current directory to "<root>\Setup".</li> |
︙ | ︙ | |||
73 74 75 76 77 78 79 | [http://www.activestate.com/activetcl | ActiveTcl] version 8.4 or later, the [http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=21138 | HTML Help Workshop], and [http://ndoc3.sourceforge.net/ | NDoc3] have all been installed using the default settings.</i> </li> </ol> | | | | | | | | 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 | [http://www.activestate.com/activetcl | ActiveTcl] version 8.4 or later, the [http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=21138 | HTML Help Workshop], and [http://ndoc3.sourceforge.net/ | NDoc3] have all been installed using the default settings.</i> </li> </ol> <a name="buildSetupPackages"></a> <h2>Build Setup Release Packages</h2> <ol> <li>Open a normal command prompt window with "cmd.exe".</li> <li>Change the current directory to "<root>\Setup".</li> <li> Enter the following command to build all the setup packages for x86 and x64: <b>bake_all.bat</b><br /> </li> </ol> <a name="buildBinaryPackages"></a> <h2>Build x86 & x64 Binary Release Packages</h2> <ol> <li>Open a normal command prompt window with "cmd.exe".</li> <li>Change the current directory to "<root>\Setup".</li> <li> Enter the following command to build all the binary release packages for x86 and x64: <b>release_all.bat</b><br /> </li> </ol> <a name="buildStaticBinaryPackages"></a> <h2>Build x86 & x64 Static Binary Release Packages</h2> <ol> <li>Open a normal command prompt window with "cmd.exe".</li> <li>Change the current directory to "<root>\Setup".</li> <li> Enter the following command to build all the static binary release packages for x86 and x64: <b>release_static.bat</b><br /> </li> </ol> <a name="buildCeBinaryPackages"></a> <h2>Build Windows CE Binary Release Packages</h2> <ol> <li>Open a normal command prompt window with "cmd.exe".</li> <li>Change the current directory to "<root>\Setup".</li> <li> Enter the following command to build all the binary release packages for Windows CE: <b>release_ce.bat</b><br /> </li> </ol> <a name="buildSourcePackages"></a> <h2>Build Source Release Packages</h2> <ol> <li>Open a normal command prompt window with "cmd.exe".</li> <li>Change the current directory to "<root>\Setup".</li> <li> Enter the following command to build all the source release packages: <b>archive.bat</b><br /> </li> </ol> <a name="updateDownloadsPage"></a> <h2>Update Downloads Page</h2> <ol> <li>Open a normal command prompt window with "cmd.exe".</li> <li>Change the current directory to "<root>\Setup".</li> |
︙ | ︙ |