143/147(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
1281
1290
1300
1310
1320
1330
1340
1350
1360
1370
1380
1390
1400
1410
1420
1430
1440
1450
1460
1470
1480
1491
1500
1510
1520
1530
1541
1550
1560
1570
1580
1590
1600
1611
1620
1631
1641
1651
1660
1670
1681
1690
1700
1710
1720
1731
1741
1751
1761
1770
1780
1791
1801
1811
1820
1830
1841
1850
1860
1870
1880
1890
1900
1910
1920
1931
1941
1950
1960
1970
1980
1990
2000
2010
2020
2030
2040
2050
2060
2070
2080
2090
2100
2110
2121
2130
2140
2150
2160
2170
2180
2190
2200
2210
2220
2230
2240
2250
2260
2270
2280
2290
2300
2310
2320
2330
2340
2350
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
2611
2620
2630
2640
2650
2660
2670
2680
2690
2700
2710
2720
2730
2740
2750
2760
2770
2780
2790
2800
2810
2820
2830
2840
2850
2860
2870
2880
2890
2900
2910
2920
2930
2940
2950
2960
2970
2980
2990
3000
3010
3020
3030
3040
3050
3060
3071
3080
3091
3101
3111
3121
3131
3141
3151
3161
3171
3181
3191
3201
3211
3221
3231
3241
3251
3261
3271
3281
3291
3301
3311
3321
3331
3341
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
3660
3671
3680
3691
3701
3711
3721
3731
3741
3751
3761
3771
3781
3791
3801
3811
3821
3831
3841
3851
3861
3871
3881
3891
3901
3911
3921
3931
3941
3951
3961
3971
3981
3991
4001
4011
4021
4031
4041
4051
4061
4071
4081
4091
4101
4111
4120
4131
4140
4150
4161
4170
4180
4190
4200
4212
4220
4230
4240
4250
4260
4270
4282
4290
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.entities", "dparse.formatter", "dparse.lexer", "dparse.parser", "dparse.rollback_allocator", "dparse.stack_buffer", "std.experimental.lexer", "stdx.allocator.building_blocks.affix_allocator", "stdx.allocator.building_blocks.allocator_list", "stdx.allocator.building_blocks.bitmapped_block", "stdx.allocator.building_blocks.bucketizer", "stdx.allocator.building_blocks.fallback_allocator", "stdx.allocator.building_blocks.free_list", "stdx.allocator.building_blocks.free_tree", "stdx.allocator.building_blocks.kernighan_ritchie", "stdx.allocator.building_blocks.null_allocator", "stdx.allocator.building_blocks", "stdx.allocator.building_blocks.quantizer", "stdx.allocator.building_blocks.region", "stdx.allocator.building_blocks.scoped_allocator", "stdx.allocator.building_blocks.segregator", "stdx.allocator.building_blocks.stats_collector", "stdx.allocator.common", "stdx.allocator.gc_allocator", "stdx.allocator.internal", "stdx.allocator.mallocator", "stdx.allocator.mmap_allocator", "It", "stdx.allocator.showcase", "stdx.allocator.typed", "_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(121, "ListComparison should be able to get the missing elements"), Comment(133, "ListComparison should be able to get the missing elements with duplicates"), Comment(143, "ListComparison should be able to get the extra elements"), Comment(155, "ListComparison should be able to get the extra elements with duplicates"), Comment(165, "ListComparison should be able to get the common elements"), Comment(176, "ListComparison should be able to get the common elements with duplicates"), Comment(409, "When there is a lazy array that throws an it should throw that exception"), Comment(462, "const range contain"), Comment(474, "immutable range contain"), Comment(486, "contain only"), Comment(530, "contain only with void array"), Comment(537, "const range containOnly"), Comment(549, "immutable range containOnly"), Comment(561, "array contain"), Comment(601, "array equals"), Comment(638, "array equals with structs"), Comment(657, "const array equal"), Comment(678, "array equals with classes"), Comment(691, "range equals"), Comment(728, "custom range asserts"), Comment(766, "custom const range equals"), Comment(787, "custom immutable range equals"), Comment(808, "approximately equals"), Comment(825, "approximately equals with Assert"), Comment(831, "immutable string"), Comment(838, "Compare const objects")]; UnitTestDiscovery.comments["/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/base.d"] = [Comment(275, "Test Exception should separate the results by a new line"), Comment(597, "Assert should work for base types"), Comment(624, "Assert should work for objects"), Comment(631, "Assert should work for strings"), Comment(652, "Assert should work for ranges"), Comment(678, "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, "Human readable value"), Comment(29, "The name of the type before it was converted to string"), Comment(32, "Other info about the value"), Comment(44, ""), Comment(49, "The value that will be validated"), Comment(52, "The expected value that we will use to perform the comparison"), Comment(55, "The operation name"), Comment(58, "True if the operation result needs to be negated to have a successful result"), Comment(61, "The nice message printed to the user"), Comment(64, "The source code where the assert is located"), Comment(67, "Results generated during evaluation"), Comment(70, "The throwable generated by the evaluation"), Comment(73, "True when the evaluation is done"), Comment(77, ""), Comment(82, ""), Comment(113, "evaluate a lazy value should capture an exception"), Comment(125, "evaluate should capture an exception thrown by a callable"), Comment(166, "It can get the type of a string"), Comment(172, "It can get the type of a string list"), Comment(178, "It can get the type of a string assoc array"), Comment(184, "It can get all types of a class")]; 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(79, "special cases for .length and other comparisons with int types"), Comment(87, ""), Comment(149, "The assert lifecycle"), Comment(159, "Method called when a new value is evaluated"), Comment(166, "")]; 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(20, ""), Comment(74, "")]; UnitTestDiscovery.comments["/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/operations/arrayEqual.d"] = [Comment(12, "")]; UnitTestDiscovery.comments["/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/operations/beNull.d"] = [Comment(9, "")]; UnitTestDiscovery.comments["/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/operations/between.d"] = [Comment(15, ""), Comment(37, ""), Comment(60, "")]; UnitTestDiscovery.comments["/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/operations/contain.d"] = [Comment(18, ""), Comment(74, ""), Comment(104, ""), Comment(152, ""), Comment(176, "")]; UnitTestDiscovery.comments["/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/operations/endWith.d"] = [Comment(15, "")]; UnitTestDiscovery.comments["/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/operations/equal.d"] = [Comment(12, "")]; UnitTestDiscovery.comments["/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/operations/greaterOrEqualTo.d"] = [Comment(14, "")]; UnitTestDiscovery.comments["/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/operations/greaterThan.d"] = [Comment(15, ""), Comment(34, ""), Comment(58, "")]; UnitTestDiscovery.comments["/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/operations/instanceOf.d"] = [Comment(16, "")]; UnitTestDiscovery.comments["/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/operations/lessOrEqualTo.d"] = [Comment(15, "")]; UnitTestDiscovery.comments["/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/operations/lessThan.d"] = [Comment(15, ""), Comment(34, ""), Comment(58, "")]; UnitTestDiscovery.comments["/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/operations/registry.d"] = [Comment(9, "Delegate type that can handle asserts"), Comment(12, "ditto"), Comment(15, ""), Comment(24, "Register a new assert operation"), Comment(35, "ditto"), Comment(41, "ditto"), Comment(50, "ditto"), Comment(55, "Get an operation function"), Comment(73, "")]; UnitTestDiscovery.comments["/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/operations/startWith.d"] = [Comment(15, "")]; UnitTestDiscovery.comments["/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/operations/throwable.d"] = [Comment(22, ""), Comment(63, "It should be successfull when the function does not throw"), Comment(69, "It should fail when an exception is thrown and none is expected"), Comment(88, "It should be successfull when the function throws an expected exception"), Comment(94, "It should not be successfull when the function throws a throwable and an exception is expected"), Comment(114, "It should be successfull when the function throws an expected exception"), Comment(160, ""), Comment(205, "Should be able to catch a certain exception type"), Comment(212, "It should fail when an unexpected exception is thrown"), Comment(232, "It should not fail when an exception is thrown and it is not expected"), Comment(239, "It should fail when an different exception than the one checked is thrown"), Comment(258, ""), Comment(315, "It fails when an exception is not catched"), Comment(329, "It does not fail when an exception is not expected and none is not catched"), Comment(342, "It fails when the caught exception has a different type"), Comment(358, "It does not fail when a certain exception type is not catched"), Comment(373, "It fails when the caught exception has a different message"), Comment(389, "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(644, "A result that displays differences between ranges"), Comment(750, "Get the spec function and scope that contains a lambda"), Comment(765, "Get the a method scope and signature"), Comment(778, "Get the a method scope without assert"), Comment(795, "iterate the parameters"), Comment(839, "Get the end of a spec function with a lambda"), Comment(856, "Get the end of an unittest function with a lambda"), Comment(873, "Get tokens from a scope that contains a lambda"), Comment(948, "Get the the previous unittest identifier from a list of tokens"), Comment(960, "Get the the previous paranthesis identifier from a list of tokens"), Comment(974, "Get the the previous function call identifier from a list of tokens"), Comment(988, "Get the the previous map!\"\" identifier from a list of tokens"), Comment(1015, "Get the index of the Assert structure identifier from a list of tokens"), Comment(1056, "Get the first parameter from a list of tokens"), Comment(1066, "Get the first list parameter from a list of tokens"), Comment(1076, "Get the previous array identifier from a list of tokens"), Comment(1089, "Get the previous array of instances identifier from a list of tokens"), Comment(1116, "Get the index of the should call"), Comment(1130, "An alternative to SourceResult that uses DParse to get the source code"), Comment(1346, "Converts a file to D tokens provided by libDParse. All the whitespaces are ignored"), Comment(1468, "Source reporter should print the source code"), Comment(1484, "split multiline tokens in multiple single line tokens with the same type"), Comment(1507, "A new line sepparator"), Comment(1592, "convert to string the added data to ListInfoResult"), Comment(1606, "print the added data to ListInfoResult"), Comment(1624, "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(126, ""), Comment(148, "It should be able to override the default struct serializer"), Comment(163, "It should be able to override the default const struct serializer"), Comment(180, "It should be able to override the default immutable struct serializer"), Comment(203, "It should be able to override the default class serializer"), Comment(218, "It should be able to override the default const class serializer"), Comment(235, "It should be able to override the default immutable class serializer"), Comment(257, "It should serialize a char"), Comment(268, "It should serialize a SysTime"), Comment(279, "It should serialize a string"), Comment(290, "It should serialize an int"), Comment(301, "It should serialize an int list"), Comment(312, "It should serialize a void list"), Comment(323, "It should serialize a nested int list"), Comment(334, "It should serialize an assoc array"), Comment(398, ""), Comment(465, "it should parse an empty string"), Comment(472, "it should not parse a string that does not contain []"), Comment(480, "it should not parse a char that does not contain []"), Comment(487, "it should parse an empty array"), Comment(494, "it should parse a list of one number"), Comment(501, "it should parse a list of two numbers"), Comment(508, "it should remove the whitespaces from the parsed values"), Comment(515, "it should parse two string values that contain a `,`"), Comment(522, "it should parse two string values that contain a `'`"), Comment(529, "it should parse two char values that contain a `,`"), Comment(536, "it should parse two char values that contain `[` and `]`"), Comment(543, "it should parse two string values that contain `[` and `]`"), Comment(550, "it should parse two char values that contain a `\"`"), Comment(557, "it should parse two empty lists"), Comment(563, "it should parse two nested lists"), Comment(569, "it should parse two lists with items"), Comment(575, "it should parse two lists with string and char items"), Comment(581, "it should parse two lists with string and char items"), Comment(587, ""), Comment(604, "it should return an empty string when the input is an empty string"), Comment(609, "it should return the input value when it has one char"), Comment(614, "it should remove the \" from start and end of the string"), Comment(619, "it should remove the ' from start and end of the string"), Comment(624, ""), Comment(629, "It should return an empty array when the input list is empty"), Comment(636, "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/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/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/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; }