Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: |
Downloads: |
Tarball
| ZIP archive
|
---|
Timelines: |
family
| ancestors
| descendants
| both
| trunk
|
Files: |
files
| file ages
| folders
|
SHA1: |
d7f2f75ba30bf29de45e42314dc0a15a449d2342 |
User & Date: |
mistachkin
2011-12-21 01:39:11.330 |
Context
2011-12-21
| | |
05:35 |
|
check-in: f034fafd6b user: mistachkin tags: trunk
|
01:39 |
|
check-in: d7f2f75ba3 user: mistachkin tags: trunk
|
2011-12-20
| | |
23:53 |
|
check-in: 799407c7ea user: mistachkin tags: trunk
|
| | |
Changes
Changes to Externals/Eagle/lib/Eagle1.0/init.eagle.
︙ | | |
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
|
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
|
-
+
+
-
+
-
+
-
+
+
+
+
+
+
+
+
+
|
unset -nocomplain process; # dispose
}
}
#
# NOTE: This proc can be used to dynamically compile C# code in a script.
#
proc compileCSharp { string resultsVarName errorsVarName args } {
proc compileCSharp {
string memory symbols strict resultsVarName errorsVarName args } {
#
# NOTE: Create the C# code provider object (i.e. the compiler).
#
set provider [object create -alias Microsoft.CSharp.CSharpCodeProvider]
#
# NOTE: Create the object that provides various parameters to the C#
# code provider (i.e. the compiler options).
#
set parameters [object create -alias \
System.CodeDom.Compiler.CompilerParameters]
#
# NOTE: By default, we do not want to persist the generated assembly
# NOTE: Do we not want to persist the generated assembly to disk?
# to disk.
#
if {$memory} then {
$parameters GenerateInMemory true
$parameters GenerateInMemory true
}
#
# NOTE: Do we want symbols to be generated for the generated assembly?
#
if {$symbols} then {
$parameters IncludeDebugInformation true
}
#
# NOTE: Make sure that the "standard" preprocessor defines match those
# for the platform (i.e. the ones used to compile the Eagle core
# library assembly).
#
set platformOptions [expr { \
|
︙ | | |
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
|
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
|
-
-
-
-
-
-
+
+
-
+
+
+
+
+
+
+
+
+
+
|
unset provider; # dispose
#
# NOTE: Fetch the collection of compiler errors (which may be empty).
#
set errors [$results -alias Errors]
#
# NOTE: How many compile errors?
#
set count [$errors Count]
#
# NOTE: It is assumed that no assembly was generated if there were
# any compile errors.
# any compiler errors. Ignore all compiler warnings unless
# we are in strict mode.
#
if {$count > 0} then {
if {[$errors HasErrors] || ($strict && [$errors HasWarnings])} then {
#
# NOTE: Compilation of the assembly failed.
#
set code Error
#
# NOTE: Prepare to transfer the error messages to the caller.
#
upvar 1 $errorsVarName local_errors
#
# NOTE: How many compile errors?
#
set count [$errors Count]
#
# NOTE: Grab each error object and append the string itself to
# the overall list of errors.
#
for {set index 0} {$index < $count} {incr index} {
#
# NOTE: Get the compiler error object at this index.
#
set error [$errors -alias Item $index]
#
|
︙ | | |
Changes to Externals/Eagle/lib/Eagle1.0/test.eagle.
︙ | | |
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
|
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
|
-
+
-
+
|
proc clearTestPercent { channel } {
if {[isEagle]} then {
host title ""
}
}
proc reportTestPercent { channel percent } {
proc reportTestPercent { channel percent failed leaked } {
set status [appendArgs "---- test suite running, about " $percent \
"% complete..."]
"% complete (" $failed " failed, " $leaked " leaked)..."]
tputs $channel [appendArgs $status \n]
if {[isEagle]} then {
host title $status
}
}
|
︙ | | |
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
|
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
|
-
+
+
+
|
#
# NOTE: In terms of files, not tests, what percent done are we now?
#
set percent [formatDecimal \
[expr {$total != 0 ? 100.0 * ($count / double($total)) : 100}]]
if {$percent != $lastPercent} then {
reportTestPercent $channel $percent
reportTestPercent $channel $percent \
[llength $failed] [llength $leaked]
set lastPercent $percent
}
#
# NOTE: Skipping over any file name that matches a pattern in the
# list of file names to skip.
#
|
︙ | | |
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
|
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
|
-
+
+
+
|
#
# NOTE: In terms of files, not tests, what percent done are we now?
#
set percent [formatDecimal \
[expr {$total != 0 ? 100.0 * ($count / double($total)) : 100}]]
if {$percent != $lastPercent} then {
reportTestPercent $channel $percent
reportTestPercent $channel $percent \
[llength $failed] [llength $leaked]
set lastPercent $percent
}
#
# NOTE: Record failed test count after this file.
#
if {[isEagle]} then {
|
︙ | | |
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
|
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
|
-
+
+
+
|
#
# NOTE: In terms of files, not tests, what percent done are we now?
#
set percent [formatDecimal \
[expr {$total != 0 ? 100.0 * ($count / double($total)) : 100}]]
if {$percent != $lastPercent} then {
reportTestPercent $channel $percent
reportTestPercent $channel $percent \
[llength $failed] [llength $leaked]
set lastPercent $percent
}
#
# NOTE: If the test file raised an error (i.e. to indicate a
# test failure with the stop-on-failure flag enabled),
# break out of the test loop now.
|
︙ | | |
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
|
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
|
-
+
+
+
|
#
# NOTE: In terms of files, not tests, what percent done are we now?
#
set percent [formatDecimal \
[expr {$total != 0 ? 100.0 * ($count / double($total)) : 100}]]
if {$percent != $lastPercent} then {
reportTestPercent $channel $percent
reportTestPercent $channel $percent \
[llength $failed] [llength $leaked]
set lastPercent $percent
}
}
#
# NOTE: Reset the host title because we may have changed it in the for
# loop (above).
|
︙ | | |
Changes to Externals/Eagle/lib/Test1.0/constraints.eagle.
︙ | | |
799
800
801
802
803
804
805
806
807
808
809
810
811
812
|
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
|
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
|
addConstraint primaryThread
tputs $channel [appendArgs "yes (" $threadId ")\n"]
} else {
tputs $channel [appendArgs "no (" $threadId ")\n"]
}
}
proc checkForDefaultAppDomain { channel } {
tputs $channel "---- checking for default application domain... "
set appDomain [object invoke AppDomain CurrentDomain]
if {[string length $appDomain] > 0} then {
if {[object invoke $appDomain IsDefaultAppDomain]} then {
addConstraint defaultAppDomain
tputs $channel [appendArgs "yes (" [object invoke $appDomain Id] \
")\n"]
} else {
tputs $channel [appendArgs "no (" [object invoke $appDomain Id] \
")\n"]
}
} else {
tputs $channel [appendArgs "no (null)\n"]
}
}
proc checkForRuntime { channel } {
tputs $channel "---- checking for runtime... "
#
# NOTE: Are we running inside Mono (regardless of operating system)?
#
|
︙ | | |
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
|
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
|
-
-
-
+
+
+
+
+
|
proc checkForThreadCulture { channel } {
tputs $channel "---- checking for thread culture... "
#
# NOTE: Grab the current thread culture.
#
set culture [object invoke Eagle._Components.Private.FormatOps \
CultureName [object invoke System.Threading.Thread.CurrentThread \
CurrentCulture] false]
set culture [object invoke System.Threading.Thread.CurrentThread \
CurrentCulture]
set culture [object invoke Eagle._Components.Private.FormatOps \
CultureName $culture false]
if {[string length $culture] > 0} then {
#
# NOTE: The culture information is present, use it and show it.
#
addConstraint [appendArgs threadCulture. [string map [list - _] \
$culture]]
|
︙ | | |
Changes to Externals/Eagle/lib/Test1.0/prologue.eagle.
︙ | | |
550
551
552
553
554
555
556
557
558
559
560
561
562
563
|
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
|
+
+
+
+
+
+
+
+
+
+
|
# this check [nearly] first as it may [eventually] be used
# to help determine if other constraints should be skipped.
#
if {![info exists no(primaryThread)]} then {
checkForPrimaryThread $test_channel
}
#
# NOTE: Has default application domain detection support been
# disabled? We do this check [nearly] first as it may
# [eventually] be used to help determine if other
# constraints should be skipped.
#
if {![info exists no(defaultAppDomain)]} then {
checkForDefaultAppDomain $test_channel
}
#
# NOTE: Has runtime detection support been disabled? We do this
# checking [nearly] first as it may skip other constraints.
#
if {![info exists no(runtime)]} then {
checkForRuntime $test_channel
}
|
︙ | | |
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
|
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
|
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
|
#
# NOTE: For test "object-2.8".
#
checkForObjectMember $test_channel Eagle._Tests.Default+Disposable \
*ToString* Eagle._Tests.Default.Disposable.ToString
}
#
# NOTE: Has linked variable testing support been disabled?
#
if {![info exists no(testLinkedVariables)]} then {
#
# NOTE: For tests "basic-1.39", "basic-1.40", "basic-1.41",
# "basic-1.42", and "basic-1.43".
#
checkForObjectMember $test_channel Eagle._Tests.Default \
*TestSetVariableLinks*
checkForObjectMember $test_channel Eagle._Tests.Default \
*TestUnsetVariableLinks*
}
#
# NOTE: Has field testing support been disabled?
#
if {![info exists no(testFields)]} then {
#
# NOTE: For tests "basic-1.39", "basic-1.40", "basic-1.41",
# "basic-1.42", and "basic-1.43".
#
checkForObjectMember $test_channel Eagle._Tests.Default \
*privateField*
checkForObjectMember $test_channel Eagle._Tests.Default \
*objectField*
checkForObjectMember $test_channel Eagle._Tests.Default \
*intField*
}
#
# NOTE: Has property testing support been disabled?
#
if {![info exists no(testProperties)]} then {
#
# NOTE: For tests "basic-1.39", "basic-1.40", "basic-1.41",
# "basic-1.42", and "basic-1.43".
#
checkForObjectMember $test_channel Eagle._Tests.Default \
*get_SimpleProperty*
#
# NOTE: For test "object-3.1".
#
checkForObjectMember $test_channel Eagle._Tests.Default \
*get_Item*
checkForObjectMember $test_channel Eagle._Tests.Default \
*set_Item*
}
#
# NOTE: Has core marshaller testing support been disabled?
#
if {![info exists no(testMarshaller)]} then {
#
# NOTE: For test "basic-1.29".
#
|
︙ | | |
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
|
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
|
-
-
-
-
-
-
-
-
-
|
checkForObjectMember $test_channel Eagle._Tests.Default \
*TestMulti3Array*
checkForObjectMember $test_channel Eagle._Tests.Default \
*TestNestedArray*
#
# NOTE: For test "object-3.1".
#
checkForObjectMember $test_channel Eagle._Tests.Default \
*get_Item*
checkForObjectMember $test_channel Eagle._Tests.Default \
*set_Item*
#
# NOTE: For tests "object-3.6" and "object-3.7".
#
checkForObjectMember $test_channel Eagle._Tests.Default \
*TestStringIListReturnValue*
checkForObjectMember $test_channel Eagle._Tests.Default \
|
︙ | | |
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
|
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
|
+
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
+
+
+
-
-
+
+
+
|
#
checkForCompileOption $test_channel TEST
}
}
}
#
# NOTE: Has checking for the extra files needed by various tests been
# disabled?
#
if {![info exists no(checkForFile)]} then {
#
# NOTE: For test "package-1.0".
#
if {![info exists no(pkgAll.tcl)]} then {
checkForFile $test_channel [file join $base_path Package Tests all.tcl] \
pkgAll.tcl
}
# NOTE: For test "package-1.0".
#
if {![info exists no(pkgAll.tcl)]} then {
checkForFile $test_channel [file join $base_path Package Tests all.tcl] \
pkgAll.tcl
}
#
# NOTE: For tests "subst-1.*".
#
if {![info exists no(bad_subst.txt)]} then {
checkForFile $test_channel [file join $test_path bad_subst.txt]
}
#
# NOTE: For tests "subst-1.*".
#
if {![info exists no(bad_subst.txt)]} then {
checkForFile $test_channel [file join $test_path bad_subst.txt]
}
#
# NOTE: For tests "fileIO-1.*".
#
if {![info exists no(file.dat)]} then {
checkForFile $test_channel [file join $test_path file.dat]
}
#
# NOTE: For tests "fileIO-1.*".
#
if {![info exists no(file.dat)]} then {
checkForFile $test_channel [file join $test_path file.dat]
}
#
# NOTE: For test "garbage-1.1".
#
if {![info exists no(garbage.txt)]} then {
checkForFile $test_channel [file join $test_path garbage.txt]
}
#
# NOTE: For test "garbage-1.1".
#
if {![info exists no(garbage.txt)]} then {
checkForFile $test_channel [file join $test_path garbage.txt]
}
#
# NOTE: For tests "xaml-1.*".
#
if {![info exists no(test.png)]} then {
checkForFile $test_channel [file join $test_path test.png]
}
#
# NOTE: For tests "xaml-1.*".
#
if {![info exists no(test.png)]} then {
checkForFile $test_channel [file join $test_path test.png]
}
#
# NOTE: For test "socket-1.2".
#
if {![info exists no(client.tcl)]} then {
checkForFile $test_channel [file join $test_path client.tcl]
}
#
# NOTE: For test "socket-1.2".
#
if {![info exists no(client.tcl)]} then {
checkForFile $test_channel [file join $test_path client.tcl]
}
#
# NOTE: For test "tclLoad-1.2".
#
if {![info exists no(tcl_unload.tcl)]} then {
checkForFile $test_channel [file join $test_path tcl_unload.tcl]
}
#
# NOTE: For test "tclLoad-1.2".
#
if {![info exists no(tcl_unload.tcl)]} then {
checkForFile $test_channel [file join $test_path tcl_unload.tcl]
}
#
# NOTE: For test "basic-1.4".
#
if {![info exists no(read.eagle)]} then {
checkForFile $test_channel [file join $test_path read.eagle]
}
#
# NOTE: For test "basic-1.4".
#
if {![info exists no(read.eagle)]} then {
checkForFile $test_channel [file join $test_path read.eagle]
}
#
# NOTE: For test "basic-1.5".
#
if {![info exists no(read2.eagle)]} then {
checkForFile $test_channel [file join $test_path read2.eagle]
}
#
# NOTE: For test "basic-1.5".
#
if {![info exists no(read2.eagle)]} then {
checkForFile $test_channel [file join $test_path read2.eagle]
}
#
# NOTE: For test "basic-1.6".
#
if {![info exists no(read3.eagle)]} then {
checkForFile $test_channel [file join $test_path read3.eagle]
}
#
# NOTE: For test "basic-1.6".
#
if {![info exists no(read3.eagle)]} then {
checkForFile $test_channel [file join $test_path read3.eagle]
}
#
# NOTE: For test "basic-1.7".
#
if {![info exists no(read4.eagle)]} then {
checkForFile $test_channel [file join $test_path read4.eagle]
}
#
# NOTE: For test "basic-1.7".
#
if {![info exists no(read4.eagle)]} then {
checkForFile $test_channel [file join $test_path read4.eagle]
}
#
# NOTE: For test "infoScript-1.1".
#
if {![info exists no(script.eagle)]} then {
checkForFile $test_channel [file join $test_path script.eagle]
}
#
# NOTE: For test "infoScript-1.1".
#
if {![info exists no(script.eagle)]} then {
checkForFile $test_channel [file join $test_path script.eagle]
}
#
# NOTE: For test "basic-1.1".
#
if {![info exists no(source.eagle)]} then {
checkForFile $test_channel [file join $test_path source.eagle]
}
#
# NOTE: For test "basic-1.1".
#
if {![info exists no(source.eagle)]} then {
checkForFile $test_channel [file join $test_path source.eagle]
}
#
# NOTE: For test "basic-1.2".
#
if {![info exists no(unbalanced_brace.eagle)]} then {
checkForFile $test_channel [file join $test_path unbalanced_brace.eagle]
}
#
# NOTE: For test "basic-1.2".
#
if {![info exists no(unbalanced_brace.eagle)]} then {
checkForFile $test_channel [file join $test_path unbalanced_brace.eagle]
}
#
# NOTE: For test "basic-1.3".
#
if {![info exists no(unbalanced_brace2.eagle)]} then {
checkForFile $test_channel [file join $test_path unbalanced_brace2.eagle]
}
#
# NOTE: For test "basic-1.3".
#
if {![info exists no(unbalanced_brace2.eagle)]} then {
checkForFile $test_channel [file join $test_path unbalanced_brace2.eagle]
}
#
# NOTE: For tests "excel-2.*".
#
if {![info exists no(test.xls)]} then {
checkForFile $test_channel [file join $test_path test.xls]
}
#
# NOTE: For tests "excel-2.*".
#
if {![info exists no(test.xls)]} then {
checkForFile $test_channel [file join $test_path test.xls]
}
#
# NOTE: For test "interp-1.10".
#
if {![info exists no(settings.xml)]} then {
checkForFile $test_channel [file join $test_path settings.xml]
}
#
# NOTE: For test "interp-1.10".
#
if {![info exists no(settings.xml)]} then {
checkForFile $test_channel [file join $test_path settings.xml]
}
#
# NOTE: For tests "load-1.1.*".
#
if {![info exists no(Plugin.dll)]} then {
checkForFile $test_channel [file join $lib_path Plugin1.0 Plugin.dll]
}
#
# NOTE: For tests "load-1.1.*".
#
if {![info exists no(Plugin.dll)]} then {
checkForFile $test_channel [file join $lib_path Plugin1.0 Plugin.dll]
}
#
# NOTE: For test "object-6.1".
#
if {![info exists no(Sample.exe)]} then {
checkForFile $test_channel [file join $bin_path Sample.exe]
}
#
# NOTE: For test "object-6.1".
#
if {![info exists no(Sample.exe)]} then {
checkForFile $test_channel [file join $bin_path Sample.exe]
}
#
# NOTE: For test "object-4.8".
#
if {![info exists no(EagleCmdlets.dll)]} then {
checkForFile $test_channel [file join $bin_path EagleCmdlets.dll]
}
#
# NOTE: For test "object-4.8".
#
if {![info exists no(EagleCmdlets.dll)]} then {
checkForFile $test_channel [file join $bin_path EagleCmdlets.dll]
}
#
# NOTE: For test "object-4.10".
#
if {![info exists no(EagleExtensions.dll)]} then {
checkForFile $test_channel [file join $bin_path EagleExtensions.dll]
}
#
# NOTE: For test "object-4.10".
#
if {![info exists no(EagleExtensions.dll)]} then {
checkForFile $test_channel [file join $bin_path EagleExtensions.dll]
}
#
# NOTE: For test "object-4.10".
#
if {![info exists no(test.wxs)]} then {
checkForFile $test_channel [file join $base_path Installer Tests test.wxs]
}
#
# NOTE: For test "object-4.10".
#
if {![info exists no(test.wxs)]} then {
checkForFile $test_channel [file join $base_path Installer Tests test.wxs]
}
#
# NOTE: For test "sql-1.2".
#
if {![info exists no(sqlite3.dll)]} then {
checkForFile $test_channel [file join $bin_path sqlite3.dll]
}
#
# NOTE: For test "sql-1.2".
#
if {![info exists no(sqlite3.dll)]} then {
checkForFile $test_channel [file join $bin_path sqlite3.dll]
}
if {![info exists no(System.Data.SQLite.dll)]} then {
checkForFile $test_channel [file join $bin_path System.Data.SQLite.dll]
}
if {![info exists no(System.Data.SQLite.dll)]} then {
checkForFile $test_channel [file join $bin_path System.Data.SQLite.dll]
}
if {![info exists no(test.sqlite3)]} then {
checkForFile $test_channel [file join $test_path test.sqlite3]
if {![info exists no(test.sqlite3)]} then {
checkForFile $test_channel [file join $test_path test.sqlite3]
}
}
#
# NOTE: Check the core test constraints unless they have been
# explicitly disabled.
#
if {![info exists no(platform)]} then {
|
︙ | | |
Changes to Tests/basic.eagle.
︙ | | |
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
|
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
|
-
+
|
public static void Main()
{
// do nothing.
}
}
}
}] results errors System.Data.SQLite.dll]
}] true true true results errors System.Data.SQLite.dll]
list $code $results \
[expr {[info exists errors] ? $errors : ""}] \
[expr {$code eq "Ok" ? [catch {
object invoke _Dynamic${id}.Test${id} GetReservedWords
} result] : [set result ""]}] $result
} -cleanup {
|
︙ | | |
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
|
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
|
-
+
|
public static void Main()
{
// do nothing.
}
}
}
}] results errors System.Data.SQLite.dll]
}] true true true results errors System.Data.SQLite.dll]
list $code $results \
[expr {[info exists errors] ? $errors : ""}] \
[expr {$code eq "Ok" ? [catch {
set rows [list]
set foreignKeys [object invoke _Dynamic${id}.Test${id} GetForeignKeys]
|
︙ | | |
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
|
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
|
-
+
|
public static void Main()
{
// do nothing.
}
}
}
}] results errors System.Data.SQLite.dll]
}] true true true results errors System.Data.SQLite.dll]
list $code $results \
[expr {[info exists errors] ? $errors : ""}] \
[expr {$code eq "Ok" ? [catch {
set savedCount -1; set savedInterval -1
object invoke _Dynamic${id}.Test${id} TestSetAvRetry \
|
︙ | | |
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
|
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
|
-
+
|
{
command.ExecuteNonQuery();
}
}
}
}
}
}] results errors System.Data.SQLite.dll]
}] true true true results errors System.Data.SQLite.dll]
list $code $results \
[expr {[info exists errors] ? $errors : ""}] \
[expr {$code eq "Ok" ? [catch {
object invoke _Dynamic${id}.Test${id} Main
} result] : [set result ""]}] $result \
[close [open $dataSource RDONLY 0 "" -share None]]
|
︙ | | |
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
|
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
|
-
+
|
// do nothing.
}
}
}
}
}
}
}] results errors System.Data.SQLite.dll]
}] true true true results errors System.Data.SQLite.dll]
list $code $results \
[expr {[info exists errors] ? $errors : ""}] \
[expr {$code eq "Ok" ? [catch {
object invoke _Dynamic${id}.Test${id} Main
} result] : [set result ""]}] $result \
[close [open $dataSource RDONLY 0 "" -share None]]
|
︙ | | |
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
|
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
|
-
+
|
// do nothing.
}
}
}
}
}
}
}] results errors System.Data.SQLite.dll]
}] true true true results errors System.Data.SQLite.dll]
list $code $results \
[expr {[info exists errors] ? $errors : ""}] \
[expr {$code eq "Ok" ? [catch {
object invoke _Dynamic${id}.Test${id} Main
} result] : [set result ""]}] $result \
[close [open $dataSource RDONLY 0 "" -share None]]
|
︙ | | |
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
|
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
|
-
+
|
public static void Main()
{
// do nothing.
}
}
}
}] results errors System.Data.SQLite.dll]
}] true true true results errors System.Data.SQLite.dll]
list $code $results \
[expr {[info exists errors] ? $errors : ""}] \
[expr {$code eq "Ok" ? [catch {
object invoke _Dynamic${id}.Test${id} GetConnectionString \
null null
} result] : [set result ""]}] $result \
|
︙ | | |
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
|
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
|
-
+
|
public static void Main()
{
// do nothing.
}
}
}
}] results errors System.Data.SQLite.dll]
}] true true true 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" \
|
︙ | | |
Changes to Tests/common.eagle.
︙ | | |
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
|
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
|
-
+
+
-
-
+
+
|
}
}
return $result
}
proc compileCSharpWith {
text resultsVarName errorsVarName fileNames args } {
text memory symbols strict resultsVarName errorsVarName fileNames
args } {
#
# NOTE: Create the base command to evaluate and add the property settings
# that are almost always needed by our unit tests (i.e. the System
# and System.Data assembly references).
#
set command [list compileCSharp $text results errors \
ReferencedAssemblies.Add System.dll ReferencedAssemblies.Add \
set command [list compileCSharp $text $memory $symbols $strict results \
errors ReferencedAssemblies.Add System.dll ReferencedAssemblies.Add \
System.Data.dll ReferencedAssemblies.Add System.Xml.dll]
#
# NOTE: Add all the provided file names as assembly references.
#
foreach fileName $fileNames {
lappend command ReferencedAssemblies.Add [getBinaryFileName $fileName]
|
︙ | | |
Changes to Tests/tkt-201128cc88.eagle.
︙ | | |
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
|
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
|
-
+
|
public static void Main()
{
SQLiteFunction.RegisterFunction(typeof(Test${id}));
}
}
}
}] results errors System.Data.SQLite.dll]
}] true true true results errors System.Data.SQLite.dll]
#
# NOTE: Compile the C# code (above) to register the custom SQLite function
# and then open the database for this test case and attempt to execute
# the function. Normally, we would open the database in the test setup
# phase; however, that will not work correctly because newly registered
# functions are only picked up and used by databases opened after they
|
︙ | | |
Changes to Tests/tkt-343d392b51.eagle.
︙ | | |
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
|
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
|
-
+
|
dataAdapter.Update(dataTable); // DBConcurrencyException (?)
}
}
}
}
}
}
}] results errors System.Data.SQLite.dll]
}] true true true results errors System.Data.SQLite.dll]
list $code $results \
[expr {[info exists errors] ? $errors : ""}] \
[expr {$code eq "Ok" ? [catch {
object invoke _Dynamic${id}.Test${id} Main
} result] : [set result ""]}] $result
} -cleanup {
|
︙ | | |
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
|
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
|
-
+
|
dataAdapter.Update(dataTable); // DBConcurrencyException (?)
}
}
}
}
}
}
}] results errors System.Data.SQLite.dll]
}] true true true results errors System.Data.SQLite.dll]
list $code $results \
[expr {[info exists errors] ? $errors : ""}] \
[expr {$code eq "Ok" ? [catch {
object invoke _Dynamic${id}.Test${id} Main
} result] : [set result ""]}] $result
} -cleanup {
|
︙ | | |
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
|
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
|
-
+
|
dataAdapter.Update(dataTable); // DBConcurrencyException (?)
}
}
}
}
}
}
}] results errors System.Data.SQLite.dll]
}] true true true results errors System.Data.SQLite.dll]
list $code $results \
[expr {[info exists errors] ? $errors : ""}] \
[expr {$code eq "Ok" ? [catch {
object invoke _Dynamic${id}.Test${id} Main
} result] : [set result ""]}] $result
} -cleanup {
|
︙ | | |
Changes to Tests/tkt-7e3fa93744.eagle.
︙ | | |
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
|
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
|
-
+
|
return dataTable.Rows.Count;
}
}
}
}
}
}
}] results errors System.Data.SQLite.dll]
}] true true true results errors System.Data.SQLite.dll]
list $code $results \
[expr {[info exists errors] ? $errors : ""}] \
[expr {$code eq "Ok" ? [catch {
object invoke _Dynamic${id}.Test${id} Main
} result] : [set result ""]}] $result
} -cleanup {
|
︙ | | |
Changes to Tests/tkt-e1b2e0f769.eagle.
︙ | | |
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
|
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
|
-
+
|
connection.Open();
return Tkt_e1b2e0f769(connection).Count;
}
}
}
}
}] results errors System.Data.SQLite.dll]
}] true true true results errors System.Data.SQLite.dll]
lappend result1 $code $results \
[expr {[info exists errors] ? $errors : ""}] \
[expr {$code eq "Ok" ? [catch {
object invoke _Dynamic${id}.Test${id} Main
} result2] : [set result2 ""]}] $result2
}
|
︙ | | |
Changes to Tests/tkt-e30b820248.eagle.
︙ | | |
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
|
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
|
-
+
|
Trace.WriteLine("---- END TRACE \\"${name}\\"");
Trace.Listeners.Remove(listener);
}
}
}
}
}] results errors System.Data.SQLite.dll]
}] true true true results errors System.Data.SQLite.dll]
list $code $results \
[expr {[info exists errors] ? $errors : ""}] \
[expr {$code eq "Ok" ? [catch {
object invoke _Dynamic${id}.Test${id} Main
} result] : [set result ""]}] $result \
[reportSQLiteResources $test_channel true]
|
︙ | | |
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
|
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
|
-
+
|
Trace.WriteLine("---- END TRACE \\"${name}\\"");
Trace.Listeners.Remove(listener);
}
}
}
}
}] results errors System.Data.SQLite.dll]
}] true true true results errors System.Data.SQLite.dll]
list $code $results \
[expr {[info exists errors] ? $errors : ""}] \
[expr {$code eq "Ok" ? [catch {
object invoke _Dynamic${id}.Test${id} Main
} result] : [set result ""]}] $result \
[reportSQLiteResources $test_channel true]
|
︙ | | |