Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Use the 'getTemporaryDirectory' helper procedure in the test suite. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
f4e188e696bd7167d60ca95adae00bdd |
User & Date: | mistachkin 2017-10-10 21:45:29.462 |
Context
2017-10-10
| ||
21:46 | Use an already existing local variable for a connection handle instead of re-querying a field. check-in: 890d132eaf user: mistachkin tags: trunk | |
21:45 | Use the 'getTemporaryDirectory' helper procedure in the test suite. check-in: f4e188e696 user: mistachkin tags: trunk | |
21:40 | Refactor how logging flags and exception handling are performed. check-in: 6fbb8f60e9 user: mistachkin tags: trunk | |
Changes
Changes to Tests/installer.eagle.
︙ | ︙ | |||
24 25 26 27 28 29 30 | proc getLineNumber {} { return [incr ::lineNumber] } ############################################################################### runTest {test installer-1.1 {installer tool / Visual Studio 2005} -setup { | | | | 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | proc getLineNumber {} { return [incr ::lineNumber] } ############################################################################### runTest {test installer-1.1 {installer tool / Visual Studio 2005} -setup { set fileName [file join [getTemporaryDirectory] [file tail [string map \ [list .log [appendArgs _ [pid] .log]] $testInstallVs2005LogFile]]] cleanupFile $fileName } -body { set output "" set code [catch { testClrExec $installerExeFile [list -eventflags Wait -stdout output \ |
︙ | ︙ | |||
66 67 68 69 70 71 72 | visualStudio2005 System.Data.SQLite.dll_v2.0.50727 file_Installer.exe testExec\ file_System.Data.SQLite.dll file_SQLite.Designer.dll\ file_Installer_Test_Vs2005.log}] -result {0 True}} ############################################################################### runTest {test installer-1.2 {uninstaller tool / Visual Studio 2005} -setup { | | | | 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 | visualStudio2005 System.Data.SQLite.dll_v2.0.50727 file_Installer.exe testExec\ file_System.Data.SQLite.dll file_SQLite.Designer.dll\ file_Installer_Test_Vs2005.log}] -result {0 True}} ############################################################################### runTest {test installer-1.2 {uninstaller tool / Visual Studio 2005} -setup { set fileName [file join [getTemporaryDirectory] [file tail [string map \ [list .log [appendArgs _ [pid] .log]] $testUninstallVs2005LogFile]]] cleanupFile $fileName } -body { set output "" set code [catch { testClrExec $installerExeFile [list -eventflags Wait -stdout output \ |
︙ | ︙ | |||
108 109 110 111 112 113 114 | visualStudio2005 System.Data.SQLite.dll_v2.0.50727 file_Installer.exe testExec\ file_System.Data.SQLite.dll file_SQLite.Designer.dll\ file_Uninstaller_Test_Vs2005.log}] -result {0 True}} ############################################################################### runTest {test installer-1.3 {installer tool / Visual Studio 2008} -setup { | | | | 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 | visualStudio2005 System.Data.SQLite.dll_v2.0.50727 file_Installer.exe testExec\ file_System.Data.SQLite.dll file_SQLite.Designer.dll\ file_Uninstaller_Test_Vs2005.log}] -result {0 True}} ############################################################################### runTest {test installer-1.3 {installer tool / Visual Studio 2008} -setup { set fileName [file join [getTemporaryDirectory] [file tail [string map \ [list .log [appendArgs _ [pid] .log]] $testInstallVs2008LogFile]]] cleanupFile $fileName } -body { set output "" set code [catch { testClrExec $installerExeFile [list -eventflags Wait -stdout output \ |
︙ | ︙ | |||
150 151 152 153 154 155 156 | visualStudio2008 System.Data.SQLite.dll_v2.0.50727 file_Installer.exe testExec\ file_System.Data.SQLite.dll file_System.Data.SQLite.Linq.dll\ file_SQLite.Designer.dll file_Installer_Test_Vs2008.log}] -result {0 True}} ############################################################################### runTest {test installer-1.4 {uninstaller tool / Visual Studio 2008} -setup { | | | | 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 | visualStudio2008 System.Data.SQLite.dll_v2.0.50727 file_Installer.exe testExec\ file_System.Data.SQLite.dll file_System.Data.SQLite.Linq.dll\ file_SQLite.Designer.dll file_Installer_Test_Vs2008.log}] -result {0 True}} ############################################################################### runTest {test installer-1.4 {uninstaller tool / Visual Studio 2008} -setup { set fileName [file join [getTemporaryDirectory] [file tail [string map \ [list .log [appendArgs _ [pid] .log]] $testUninstallVs2008LogFile]]] cleanupFile $fileName } -body { set output "" set code [catch { testClrExec $installerExeFile [list -eventflags Wait -stdout output \ |
︙ | ︙ | |||
192 193 194 195 196 197 198 | visualStudio2008 System.Data.SQLite.dll_v2.0.50727 file_Installer.exe testExec\ file_System.Data.SQLite.dll file_System.Data.SQLite.Linq.dll\ file_SQLite.Designer.dll file_Uninstaller_Test_Vs2008.log}] -result {0 True}} ############################################################################### runTest {test installer-1.5 {installer tool / Visual Studio 2010} -setup { | | | | 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 | visualStudio2008 System.Data.SQLite.dll_v2.0.50727 file_Installer.exe testExec\ file_System.Data.SQLite.dll file_System.Data.SQLite.Linq.dll\ file_SQLite.Designer.dll file_Uninstaller_Test_Vs2008.log}] -result {0 True}} ############################################################################### runTest {test installer-1.5 {installer tool / Visual Studio 2010} -setup { set fileName [file join [getTemporaryDirectory] [file tail [string map \ [list .log [appendArgs _ [pid] .log]] $testInstallVs2010LogFile]]] cleanupFile $fileName } -body { set output "" set code [catch { testClrExec $installerExeFile [list -eventflags Wait -stdout output \ |
︙ | ︙ | |||
235 236 237 238 239 240 241 | file_System.Data.SQLite.dll file_System.Data.SQLite.Linq.dll\ file_System.Data.SQLite.EF6.dll file_SQLite.Designer.dll\ file_Installer_Test_Vs2010.log}] -result {0 True}} ############################################################################### runTest {test installer-1.6 {uninstaller tool / Visual Studio 2010} -setup { | | | | 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 | file_System.Data.SQLite.dll file_System.Data.SQLite.Linq.dll\ file_System.Data.SQLite.EF6.dll file_SQLite.Designer.dll\ file_Installer_Test_Vs2010.log}] -result {0 True}} ############################################################################### runTest {test installer-1.6 {uninstaller tool / Visual Studio 2010} -setup { set fileName [file join [getTemporaryDirectory] [file tail [string map \ [list .log [appendArgs _ [pid] .log]] $testUninstallVs2010LogFile]]] cleanupFile $fileName } -body { set output "" set code [catch { testClrExec $installerExeFile [list -eventflags Wait -stdout output \ |
︙ | ︙ | |||
278 279 280 281 282 283 284 | file_System.Data.SQLite.dll file_System.Data.SQLite.Linq.dll\ file_System.Data.SQLite.EF6.dll file_SQLite.Designer.dll\ file_Uninstaller_Test_Vs2010.log}] -result {0 True}} ############################################################################### runTest {test installer-1.7 {installer tool / Visual Studio 2012} -setup { | | | | 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 | file_System.Data.SQLite.dll file_System.Data.SQLite.Linq.dll\ file_System.Data.SQLite.EF6.dll file_SQLite.Designer.dll\ file_Uninstaller_Test_Vs2010.log}] -result {0 True}} ############################################################################### runTest {test installer-1.7 {installer tool / Visual Studio 2012} -setup { set fileName [file join [getTemporaryDirectory] [file tail [string map \ [list .log [appendArgs _ [pid] .log]] $testInstallVs2012LogFile]]] cleanupFile $fileName } -body { set output "" set code [catch { testClrExec $installerExeFile [list -eventflags Wait -stdout output \ |
︙ | ︙ | |||
322 323 324 325 326 327 328 | file_System.Data.SQLite.dll file_System.Data.SQLite.Linq.dll\ file_System.Data.SQLite.EF6.dll file_SQLite.Designer.dll\ file_Installer_Test_Vs2012.log}] -result {0 True}} ############################################################################### runTest {test installer-1.8 {uninstaller tool / Visual Studio 2012} -setup { | | | | 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 | file_System.Data.SQLite.dll file_System.Data.SQLite.Linq.dll\ file_System.Data.SQLite.EF6.dll file_SQLite.Designer.dll\ file_Installer_Test_Vs2012.log}] -result {0 True}} ############################################################################### runTest {test installer-1.8 {uninstaller tool / Visual Studio 2012} -setup { set fileName [file join [getTemporaryDirectory] [file tail [string map \ [list .log [appendArgs _ [pid] .log]] $testUninstallVs2012LogFile]]] cleanupFile $fileName } -body { set output "" set code [catch { testClrExec $installerExeFile [list -eventflags Wait -stdout output \ |
︙ | ︙ | |||
366 367 368 369 370 371 372 | file_System.Data.SQLite.dll file_System.Data.SQLite.Linq.dll\ file_System.Data.SQLite.EF6.dll file_SQLite.Designer.dll\ file_Uninstaller_Test_Vs2012.log}] -result {0 True}} ############################################################################### runTest {test installer-1.9 {installer tool / Visual Studio 2013} -setup { | | | | 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 | file_System.Data.SQLite.dll file_System.Data.SQLite.Linq.dll\ file_System.Data.SQLite.EF6.dll file_SQLite.Designer.dll\ file_Uninstaller_Test_Vs2012.log}] -result {0 True}} ############################################################################### runTest {test installer-1.9 {installer tool / Visual Studio 2013} -setup { set fileName [file join [getTemporaryDirectory] [file tail [string map \ [list .log [appendArgs _ [pid] .log]] $testInstallVs2013LogFile]]] cleanupFile $fileName } -body { set output "" set code [catch { testClrExec $installerExeFile [list -eventflags Wait -stdout output \ |
︙ | ︙ | |||
410 411 412 413 414 415 416 | file_System.Data.SQLite.dll file_System.Data.SQLite.Linq.dll\ file_System.Data.SQLite.EF6.dll file_SQLite.Designer.dll\ file_Installer_Test_Vs2013.log}] -result {0 True}} ############################################################################### runTest {test installer-1.10 {uninstaller tool / Visual Studio 2013} -setup { | | | | 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 | file_System.Data.SQLite.dll file_System.Data.SQLite.Linq.dll\ file_System.Data.SQLite.EF6.dll file_SQLite.Designer.dll\ file_Installer_Test_Vs2013.log}] -result {0 True}} ############################################################################### runTest {test installer-1.10 {uninstaller tool / Visual Studio 2013} -setup { set fileName [file join [getTemporaryDirectory] [file tail [string map \ [list .log [appendArgs _ [pid] .log]] $testUninstallVs2013LogFile]]] cleanupFile $fileName } -body { set output "" set code [catch { testClrExec $installerExeFile [list -eventflags Wait -stdout output \ |
︙ | ︙ | |||
454 455 456 457 458 459 460 | file_System.Data.SQLite.dll file_System.Data.SQLite.Linq.dll\ file_System.Data.SQLite.EF6.dll file_SQLite.Designer.dll\ file_Uninstaller_Test_Vs2013.log}] -result {0 True}} ############################################################################### runTest {test installer-1.11 {installer tool / Visual Studio 2015} -setup { | | | | 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 | file_System.Data.SQLite.dll file_System.Data.SQLite.Linq.dll\ file_System.Data.SQLite.EF6.dll file_SQLite.Designer.dll\ file_Uninstaller_Test_Vs2013.log}] -result {0 True}} ############################################################################### runTest {test installer-1.11 {installer tool / Visual Studio 2015} -setup { set fileName [file join [getTemporaryDirectory] [file tail [string map \ [list .log [appendArgs _ [pid] .log]] $testInstallVs2015LogFile]]] cleanupFile $fileName } -body { set output "" set code [catch { testClrExec $installerExeFile [list -eventflags Wait -stdout output \ |
︙ | ︙ | |||
498 499 500 501 502 503 504 | file_System.Data.SQLite.dll file_System.Data.SQLite.Linq.dll\ file_System.Data.SQLite.EF6.dll file_SQLite.Designer.dll\ file_Installer_Test_Vs2015.log}] -result {0 True}} ############################################################################### runTest {test installer-1.12 {uninstaller tool / Visual Studio 2015} -setup { | | | | 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 | file_System.Data.SQLite.dll file_System.Data.SQLite.Linq.dll\ file_System.Data.SQLite.EF6.dll file_SQLite.Designer.dll\ file_Installer_Test_Vs2015.log}] -result {0 True}} ############################################################################### runTest {test installer-1.12 {uninstaller tool / Visual Studio 2015} -setup { set fileName [file join [getTemporaryDirectory] [file tail [string map \ [list .log [appendArgs _ [pid] .log]] $testUninstallVs2015LogFile]]] cleanupFile $fileName } -body { set output "" set code [catch { testClrExec $installerExeFile [list -eventflags Wait -stdout output \ |
︙ | ︙ |