125/129(96%) 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
1241
1250
1260
1270
1280
1290
1300
1310
1320
1330
1340
1350
1360
1370
1380
1390
1400
1410
1420
1431
1440
1450
1461
1470
1480
1490
1500
1510
1520
1531
1541
1551
1561
1571
1580
1590
1600
1610
1621
1631
1641
1651
1661
1670
1680
1690
1700
1710
1721
1731
1740
1750
1760
1770
1780
1790
1800
1810
1820
1830
1840
1850
1860
1870
1880
1890
1900
1911
1920
1930
1940
1950
1960
1970
1980
1990
2000
2010
2020
2030
2040
2050
2060
2070
2080
2090
2100
2110
2120
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
2401
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
2801
2810
2821
2831
2841
2851
2861
2871
2881
2891
2901
2911
2921
2931
2941
2951
2961
2971
2981
2991
3001
3011
3021
3031
3041
3051
3061
3071
3081
3091
3101
3111
3121
3131
3141
3151
3161
3171
3181
3191
3201
3211
3221
3231
3241
3251
3261
3271
3281
3291
3300
3311
3320
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
3661
3671
3681
3691
3700
3711
3720
3730
3741
3750
3760
3770
3780
3792
3800
3810
3820
3830
3840
3850
3862
3870
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 sepparate the results by a new line"), Comment(622, "Assert should work for base types"), Comment(649, "Assert should work for objects"), Comment(656, "Assert should work for strings"), Comment(677, "Assert should work for ranges"), Comment(703, "It should call the fluent handler")]; UnitTestDiscovery.comments["/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/basetype.d"] = [Comment(148, "When there is a lazy number that throws an it should throw that exception"), Comment(322, "numbers approximately"), Comment(346, "should throw exceptions for delegates that return basic types"), Comment(383, "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(132, "Should fail if an exception is not thrown"), Comment(145, "Should fail if an exception is not expected"), Comment(160, "Should be able to benchmark some code"), Comment(167, "Should fail on benchmark timeout"), Comment(185, "It should check if a delegate is null")]; UnitTestDiscovery.comments["/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/evaluation.d"] = [Comment(14, ""), Comment(19, "Time needed to evaluate the value"), Comment(22, "Serialized value as string"), Comment(25, "Human readable value"), Comment(28, "The name of the type before it was converted to string"), Comment(31, "Other info about the value"), Comment(35, ""), Comment(40, "The value that will be validated"), Comment(43, "The expected value that we will use to perform the comparison"), Comment(46, "The operation name"), Comment(49, "True if the operation result needs to be negated to have a successful result"), Comment(52, "The nice message printed to the user"), Comment(55, "The source code where the assert is located"), Comment(58, "Results generated during evaluation"), Comment(61, "The throwable generated by the evaluation"), Comment(64, "True when the evaluation is done"), Comment(68, ""), Comment(73, ""), Comment(104, "evaluate a lazy value should capture an exception"), Comment(116, "evaluate should capture an exception thrown by a callable")]; UnitTestDiscovery.comments["/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/expect.d"] = [Comment(12, ""), Comment(94, ""), Comment(99, ""), Comment(105, ""), Comment(113, ""), Comment(118, ""), Comment(131, ""), Comment(136, ""), Comment(141, ""), Comment(146, ""), Comment(155, ""), Comment(160, ""), Comment(165, ""), Comment(207, ""), Comment(214, ""), Comment(238, ""), Comment(260, ""), Comment(265, ""), Comment(292, "toNiceOperation converts to a nice and readable string")]; UnitTestDiscovery.comments["/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/lifecycle.d"] = [Comment(116, "The assert lifecycle"), Comment(126, "Method called when a new value is evaluated"), Comment(133, "")]; UnitTestDiscovery.comments["/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/objects.d"] = [Comment(67, "When there is a lazy object that throws an it should throw that exception"), Comment(86, "object beNull"), Comment(112, "object instanceOf"), Comment(146, "object instanceOf interface"), Comment(178, "should throw exceptions for delegates that return basic types"), Comment(202, "object equal"), Comment(230, "null object comparison")]; UnitTestDiscovery.comments["/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/operations/approximately.d"] = [Comment(20, "")]; 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(8, "")]; UnitTestDiscovery.comments["/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/operations/between.d"] = [Comment(14, "")]; 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/greaterThan.d"] = [Comment(14, "")]; UnitTestDiscovery.comments["/builds/szabobogdan3/fluent-asserts-coverage/fluent-asserts/source/fluentasserts/core/operations/lessThan.d"] = [Comment(15, "")]; 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, ""), Comment(21, "Register a new assert operation"), Comment(30, "Register a new assert operation"), Comment(35, "Get an operation function"), Comment(53, "")]; 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(12, "Singleton used to serialize to string the tested values"), Comment(21, ""), Comment(26, ""), Comment(35, ""), Comment(42, ""), Comment(74, ""), Comment(94, "It should serialize a char"), Comment(105, "It should serialize a string"), Comment(116, "It should serialize an int"), Comment(127, "It should serialize an int list"), Comment(138, "It should serialize a void list"), Comment(149, "It should serialize a nested int list"), Comment(160, "It should serialize an assoc array"), Comment(195, ""), Comment(262, "it should parse an empty string"), Comment(269, "it should not parse a string that does not contain []"), Comment(277, "it should not parse a char that does not contain []"), Comment(284, "it should parse an empty array"), Comment(291, "it should parse a list of one number"), Comment(298, "it should parse a list of two numbers"), Comment(305, "it should remove the whitespaces from the parsed values"), Comment(312, "it should parse two string values that contain a `,`"), Comment(319, "it should parse two string values that contain a `'`"), Comment(326, "it should parse two char values that contain a `,`"), Comment(333, "it should parse two char values that contain `[` and `]`"), Comment(340, "it should parse two string values that contain `[` and `]`"), Comment(347, "it should parse two char values that contain a `\"`"), Comment(354, "it should parse two empty lists"), Comment(360, "it should parse two nested lists"), Comment(367, "it should parse two lists with items"), Comment(373, "it should parse two lists with string and char items"), Comment(379, "it should parse two lists with string and char items"), Comment(385, ""), Comment(402, "it should return an empty string when the input is an empty string"), Comment(407, "it should return the input value when it has one char"), Comment(412, "it should remove the \" from start and end of the string"), Comment(417, "it should remove the ' from start and end of the string"), Comment(422, ""), Comment(427, "It should return an empty array when the input list is empty"), Comment(434, "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(188, "When there is a lazy string that throws an it should throw that exception"), Comment(419, "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/greaterThan.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/greaterThan.d`, `fluentasserts.core.operations.greaterThan`); 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/greaterThan.d`, `test.operations.greaterThan`); 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/greaterThan.d`, `fluentasserts.core.operations.greaterThan`); 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/greaterThan.d`, `test.operations.greaterThan`); 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; }