146/150(97%) line coverage

      
10
20
30
40
50
60
70
80
90
100
110
120
130
140
150
160
170
180
190
200
210
220
230
241
251
261
271
280
291
300
310
320
330
340
350
360
371
380
390
401
410
420
430
440
451
460
470
480
491
500
510
521
531
541
551
560
570
580
590
600
610
620
630
640
650
660
670
680
690
700
710
720
730
740
750
760
770
780
790
800
811
820
830
840
850
860
871
880
890
900
911
920
930
940
950
960
970
980
990
1000
1010
1020
1030
1041
1050
1060
1070
1080
1090
1100
1110
1120
1130
1140
1150
1160
1170
1180
1190
1200
1210
1220
1230
1240
1250
1260
1270
1280
1290
1300
1310
1320
1330
1340
1351
1360
1370
1380
1390
1400
1410
1420
1430
1440
1450
1460
1470
1480
1490
1500
1510
1520
1530
1540
1550
1561
1570
1580
1590
1600
1611
1620
1630
1640
1650
1660
1670
1681
1690
1701
1711
1721
1730
1740
1751
1760
1770
1780
1790
1800
1810
1820
1830
1841
1851
1861
1871
1880
1890
1901
1911
1921
1930
1940
1951
1960
1970
1980
1990
2000
2010
2020
2030
2040
2050
2060
2070
2080
2090
2100
2110
2120
2130
2140
2150
2161
2171
2180
2190
2200
2210
2220
2230
2240
2250
2260
2270
2280
2290
2300
2310
2320
2330
2340
2351
2360
2370
2380
2390
2400
2410
2420
2430
2440
2450
2460
2470
2480
2490
2500
2510
2520
2530
2540
2550
2560
2570
2580
2590
2600
2610
2620
2630
2640
2650
2660
2670
2680
2690
2700
2710
2720
2730
2740
2750
2760
2770
2780
2790
2800
2810
2820
2830
2841
2850
2860
2870
2880
2890
2900
2910
2920
2930
2940
2950
2960
2970
2980
2990
3000
3010
3020
3030
3040
3050
3060
3070
3080
3090
3100
3110
3120
3130
3140
3150
3160
3170
3180
3190
3200
3210
3220
3230
3240
3250
3260
3270
3280
3290
3300
3311
3320
3331
3340
3351
3361
3371
3381
3391
3401
3411
3421
3431
3441
3451
3461
3471
3481
3491
3501
3511
3521
3531
3541
3551
3561
3571
3581
3591
3601
3611
3621
3631
3641
3651
3661
3671
3681
3691
3701
3711
3721
3731
3741
3751
3761
3771
3781
3791
3801
3811
3821
3831
3841
3851
3861
3871
3881
3891
3901
3911
3921
3930
3941
3950
3961
3971
3981
3991
4001
4011
4021
4031
4041
4051
4061
4071
4081
4091
4101
4111
4121
4131
4141
4151
4161
4171
4181
4191
4201
4211
4221
4231
4241
4251
4261
4271
4281
4291
4301
4311
4321
4331
4341
4351
4361
4371
4381
4391
4400
4411
4420
4430
4441
4450
4460
4470
4480
4492
4500
4510
4520
4530
4540
4550
4562
4570
import std.getopt; import std.string; import trial.discovery.unit; import trial.discovery.spec; import trial.discovery.testclass; import trial.runner; import trial.interfaces; import trial.settings; import trial.stackresult; import trial.reporters.result; import trial.reporters.stats; import trial.reporters.spec; import trial.reporters.specsteps; import trial.reporters.dotmatrix; import trial.reporters.landing; import trial.reporters.progress; import trial.reporters.xunit; import trial.reporters.tap; import trial.reporters.visualtrial; import trial.reporters.result; int main(string[] arguments) { string testName; string suiteName; string executor; string reporters; getopt( arguments, "testName|t", &testName, "suiteName|s", &suiteName, "executor|e", &executor, "reporters|r", &reporters ); auto settings = Settings(["spec", "result", "xunit"], ["trial.discovery.unit.UnitTestDiscovery", "trial.discovery.spec.SpecTestDiscovery"], 0, GlyphSettings(SpecGlyphs(`✓`), SpecStepsGlyphs(`┌`, `└`, `│`), TestResultGlyphs(`✖`), DotMatrixGlyphs(`.`,`!`,`?`), LandingGlyphs(`✈`,`━`,`⋅`), ProgressGlyphs(`░`,`▓`)), ".trial", 20, 100, [], ""); static if(__traits(hasMember, Settings, "executor")) { if(executor != "") { settings.executor = executor; } } if(reporters != "") { settings.reporters = reporters.split(","); } setupLifecycle(settings); StackResult.externalModules = ["ddmp.diff", "ddmp.match", "ddmp.patch", "ddmp.util", "dparse.ast", "dparse.astprinter", "dparse.entities", "dparse.formatter", "dparse.lexer", "dparse.parser", "dparse.rollback_allocator", "dparse.stack_buffer", "dparse.strings", "dparse.trivia", "std.experimental.lexer", "_d_assert", "std.", "core."]; auto testDiscovery0 = new UnitTestDiscovery; static if(__traits(hasMember, UnitTestDiscovery, "comments")) { UnitTestDiscovery.comments["/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluent/asserts.d"] = []; UnitTestDiscovery.comments["/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/array.d"] = [Comment(125, "ListComparison should be able to get the missing elements"), Comment(137, "ListComparison should be able to get the missing elements with duplicates"), Comment(147, "ListComparison should be able to get the extra elements"), Comment(159, "ListComparison should be able to get the extra elements with duplicates"), Comment(169, "ListComparison should be able to get the common elements"), Comment(180, "ListComparison should be able to get the common elements with duplicates"), Comment(413, "When there is a lazy array that throws an it should throw that exception"), Comment(466, "const range contain"), Comment(478, "immutable range contain"), Comment(490, "contain only"), Comment(534, "contain only with void array"), Comment(541, "const range containOnly"), Comment(553, "immutable range containOnly"), Comment(565, "array contain"), Comment(605, "array equals"), Comment(642, "array equals with structs"), Comment(661, "const array equal"), Comment(682, "array equals with classes"), Comment(695, "range equals"), Comment(732, "custom range asserts"), Comment(770, "custom const range equals"), Comment(791, "custom immutable range equals"), Comment(812, "approximately equals"), Comment(829, "approximately equals with Assert"), Comment(835, "immutable string"), Comment(842, "Compare const objects")]; UnitTestDiscovery.comments["/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/base.d"] = [Comment(283, "Test Exception should separate the results by a new line"), Comment(605, "Assert should work for base types"), Comment(632, "Assert should work for objects"), Comment(639, "Assert should work for strings"), Comment(660, "Assert should work for ranges"), Comment(686, "It should call the fluent handler")]; UnitTestDiscovery.comments["/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/basetype.d"] = [Comment(10, "When there is a lazy number that throws an it should throw that exception"), Comment(184, "numbers approximately"), Comment(208, "should throw exceptions for delegates that return basic types"), Comment(245, "it should compile const comparison")]; UnitTestDiscovery.comments["/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/callable.d"] = [Comment(21, ""), Comment(29, ""), Comment(38, ""), Comment(66, "Should be able to catch any exception"), Comment(73, "Should be able to catch any assert"), Comment(80, "Should be able to use with message without a custom assert"), Comment(87, "Should be able to catch a certain exception type"), Comment(111, "Should be able to retrieve a typed version of a custom exception"), Comment(131, "Should fail if an exception is not thrown"), Comment(144, "Should fail if an exception is not expected"), Comment(159, "Should be able to benchmark some code"), Comment(166, "Should fail on benchmark timeout"), Comment(184, "It should check if a delegate is null")]; UnitTestDiscovery.comments["/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/evaluation.d"] = [Comment(15, ""), Comment(20, "Time needed to evaluate the value"), Comment(23, "Serialized value as string"), Comment(26, "Proxy object holding the evaluated value to help doing better comparisions"), Comment(29, "Human readable value"), Comment(32, "The name of the type before it was converted to string"), Comment(35, "Other info about the value"), Comment(47, ""), Comment(52, "The value that will be validated"), Comment(55, "The expected value that we will use to perform the comparison"), Comment(58, "The operation name"), Comment(61, "True if the operation result needs to be negated to have a successful result"), Comment(64, "The nice message printed to the user"), Comment(67, "The source code where the assert is located"), Comment(70, "Results generated during evaluation"), Comment(73, "The throwable generated by the evaluation"), Comment(76, "True when the evaluation is done"), Comment(80, ""), Comment(85, ""), Comment(116, "evaluate a lazy value should capture an exception"), Comment(128, "evaluate should capture an exception thrown by a callable"), Comment(169, "It can get the type of a string"), Comment(175, "It can get the type of a string list"), Comment(181, "It can get the type of a string assoc array"), Comment(187, "It can get all types of a class"), Comment(199, "A proxy type that allows to compare the native values"), Comment(209, "Wraps a value into equable value"), Comment(222, ""), Comment(294, "an object with byValue method should return an array with all elements"), Comment(309, ""), Comment(359, "")]; UnitTestDiscovery.comments["/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/expect.d"] = [Comment(14, ""), Comment(96, ""), Comment(101, ""), Comment(107, ""), Comment(115, ""), Comment(120, ""), Comment(133, ""), Comment(138, ""), Comment(143, ""), Comment(148, ""), Comment(153, ""), Comment(162, ""), Comment(167, ""), Comment(172, ""), Comment(177, ""), Comment(227, ""), Comment(234, ""), Comment(258, ""), Comment(280, ""), Comment(285, ""), Comment(312, "toNiceOperation converts to a nice and readable string")]; UnitTestDiscovery.comments["/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/lifecycle.d"] = [Comment(90, "special cases for .length and other comparisons with int types"), Comment(98, ""), Comment(168, "The assert lifecycle"), Comment(178, "Method called when a new value is evaluated"), Comment(185, "")]; UnitTestDiscovery.comments["/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/objects.d"] = [Comment(11, "When there is a lazy object that throws an it should throw that exception"), Comment(30, "object beNull"), Comment(56, "object instanceOf"), Comment(90, "object instanceOf interface"), Comment(122, "should throw exceptions for delegates that return basic types"), Comment(146, "object equal"), Comment(174, "null object comparison")]; UnitTestDiscovery.comments["/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/operations/approximately.d"] = [Comment(22, ""), Comment(76, "")]; UnitTestDiscovery.comments["/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/operations/arrayEqual.d"] = [Comment(14, "")]; UnitTestDiscovery.comments["/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/operations/beNull.d"] = [Comment(11, "")]; UnitTestDiscovery.comments["/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/operations/between.d"] = [Comment(18, ""), Comment(40, ""), Comment(63, "")]; UnitTestDiscovery.comments["/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/operations/contain.d"] = [Comment(21, ""), Comment(83, ""), Comment(119, ""), Comment(186, ""), Comment(210, ""), Comment(217, ""), Comment(240, ""), Comment(259, ""), Comment(278, "")]; UnitTestDiscovery.comments["/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/operations/endWith.d"] = [Comment(17, "")]; UnitTestDiscovery.comments["/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/operations/equal.d"] = [Comment(14, "")]; UnitTestDiscovery.comments["/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/operations/greaterOrEqualTo.d"] = [Comment(17, "")]; UnitTestDiscovery.comments["/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/operations/greaterThan.d"] = [Comment(17, ""), Comment(36, ""), Comment(60, "")]; UnitTestDiscovery.comments["/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/operations/instanceOf.d"] = [Comment(18, "")]; UnitTestDiscovery.comments["/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/operations/lessOrEqualTo.d"] = [Comment(17, "")]; UnitTestDiscovery.comments["/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/operations/lessThan.d"] = [Comment(17, ""), Comment(36, ""), Comment(60, "")]; UnitTestDiscovery.comments["/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/operations/registry.d"] = [Comment(11, "Delegate type that can handle asserts"), Comment(14, "ditto"), Comment(23, ""), Comment(34, "Register a new assert operation"), Comment(45, "ditto"), Comment(51, "ditto"), Comment(61, "ditto"), Comment(66, "Get an operation function"), Comment(86, ""), Comment(100, ""), Comment(105, ""), Comment(114, ""), Comment(119, ""), Comment(130, ""), Comment(142, "It generates a list of md links for docs"), Comment(221, "It can generalize an int"), Comment(226, "It can generalize a list"), Comment(231, "It can generalize a list of lists"), Comment(236, "It can generalize an assoc array"), Comment(241, "It can generalize a combination of assoc arrays and lists"), Comment(246, "It can generalize an assoc array with a key list")]; UnitTestDiscovery.comments["/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/operations/startWith.d"] = [Comment(17, "")]; UnitTestDiscovery.comments["/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/operations/throwable.d"] = [Comment(24, ""), Comment(65, "It should be successfull when the function does not throw"), Comment(71, "It should fail when an exception is thrown and none is expected"), Comment(90, "It should be successfull when the function throws an expected exception"), Comment(96, "It should not be successfull when the function throws a throwable and an exception is expected"), Comment(116, "It should be successfull when the function throws an expected exception"), Comment(162, ""), Comment(207, "Should be able to catch a certain exception type"), Comment(214, "It should fail when an unexpected exception is thrown"), Comment(234, "It should not fail when an exception is thrown and it is not expected"), Comment(241, "It should fail when an different exception than the one checked is thrown"), Comment(260, ""), Comment(317, "It fails when an exception is not catched"), Comment(331, "It does not fail when an exception is not expected and none is not catched"), Comment(344, "It fails when the caught exception has a different type"), Comment(360, "It does not fail when a certain exception type is not catched"), Comment(375, "It fails when the caught exception has a different message"), Comment(391, "It does not fails when the caught exception is expected to have a different message")]; UnitTestDiscovery.comments["/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/results.d"] = [Comment(17, "Glyphs used to display special chars in the results"), Comment(23, "Glyph for the \\r char"), Comment(26, "Glyph for the \\n char"), Comment(29, "Glyph for the space char"), Comment(32, "Glyph for the \\0 char"), Comment(35, "Glyph that indicates the error line"), Comment(38, "Glyph that sepparates the line number"), Comment(41, "Glyph for the diff begin indicator"), Comment(44, "Glyph for the diff end indicator"), Comment(47, "Glyph that marks an inserted text in diff"), Comment(50, "Glyph that marks deleted text in diff"), Comment(54, "Set the default values. The values are"), Comment(80, ""), Comment(137, "This is the most simple implementation of a ResultPrinter. All the plain data is printed to stdout"), Comment(170, "A result that prints a simple message to the user"), Comment(361, "DiffResult should find the differences"), Comment(367, "DiffResult should use the custom glyphs"), Comment(501, "KeyResult should not dispaly spaces between words with special chars"), Comment(510, "KeyResult should dispaly spaces with special chars on space lines"), Comment(519, "KeyResult should display no char for empty lines"), Comment(528, "KeyResult should display special characters with different contexts"), Comment(538, "KeyResult should display custom glyphs with different contexts"), Comment(556, ""), Comment(642, "A result that displays differences between ranges"), Comment(748, "Get the spec function and scope that contains a lambda"), Comment(763, "Get the a method scope and signature"), Comment(776, "Get the a method scope without assert"), Comment(793, "iterate the parameters"), Comment(837, "Get the end of a spec function with a lambda"), Comment(854, "Get the end of an unittest function with a lambda"), Comment(871, "Get tokens from a scope that contains a lambda"), Comment(946, "Get the the previous unittest identifier from a list of tokens"), Comment(958, "Get the the previous paranthesis identifier from a list of tokens"), Comment(972, "Get the the previous function call identifier from a list of tokens"), Comment(986, "Get the the previous map!\"\" identifier from a list of tokens"), Comment(1013, "Get the index of the Assert structure identifier from a list of tokens"), Comment(1054, "Get the first parameter from a list of tokens"), Comment(1064, "Get the first list parameter from a list of tokens"), Comment(1074, "Get the previous array identifier from a list of tokens"), Comment(1087, "Get the previous array of instances identifier from a list of tokens"), Comment(1114, "Get the index of the should call"), Comment(1128, "An alternative to SourceResult that uses DParse to get the source code"), Comment(1344, "Converts a file to D tokens provided by libDParse. All the whitespaces are ignored"), Comment(1466, "Source reporter should print the source code"), Comment(1482, "split multiline tokens in multiple single line tokens with the same type"), Comment(1505, "A new line sepparator"), Comment(1590, "convert to string the added data to ListInfoResult"), Comment(1604, "print the added data to ListInfoResult"), Comment(1622, "convert to string the added data lists to ListInfoResult")]; UnitTestDiscovery.comments["/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/serializers.d"] = [Comment(22, ""), Comment(55, ""), Comment(64, ""), Comment(71, ""), Comment(127, ""), Comment(159, "It should be able to override the default struct serializer"), Comment(174, "It should be able to override the default const struct serializer"), Comment(191, "It should be able to override the default immutable struct serializer"), Comment(214, "It should be able to override the default class serializer"), Comment(229, "It should be able to override the default const class serializer"), Comment(246, "It should be able to override the default immutable class serializer"), Comment(268, "It should serialize a char"), Comment(279, "It should serialize a SysTime"), Comment(290, "It should serialize a string"), Comment(301, "It should serialize an int"), Comment(312, "It should serialize an int list"), Comment(323, "It should serialize a void list"), Comment(334, "It should serialize a nested int list"), Comment(345, "It should serialize an assoc array"), Comment(356, "It should serialize a string enum"), Comment(424, ""), Comment(491, "it should parse an empty string"), Comment(498, "it should not parse a string that does not contain []"), Comment(506, "it should not parse a char that does not contain []"), Comment(513, "it should parse an empty array"), Comment(520, "it should parse a list of one number"), Comment(527, "it should parse a list of two numbers"), Comment(534, "it should remove the whitespaces from the parsed values"), Comment(541, "it should parse two string values that contain a `,`"), Comment(548, "it should parse two string values that contain a `'`"), Comment(555, "it should parse two char values that contain a `,`"), Comment(562, "it should parse two char values that contain `[` and `]`"), Comment(569, "it should parse two string values that contain `[` and `]`"), Comment(576, "it should parse two char values that contain a `\"`"), Comment(583, "it should parse two empty lists"), Comment(589, "it should parse two nested lists"), Comment(595, "it should parse two lists with items"), Comment(601, "it should parse two lists with string and char items"), Comment(607, "it should parse two lists with string and char items"), Comment(613, ""), Comment(630, "it should return an empty string when the input is an empty string"), Comment(635, "it should return the input value when it has one char"), Comment(640, "it should remove the \" from start and end of the string"), Comment(645, "it should remove the ' from start and end of the string"), Comment(650, ""), Comment(655, "It should return an empty array when the input list is empty"), Comment(662, "It should remove the `\"` from the begin and end of the string")]; UnitTestDiscovery.comments["/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/string.d"] = [Comment(11, "When there is a lazy string that throws an it should throw that exception"), Comment(242, "should throw exceptions for delegates that return basic types")]; UnitTestDiscovery.comments["/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/updateDocs.d"] = [Comment(11, "updating the built in operations in readme.md file"), Comment(28, "updating the operations md files")]; UnitTestDiscovery.comments["/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/test/operations/approximately.d"] = []; UnitTestDiscovery.comments["/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/test/operations/arrayContain.d"] = []; UnitTestDiscovery.comments["/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/test/operations/arrayEqual.d"] = []; UnitTestDiscovery.comments["/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/test/operations/beNull.d"] = []; UnitTestDiscovery.comments["/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/test/operations/between.d"] = []; UnitTestDiscovery.comments["/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/test/operations/contain.d"] = []; UnitTestDiscovery.comments["/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/test/operations/containOnly.d"] = []; UnitTestDiscovery.comments["/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/test/operations/endWith.d"] = []; UnitTestDiscovery.comments["/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/test/operations/equal.d"] = []; UnitTestDiscovery.comments["/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/test/operations/greaterOrEqualTo.d"] = []; UnitTestDiscovery.comments["/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/test/operations/greaterThan.d"] = []; UnitTestDiscovery.comments["/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/test/operations/instanceOf.d"] = []; UnitTestDiscovery.comments["/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/test/operations/lessOrEqualTo.d"] = []; UnitTestDiscovery.comments["/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/test/operations/lessThan.d"] = []; UnitTestDiscovery.comments["/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/test/operations/startWith.d"] = []; } testDiscovery0.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluent/asserts.d`, `fluent.asserts`); testDiscovery0.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/array.d`, `fluentasserts.core.array`); testDiscovery0.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/base.d`, `fluentasserts.core.base`); testDiscovery0.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/basetype.d`, `fluentasserts.core.basetype`); testDiscovery0.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/callable.d`, `fluentasserts.core.callable`); testDiscovery0.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/evaluation.d`, `fluentasserts.core.evaluation`); testDiscovery0.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/expect.d`, `fluentasserts.core.expect`); testDiscovery0.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/lifecycle.d`, `fluentasserts.core.lifecycle`); testDiscovery0.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/objects.d`, `fluentasserts.core.objects`); testDiscovery0.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/operations/approximately.d`, `fluentasserts.core.operations.approximately`); testDiscovery0.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/operations/arrayEqual.d`, `fluentasserts.core.operations.arrayEqual`); testDiscovery0.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/operations/beNull.d`, `fluentasserts.core.operations.beNull`); testDiscovery0.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/operations/between.d`, `fluentasserts.core.operations.between`); testDiscovery0.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/operations/contain.d`, `fluentasserts.core.operations.contain`); testDiscovery0.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/operations/endWith.d`, `fluentasserts.core.operations.endWith`); testDiscovery0.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/operations/equal.d`, `fluentasserts.core.operations.equal`); testDiscovery0.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/operations/greaterOrEqualTo.d`, `fluentasserts.core.operations.greaterOrEqualTo`); testDiscovery0.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/operations/greaterThan.d`, `fluentasserts.core.operations.greaterThan`); testDiscovery0.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/operations/instanceOf.d`, `fluentasserts.core.operations.instanceOf`); testDiscovery0.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/operations/lessOrEqualTo.d`, `fluentasserts.core.operations.lessOrEqualTo`); testDiscovery0.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/operations/lessThan.d`, `fluentasserts.core.operations.lessThan`); testDiscovery0.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/operations/registry.d`, `fluentasserts.core.operations.registry`); testDiscovery0.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/operations/startWith.d`, `fluentasserts.core.operations.startWith`); testDiscovery0.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/operations/throwable.d`, `fluentasserts.core.operations.throwable`); testDiscovery0.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/results.d`, `fluentasserts.core.results`); testDiscovery0.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/serializers.d`, `fluentasserts.core.serializers`); testDiscovery0.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/string.d`, `fluentasserts.core.string`); testDiscovery0.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/updateDocs.d`, `updateDocs`); testDiscovery0.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/test/operations/approximately.d`, `test.operations.approximately`); testDiscovery0.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/test/operations/arrayContain.d`, `test.operations.arrayContain`); testDiscovery0.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/test/operations/arrayEqual.d`, `test.operations.arrayEqual`); testDiscovery0.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/test/operations/beNull.d`, `test.operations.beNull`); testDiscovery0.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/test/operations/between.d`, `test.operations.between`); testDiscovery0.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/test/operations/contain.d`, `test.operations.contain`); testDiscovery0.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/test/operations/containOnly.d`, `test.operations.containOnly`); testDiscovery0.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/test/operations/endWith.d`, `test.operations.endWith`); testDiscovery0.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/test/operations/equal.d`, `test.operations.equal`); testDiscovery0.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/test/operations/greaterOrEqualTo.d`, `test.operations.greaterOrEqualTo`); testDiscovery0.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/test/operations/greaterThan.d`, `test.operations.greaterThan`); testDiscovery0.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/test/operations/instanceOf.d`, `test.operations.instanceOf`); testDiscovery0.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/test/operations/lessOrEqualTo.d`, `test.operations.lessOrEqualTo`); testDiscovery0.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/test/operations/lessThan.d`, `test.operations.lessThan`); testDiscovery0.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/test/operations/startWith.d`, `test.operations.startWith`); LifeCycleListeners.instance.add(testDiscovery0); auto testDiscovery1 = new SpecTestDiscovery; testDiscovery1.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluent/asserts.d`, `fluent.asserts`); testDiscovery1.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/array.d`, `fluentasserts.core.array`); testDiscovery1.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/base.d`, `fluentasserts.core.base`); testDiscovery1.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/basetype.d`, `fluentasserts.core.basetype`); testDiscovery1.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/callable.d`, `fluentasserts.core.callable`); testDiscovery1.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/evaluation.d`, `fluentasserts.core.evaluation`); testDiscovery1.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/expect.d`, `fluentasserts.core.expect`); testDiscovery1.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/lifecycle.d`, `fluentasserts.core.lifecycle`); testDiscovery1.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/objects.d`, `fluentasserts.core.objects`); testDiscovery1.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/operations/approximately.d`, `fluentasserts.core.operations.approximately`); testDiscovery1.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/operations/arrayEqual.d`, `fluentasserts.core.operations.arrayEqual`); testDiscovery1.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/operations/beNull.d`, `fluentasserts.core.operations.beNull`); testDiscovery1.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/operations/between.d`, `fluentasserts.core.operations.between`); testDiscovery1.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/operations/contain.d`, `fluentasserts.core.operations.contain`); testDiscovery1.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/operations/endWith.d`, `fluentasserts.core.operations.endWith`); testDiscovery1.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/operations/equal.d`, `fluentasserts.core.operations.equal`); testDiscovery1.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/operations/greaterOrEqualTo.d`, `fluentasserts.core.operations.greaterOrEqualTo`); testDiscovery1.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/operations/greaterThan.d`, `fluentasserts.core.operations.greaterThan`); testDiscovery1.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/operations/instanceOf.d`, `fluentasserts.core.operations.instanceOf`); testDiscovery1.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/operations/lessOrEqualTo.d`, `fluentasserts.core.operations.lessOrEqualTo`); testDiscovery1.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/operations/lessThan.d`, `fluentasserts.core.operations.lessThan`); testDiscovery1.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/operations/registry.d`, `fluentasserts.core.operations.registry`); testDiscovery1.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/operations/startWith.d`, `fluentasserts.core.operations.startWith`); testDiscovery1.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/operations/throwable.d`, `fluentasserts.core.operations.throwable`); testDiscovery1.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/results.d`, `fluentasserts.core.results`); testDiscovery1.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/serializers.d`, `fluentasserts.core.serializers`); testDiscovery1.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/string.d`, `fluentasserts.core.string`); testDiscovery1.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/updateDocs.d`, `updateDocs`); testDiscovery1.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/test/operations/approximately.d`, `test.operations.approximately`); testDiscovery1.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/test/operations/arrayContain.d`, `test.operations.arrayContain`); testDiscovery1.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/test/operations/arrayEqual.d`, `test.operations.arrayEqual`); testDiscovery1.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/test/operations/beNull.d`, `test.operations.beNull`); testDiscovery1.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/test/operations/between.d`, `test.operations.between`); testDiscovery1.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/test/operations/contain.d`, `test.operations.contain`); testDiscovery1.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/test/operations/containOnly.d`, `test.operations.containOnly`); testDiscovery1.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/test/operations/endWith.d`, `test.operations.endWith`); testDiscovery1.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/test/operations/equal.d`, `test.operations.equal`); testDiscovery1.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/test/operations/greaterOrEqualTo.d`, `test.operations.greaterOrEqualTo`); testDiscovery1.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/test/operations/greaterThan.d`, `test.operations.greaterThan`); testDiscovery1.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/test/operations/instanceOf.d`, `test.operations.instanceOf`); testDiscovery1.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/test/operations/lessOrEqualTo.d`, `test.operations.lessOrEqualTo`); testDiscovery1.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/test/operations/lessThan.d`, `test.operations.lessThan`); testDiscovery1.addModule!(`/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/test/operations/startWith.d`, `test.operations.startWith`); LifeCycleListeners.instance.add(testDiscovery1); if(arguments.length > 1 && arguments[1] == "describe") { import std.stdio; describeTests.toJSONHierarchy.write; return 0; } else { return runTests(LifeCycleListeners.instance.getTestCases, testName, suiteName).isSuccess ? 0 : 1; } } version (unittest) shared static this() { import core.runtime; Runtime.moduleUnitTester = () => true; }