summaryrefslogtreecommitdiff
path: root/Library/Artifacts/b3/b329cb8363f190ba181a42e3867b2960
blob: 5e7462bd10a9081104824c2670ce14da9aadca70 (plain)
ofshex dumpascii
0000 00 00 0f 81 00 00 4d 18 00 00 00 15 00 00 10 00 00 00 00 00 32 30 31 39 2e 33 2e 36 66 31 00 fe ......M.............2019.3.6f1..
0020 ff ff ff 01 02 00 00 00 0b 04 00 00 00 ff ff 66 9a 86 21 eb 14 35 98 39 dd 34 1d 51 0e c1 f3 42 ...............f..!..5.9.4.Q...B
0040 00 00 00 ed 00 00 00 02 00 00 00 00 00 00 00 37 00 00 80 ff ff ff ff 00 00 00 00 00 80 00 00 00 ...............7................
0060 00 00 00 00 00 00 00 01 00 01 00 a6 03 00 80 b2 01 00 80 04 00 00 00 01 00 00 00 01 00 00 00 00 ................................
0080 00 00 00 00 00 00 00 01 00 01 00 0d 00 00 00 45 04 00 80 0c 00 00 00 02 00 00 00 01 00 00 00 00 ...............E................
00a0 00 00 00 00 00 00 00 01 00 02 00 de 00 00 80 23 00 00 00 04 00 00 00 03 00 00 00 01 00 80 00 00 ...............#................
00c0 00 00 00 00 00 00 00 01 00 02 00 2e 03 00 80 2c 00 00 00 08 00 00 00 04 00 00 00 01 00 80 00 00 ...............,................
00e0 00 00 00 00 00 00 00 01 00 01 00 35 00 00 00 61 04 00 80 0c 00 00 00 05 00 00 00 01 00 00 00 00 ...........5...a................
0100 00 00 00 00 00 00 00 01 00 02 00 de 00 00 80 23 00 00 00 04 00 00 00 06 00 00 00 01 00 80 00 00 ...............#................
0120 00 00 00 00 00 00 00 01 00 02 00 2e 03 00 80 2c 00 00 00 08 00 00 00 07 00 00 00 01 00 80 00 00 ...............,................
0140 00 00 00 00 00 00 00 01 00 01 00 86 02 00 80 72 04 00 80 0c 00 00 00 08 00 00 00 01 00 00 00 00 ...............r................
0160 00 00 00 00 00 00 00 01 00 02 00 de 00 00 80 23 00 00 00 04 00 00 00 09 00 00 00 01 00 80 00 00 ...............#................
0180 00 00 00 00 00 00 00 01 00 02 00 2e 03 00 80 2c 00 00 00 08 00 00 00 0a 00 00 00 01 00 80 00 00 ...............,................
01a0 00 00 00 00 00 00 00 01 00 01 00 48 03 00 80 ab 01 00 80 ff ff ff ff 0b 00 00 00 01 80 08 00 00 ...........H....................
01c0 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 00 00 80 ff ff ff ff 0c 00 00 00 01 40 08 00 00 ...........1...1............@...
01e0 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b 03 00 80 04 00 00 00 0d 00 00 00 01 00 08 00 00 ................................
0200 00 00 00 00 00 00 00 01 00 03 00 51 00 00 80 6a 00 00 80 01 00 00 00 0e 00 00 00 01 00 08 00 00 ...........Q...j................
0220 00 00 00 00 00 00 00 01 00 01 00 f1 00 00 80 4a 00 00 00 ff ff ff ff 0f 00 00 00 00 c0 00 00 00 ...............J................
0240 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 00 00 80 ff ff ff ff 10 00 00 00 00 80 00 00 00 ...........1...1................
0260 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b 03 00 80 04 00 00 00 11 00 00 00 00 00 00 00 00 ................................
0280 00 00 00 00 00 00 00 01 00 03 00 1f 02 00 80 6a 00 00 80 ff ff ff ff 12 00 00 00 00 80 00 00 00 ...............j................
02a0 00 00 00 00 00 00 00 01 00 04 00 5c 00 00 00 9b 00 00 80 ff ff ff ff 13 00 00 00 00 80 00 00 00 ...........\....................
02c0 00 00 00 00 00 00 00 01 00 05 00 48 03 00 80 72 00 00 00 ff ff ff ff 14 00 00 00 00 80 00 00 00 ...........H...r................
02e0 00 00 00 00 00 00 00 01 00 06 01 31 00 00 80 31 00 00 80 ff ff ff ff 15 00 00 00 01 40 00 00 00 ...........1...1............@...
0300 00 00 00 00 00 00 00 01 00 07 00 de 00 00 80 1b 03 00 80 04 00 00 00 16 00 00 00 01 00 00 00 00 ................................
0320 00 00 00 00 00 00 00 01 00 07 00 51 00 00 80 6a 00 00 80 01 00 00 00 17 00 00 00 01 00 00 00 00 ...........Q...j................
0340 00 00 00 00 00 00 00 01 00 05 00 48 03 00 80 77 00 00 00 ff ff ff ff 18 00 00 00 00 80 00 00 00 ...........H...w................
0360 00 00 00 00 00 00 00 01 00 06 01 31 00 00 80 31 00 00 80 ff ff ff ff 19 00 00 00 01 40 00 00 00 ...........1...1............@...
0380 00 00 00 00 00 00 00 01 00 07 00 de 00 00 80 1b 03 00 80 04 00 00 00 1a 00 00 00 01 00 00 00 00 ................................
03a0 00 00 00 00 00 00 00 01 00 07 00 51 00 00 80 6a 00 00 80 01 00 00 00 1b 00 00 00 01 00 00 00 00 ...........Q...j................
03c0 00 00 00 00 00 00 00 01 00 05 00 48 03 00 80 80 00 00 00 ff ff ff ff 1c 00 00 00 00 80 00 00 00 ...........H....................
03e0 00 00 00 00 00 00 00 01 00 06 01 31 00 00 80 31 00 00 80 ff ff ff ff 1d 00 00 00 01 40 00 00 00 ...........1...1............@...
0400 00 00 00 00 00 00 00 01 00 07 00 de 00 00 80 1b 03 00 80 04 00 00 00 1e 00 00 00 01 00 00 00 00 ................................
0420 00 00 00 00 00 00 00 01 00 07 00 51 00 00 80 6a 00 00 80 01 00 00 00 1f 00 00 00 01 00 00 00 00 ...........Q...j................
0440 00 00 00 00 00 00 00 01 00 04 00 79 02 00 80 0a 03 00 80 0c 00 00 00 20 00 00 00 00 00 00 00 00 ...........y....................
0460 00 00 00 00 00 00 00 01 00 05 00 de 00 00 80 23 00 00 00 04 00 00 00 21 00 00 00 01 00 80 00 00 ...............#.......!........
0480 00 00 00 00 00 00 00 01 00 05 00 2e 03 00 80 2c 00 00 00 08 00 00 00 22 00 00 00 01 00 80 00 00 ...............,......."........
04a0 00 00 00 00 00 00 00 01 00 01 00 11 03 00 80 85 00 00 00 ff ff ff ff 23 00 00 00 01 40 08 00 00 .......................#....@...
04c0 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 00 00 80 ff ff ff ff 24 00 00 00 01 00 08 00 00 ...........1...1.......$........
04e0 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b 03 00 80 04 00 00 00 25 00 00 00 01 00 08 00 00 .......................%........
0500 00 00 00 00 00 00 00 01 00 03 00 2e 03 00 80 6a 00 00 80 08 00 00 00 26 00 00 00 01 00 08 00 00 ...............j.......&........
0520 00 00 00 00 00 00 00 01 00 01 00 d5 03 00 80 93 00 00 00 ff ff ff ff 27 00 00 00 00 80 00 00 00 .......................'........
0540 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 00 00 80 ff ff ff ff 28 00 00 00 00 c0 00 00 00 ...........1...1.......(........
0560 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b 03 00 80 04 00 00 00 29 00 00 00 00 00 00 00 00 .......................)........
0580 00 00 00 00 00 00 00 01 00 03 00 1f 02 00 80 6a 00 00 80 ff ff ff ff 2a 00 00 00 00 80 00 00 00 ...............j.......*........
05a0 00 00 00 00 00 00 00 01 00 04 00 48 03 00 80 9b 00 00 80 ff ff ff ff 2b 00 00 00 00 80 00 00 00 ...........H...........+........
05c0 00 00 00 00 00 00 00 01 00 05 01 31 00 00 80 31 00 00 80 ff ff ff ff 2c 00 00 00 01 40 00 00 00 ...........1...1.......,....@...
05e0 00 00 00 00 00 00 00 01 00 06 00 de 00 00 80 1b 03 00 80 04 00 00 00 2d 00 00 00 01 00 00 00 00 .......................-........
0600 00 00 00 00 00 00 00 01 00 06 00 51 00 00 80 6a 00 00 80 01 00 00 00 2e 00 00 00 01 00 00 00 00 ...........Q...j................
0620 00 00 00 00 00 00 00 01 00 04 00 79 02 00 80 0a 03 00 80 0c 00 00 00 2f 00 00 00 00 00 00 00 00 ...........y.........../........
0640 00 00 00 00 00 00 00 01 00 05 00 de 00 00 80 23 00 00 00 04 00 00 00 30 00 00 00 01 00 80 00 00 ...............#.......0........
0660 00 00 00 00 00 00 00 01 00 05 00 2e 03 00 80 2c 00 00 00 08 00 00 00 31 00 00 00 01 00 80 00 00 ...............,.......1........
0680 00 00 00 00 00 00 00 01 00 01 00 20 03 00 80 a7 00 00 00 02 00 00 00 32 00 00 00 00 40 00 00 00 .......................2....@...
06a0 00 00 00 00 00 00 00 01 00 01 00 be 02 00 80 b6 00 00 00 0c 00 00 00 33 00 00 00 00 40 00 00 00 .......................3....@...
06c0 00 00 00 00 00 00 00 01 00 02 00 de 00 00 80 23 00 00 00 04 00 00 00 34 00 00 00 01 00 80 00 00 ...............#.......4........
06e0 00 00 00 00 00 00 00 01 00 02 00 2e 03 00 80 2c 00 00 00 08 00 00 00 35 00 00 00 01 00 80 00 00 ...............,.......5........
0700 00 00 00 00 00 00 00 01 00 01 00 48 03 00 80 bb 00 00 00 ff ff ff ff 36 00 00 00 01 80 00 00 00 ...........H...........6........
0720 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 00 00 80 ff ff ff ff 37 00 00 00 01 40 00 00 00 ...........1...1.......7....@...
0740 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b 03 00 80 04 00 00 00 38 00 00 00 01 00 00 00 00 .......................8........
0760 00 00 00 00 00 00 00 01 00 03 00 51 00 00 80 6a 00 00 80 01 00 00 00 39 00 00 00 01 00 00 00 00 ...........Q...j.......9........
0780 00 00 00 00 00 00 00 01 00 01 00 48 03 00 80 c6 00 00 00 ff ff ff ff 3a 00 00 00 01 80 00 00 00 ...........H...........:........
07a0 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 00 00 80 ff ff ff ff 3b 00 00 00 01 40 00 00 00 ...........1...1.......;....@...
07c0 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b 03 00 80 04 00 00 00 3c 00 00 00 01 00 00 00 00 .......................<........
07e0 00 00 00 00 00 00 00 01 00 03 00 51 00 00 80 6a 00 00 80 01 00 00 00 3d 00 00 00 01 00 00 00 00 ...........Q...j.......=........
0800 00 00 00 00 00 00 00 01 00 01 00 48 03 00 80 d8 00 00 00 ff ff ff ff 3e 00 00 00 01 80 00 00 00 ...........H...........>........
0820 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 00 00 80 ff ff ff ff 3f 00 00 00 01 40 00 00 00 ...........1...1.......?....@...
0840 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b 03 00 80 04 00 00 00 40 00 00 00 01 00 00 00 00 .......................@........
0860 00 00 00 00 00 00 00 01 00 03 00 51 00 00 80 6a 00 00 80 01 00 00 00 41 00 00 00 01 00 00 00 00 ...........Q...j.......A........
0880 00 00 00 00 00 00 00 4d 6f 6e 6f 49 6d 70 6f 72 74 65 72 00 50 50 74 72 3c 45 64 69 74 6f 72 45 .......MonoImporter.PPtr<EditorE
08a0 78 74 65 6e 73 69 6f 6e 3e 00 6d 5f 46 69 6c 65 49 44 00 6d 5f 50 61 74 68 49 44 00 50 50 74 72 xtension>.m_FileID.m_PathID.PPtr
08c0 3c 50 72 65 66 61 62 49 6e 73 74 61 6e 63 65 3e 00 6d 5f 45 78 74 65 72 6e 61 6c 4f 62 6a 65 63 <PrefabInstance>.m_ExternalObjec
08e0 74 73 00 53 6f 75 72 63 65 41 73 73 65 74 49 64 65 6e 74 69 66 69 65 72 00 74 79 70 65 00 61 73 ts.SourceAssetIdentifier.type.as
0900 73 65 6d 62 6c 79 00 6e 61 6d 65 00 6d 5f 55 73 65 64 46 69 6c 65 49 44 73 00 6d 5f 44 65 66 61 sembly.name.m_UsedFileIDs.m_Defa
0920 75 6c 74 52 65 66 65 72 65 6e 63 65 73 00 65 78 65 63 75 74 69 6f 6e 4f 72 64 65 72 00 69 63 6f ultReferences.executionOrder.ico
0940 6e 00 6d 5f 55 73 65 72 44 61 74 61 00 6d 5f 41 73 73 65 74 42 75 6e 64 6c 65 4e 61 6d 65 00 6d n.m_UserData.m_AssetBundleName.m
0960 5f 41 73 73 65 74 42 75 6e 64 6c 65 56 61 72 69 61 6e 74 00 00 00 00 00 73 00 00 00 00 ff ff a3 _AssetBundleVariant.....s.......
0980 47 f1 d7 dc 8f 5a 35 36 a0 3a 21 40 69 c1 4a 2a 00 00 00 81 00 00 00 05 00 00 00 15 01 00 80 37 G....Z56.:!@i.J*...............7
09a0 00 00 80 ff ff ff ff 00 00 00 00 00 80 00 00 00 00 00 00 00 00 00 00 01 00 01 00 a6 03 00 80 b2 ................................
09c0 01 00 80 04 00 00 00 01 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 01 00 00 00 00 00 45 ...............................E
09e0 04 00 80 0c 00 00 00 02 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 02 00 de 00 00 80 16 ................................
0a00 00 00 00 04 00 00 00 03 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 02 00 2e 03 00 80 1f ................................
0a20 00 00 00 08 00 00 00 04 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 01 00 28 00 00 00 61 ...........................(...a
0a40 04 00 80 0c 00 00 00 05 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 02 00 de 00 00 80 16 ................................
0a60 00 00 00 04 00 00 00 06 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 02 00 2e 03 00 80 1f ................................
0a80 00 00 00 08 00 00 00 07 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 01 00 86 02 00 80 72 ...............................r
0aa0 04 00 80 0c 00 00 00 08 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 02 00 de 00 00 80 16 ................................
0ac0 00 00 00 04 00 00 00 09 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 02 00 2e 03 00 80 1f ................................
0ae0 00 00 00 08 00 00 00 0a 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 01 00 48 03 00 80 ab ...........................H....
0b00 01 00 80 ff ff ff ff 0b 00 00 00 01 80 08 00 00 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 ...........................1...1
0b20 00 00 80 ff ff ff ff 0c 00 00 00 01 40 08 00 00 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b ............@...................
0b40 03 00 80 04 00 00 00 0d 00 00 00 01 00 08 00 00 00 00 00 00 00 00 00 01 00 03 00 51 00 00 80 6a ...........................Q...j
0b60 00 00 80 01 00 00 00 0e 00 00 00 01 00 08 00 00 00 00 00 00 00 00 00 01 00 01 00 48 03 00 80 ea ...........................H....
0b80 01 00 80 ff ff ff ff 0f 00 00 00 01 80 00 00 00 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 ...........................1...1
0ba0 00 00 80 ff ff ff ff 10 00 00 00 01 40 00 00 00 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b ............@...................
0bc0 03 00 80 04 00 00 00 11 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 03 00 51 00 00 80 6a ...........................Q...j
0be0 00 00 80 01 00 00 00 12 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 01 00 f1 00 00 80 3d ...............................=
0c00 00 00 00 ff ff ff ff 13 00 00 00 01 80 00 00 00 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 ...........................1...1
0c20 00 00 80 ff ff ff ff 14 00 00 00 01 80 00 00 00 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b ................................
0c40 03 00 80 04 00 00 00 15 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 03 00 1f 02 00 80 6a ...............................j
0c60 00 00 80 ff ff ff ff 16 00 00 00 01 80 00 00 00 00 00 00 00 00 00 00 01 00 04 00 48 03 00 80 9b ...........................H....
0c80 00 00 80 ff ff ff ff 17 00 00 00 01 80 00 00 00 00 00 00 00 00 00 00 01 00 05 01 31 00 00 80 31 ...........................1...1
0ca0 00 00 80 ff ff ff ff 18 00 00 00 01 40 00 00 00 00 00 00 00 00 00 00 01 00 06 00 de 00 00 80 1b ............@...................
0cc0 03 00 80 04 00 00 00 19 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 06 00 51 00 00 80 6a ...........................Q...j
0ce0 00 00 80 01 00 00 00 1a 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 04 00 79 02 00 80 0a ...........................y....
0d00 03 00 80 0c 00 00 00 1b 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 05 00 de 00 00 80 16 ................................
0d20 00 00 00 04 00 00 00 1c 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 05 00 2e 03 00 80 1f ................................
0d40 00 00 00 08 00 00 00 1d 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 01 00 79 02 00 80 51 ...........................y...Q
0d60 00 00 00 0c 00 00 00 1e 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 02 00 de 00 00 80 16 ................................
0d80 00 00 00 04 00 00 00 1f 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 02 00 2e 03 00 80 1f ................................
0da0 00 00 00 08 00 00 00 20 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 01 00 de 00 00 80 58 ...............................X
0dc0 00 00 00 04 00 00 00 21 00 00 00 10 00 00 00 00 00 00 00 00 00 00 00 01 00 01 00 48 03 00 80 69 .......!...................H...i
0de0 00 00 00 ff ff ff ff 22 00 00 00 10 80 00 00 00 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 ......."...................1...1
0e00 00 00 80 ff ff ff ff 23 00 00 00 11 40 00 00 00 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b .......#....@...................
0e20 03 00 80 04 00 00 00 24 00 00 00 11 00 00 00 00 00 00 00 00 00 00 00 01 00 03 00 51 00 00 80 6a .......$...................Q...j
0e40 00 00 80 01 00 00 00 25 00 00 00 11 00 00 00 00 00 00 00 00 00 00 00 01 00 01 00 48 03 00 80 75 .......%...................H...u
0e60 00 00 00 ff ff ff ff 26 00 00 00 10 80 00 00 00 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 .......&...................1...1
0e80 00 00 80 ff ff ff ff 27 00 00 00 11 40 00 00 00 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b .......'....@...................
0ea0 03 00 80 04 00 00 00 28 00 00 00 11 00 00 00 00 00 00 00 00 00 00 00 01 00 03 00 51 00 00 80 6a .......(...................Q...j
0ec0 00 00 80 01 00 00 00 29 00 00 00 11 00 00 00 00 00 00 00 00 00 00 00 50 50 74 72 3c 45 64 69 74 .......)...............PPtr<Edit
0ee0 6f 72 45 78 74 65 6e 73 69 6f 6e 3e 00 6d 5f 46 69 6c 65 49 44 00 6d 5f 50 61 74 68 49 44 00 50 orExtension>.m_FileID.m_PathID.P
0f00 50 74 72 3c 50 72 65 66 61 62 49 6e 73 74 61 6e 63 65 3e 00 6d 5f 44 65 66 61 75 6c 74 52 65 66 Ptr<PrefabInstance>.m_DefaultRef
0f20 65 72 65 6e 63 65 73 00 6d 5f 49 63 6f 6e 00 6d 5f 45 78 65 63 75 74 69 6f 6e 4f 72 64 65 72 00 erences.m_Icon.m_ExecutionOrder.
0f40 6d 5f 43 6c 61 73 73 4e 61 6d 65 00 6d 5f 4e 61 6d 65 73 70 61 63 65 00 00 00 00 00 02 00 00 00 m_ClassName.m_Namespace.........
0f60 03 00 00 00 00 00 00 00 00 00 00 00 5c 00 00 00 00 00 00 00 e0 79 af 00 00 00 00 00 60 00 00 00 ............\........y......`...
0f80 b8 3c 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .<..............................
0fa0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0fc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0fe0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 e0 79 af 00 00 00 00 00 00 00 00 00 .....................y..........
1040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1080 00 00 00 00 00 00 00 00 0e 00 00 00 45 64 69 74 4d 6f 64 65 52 75 6e 6e 65 72 00 00 2c 3c 00 00 ............EditModeRunner..,<..
10a0 75 73 69 6e 67 20 53 79 73 74 65 6d 3b 0d 0a 75 73 69 6e 67 20 53 79 73 74 65 6d 2e 43 6f 6c 6c using.System;..using.System.Coll
10c0 65 63 74 69 6f 6e 73 3b 0d 0a 75 73 69 6e 67 20 53 79 73 74 65 6d 2e 43 6f 6c 6c 65 63 74 69 6f ections;..using.System.Collectio
10e0 6e 73 2e 47 65 6e 65 72 69 63 3b 0d 0a 75 73 69 6e 67 20 53 79 73 74 65 6d 2e 4c 69 6e 71 3b 0d ns.Generic;..using.System.Linq;.
1100 0a 75 73 69 6e 67 20 4e 55 6e 69 74 2e 46 72 61 6d 65 77 6f 72 6b 2e 49 6e 74 65 72 66 61 63 65 .using.NUnit.Framework.Interface
1120 73 3b 0d 0a 75 73 69 6e 67 20 4e 55 6e 69 74 2e 46 72 61 6d 65 77 6f 72 6b 2e 49 6e 74 65 72 6e s;..using.NUnit.Framework.Intern
1140 61 6c 3b 0d 0a 75 73 69 6e 67 20 4e 55 6e 69 74 2e 46 72 61 6d 65 77 6f 72 6b 2e 49 6e 74 65 72 al;..using.NUnit.Framework.Inter
1160 6e 61 6c 2e 46 69 6c 74 65 72 73 3b 0d 0a 75 73 69 6e 67 20 55 6e 69 74 79 45 6e 67 69 6e 65 3b nal.Filters;..using.UnityEngine;
1180 0d 0a 75 73 69 6e 67 20 55 6e 69 74 79 45 6e 67 69 6e 65 2e 54 65 73 74 54 6f 6f 6c 73 2e 4e 55 ..using.UnityEngine.TestTools.NU
11a0 6e 69 74 45 78 74 65 6e 73 69 6f 6e 73 3b 0d 0a 75 73 69 6e 67 20 55 6e 69 74 79 45 6e 67 69 6e nitExtensions;..using.UnityEngin
11c0 65 2e 54 65 73 74 54 6f 6f 6c 73 2e 54 65 73 74 52 75 6e 6e 65 72 3b 0d 0a 75 73 69 6e 67 20 55 e.TestTools.TestRunner;..using.U
11e0 6e 69 74 79 45 6e 67 69 6e 65 2e 54 65 73 74 54 6f 6f 6c 73 3b 0d 0a 75 73 69 6e 67 20 55 6e 69 nityEngine.TestTools;..using.Uni
1200 74 79 45 6e 67 69 6e 65 2e 54 65 73 74 54 6f 6f 6c 73 2e 54 65 73 74 52 75 6e 6e 65 72 2e 47 55 tyEngine.TestTools.TestRunner.GU
1220 49 3b 0d 0a 75 73 69 6e 67 20 55 6e 69 74 79 45 64 69 74 6f 72 2e 43 61 6c 6c 62 61 63 6b 73 3b I;..using.UnityEditor.Callbacks;
1240 0d 0a 75 73 69 6e 67 20 55 6e 69 74 79 45 64 69 74 6f 72 2e 54 65 73 74 54 6f 6f 6c 73 2e 54 65 ..using.UnityEditor.TestTools.Te
1260 73 74 52 75 6e 6e 65 72 2e 41 70 69 3b 0d 0a 75 73 69 6e 67 20 55 6e 69 74 79 45 6e 67 69 6e 65 stRunner.Api;..using.UnityEngine
1280 2e 54 65 73 74 52 75 6e 6e 65 72 2e 4e 55 6e 69 74 45 78 74 65 6e 73 69 6f 6e 73 3b 0d 0a 75 73 .TestRunner.NUnitExtensions;..us
12a0 69 6e 67 20 55 6e 69 74 79 45 6e 67 69 6e 65 2e 54 65 73 74 52 75 6e 6e 65 72 2e 4e 55 6e 69 74 ing.UnityEngine.TestRunner.NUnit
12c0 45 78 74 65 6e 73 69 6f 6e 73 2e 52 75 6e 6e 65 72 3b 0d 0a 0d 0a 6e 61 6d 65 73 70 61 63 65 20 Extensions.Runner;....namespace.
12e0 55 6e 69 74 79 45 64 69 74 6f 72 2e 54 65 73 74 54 6f 6f 6c 73 2e 54 65 73 74 52 75 6e 6e 65 72 UnityEditor.TestTools.TestRunner
1300 0d 0a 7b 0d 0a 20 20 20 20 69 6e 74 65 72 6e 61 6c 20 69 6e 74 65 72 66 61 63 65 20 49 55 6e 69 ..{......internal.interface.IUni
1320 74 79 54 65 73 74 41 73 73 65 6d 62 6c 79 52 75 6e 6e 65 72 46 61 63 74 6f 72 79 0d 0a 20 20 20 tyTestAssemblyRunnerFactory.....
1340 20 7b 0d 0a 20 20 20 20 20 20 20 20 49 55 6e 69 74 79 54 65 73 74 41 73 73 65 6d 62 6c 79 52 75 .{..........IUnityTestAssemblyRu
1360 6e 6e 65 72 20 43 72 65 61 74 65 28 54 65 73 74 50 6c 61 74 66 6f 72 6d 20 74 65 73 74 50 6c 61 nner.Create(TestPlatform.testPla
1380 74 66 6f 72 6d 2c 20 57 6f 72 6b 49 74 65 6d 46 61 63 74 6f 72 79 20 66 61 63 74 6f 72 79 29 3b tform,.WorkItemFactory.factory);
13a0 0d 0a 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 69 6e 74 65 72 6e 61 6c 20 63 6c 61 73 73 20 55 6e ......}........internal.class.Un
13c0 69 74 79 54 65 73 74 41 73 73 65 6d 62 6c 79 52 75 6e 6e 65 72 46 61 63 74 6f 72 79 20 3a 20 49 ityTestAssemblyRunnerFactory.:.I
13e0 55 6e 69 74 79 54 65 73 74 41 73 73 65 6d 62 6c 79 52 75 6e 6e 65 72 46 61 63 74 6f 72 79 0d 0a UnityTestAssemblyRunnerFactory..
1400 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 49 55 6e 69 74 79 54 65 73 74 ....{..........public.IUnityTest
1420 41 73 73 65 6d 62 6c 79 52 75 6e 6e 65 72 20 43 72 65 61 74 65 28 54 65 73 74 50 6c 61 74 66 6f AssemblyRunner.Create(TestPlatfo
1440 72 6d 20 74 65 73 74 50 6c 61 74 66 6f 72 6d 2c 20 57 6f 72 6b 49 74 65 6d 46 61 63 74 6f 72 79 rm.testPlatform,.WorkItemFactory
1460 20 66 61 63 74 6f 72 79 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 .factory)..........{............
1480 20 20 72 65 74 75 72 6e 20 6e 65 77 20 55 6e 69 74 79 54 65 73 74 41 73 73 65 6d 62 6c 79 52 75 ..return.new.UnityTestAssemblyRu
14a0 6e 6e 65 72 28 6e 65 77 20 55 6e 69 74 79 54 65 73 74 41 73 73 65 6d 62 6c 79 42 75 69 6c 64 65 nner(new.UnityTestAssemblyBuilde
14c0 72 28 29 2c 20 66 61 63 74 6f 72 79 29 3b 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 7d r(),.factory);..........}......}
14e0 0d 0a 0d 0a 20 20 20 20 5b 53 65 72 69 61 6c 69 7a 61 62 6c 65 5d 0d 0a 20 20 20 20 69 6e 74 65 ........[Serializable]......inte
1500 72 6e 61 6c 20 63 6c 61 73 73 20 45 64 69 74 4d 6f 64 65 52 75 6e 6e 65 72 20 3a 20 53 63 72 69 rnal.class.EditModeRunner.:.Scri
1520 70 74 61 62 6c 65 4f 62 6a 65 63 74 2c 20 49 44 69 73 70 6f 73 61 62 6c 65 0d 0a 20 20 20 20 7b ptableObject,.IDisposable......{
1540 0d 0a 20 20 20 20 20 20 20 20 5b 53 65 72 69 61 6c 69 7a 65 46 69 65 6c 64 5d 0d 0a 20 20 20 20 ..........[SerializeField]......
1560 20 20 20 20 70 72 69 76 61 74 65 20 46 69 6c 74 65 72 5b 5d 20 6d 5f 46 69 6c 74 65 72 73 3b 0d ....private.Filter[].m_Filters;.
1580 0a 0d 0a 20 20 20 20 20 20 20 20 2f 2f 54 68 65 20 63 6f 75 6e 74 65 72 20 66 72 6f 6d 20 74 68 ...........//The.counter.from.th
15a0 65 20 49 45 6e 75 6d 65 72 61 74 6f 72 20 6f 62 6a 65 63 74 0d 0a 20 20 20 20 20 20 20 20 5b 53 e.IEnumerator.object..........[S
15c0 65 72 69 61 6c 69 7a 65 46 69 65 6c 64 5d 0d 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 74 65 20 erializeField]..........private.
15e0 69 6e 74 20 6d 5f 43 75 72 72 65 6e 74 50 43 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 5b 53 65 72 int.m_CurrentPC;............[Ser
1600 69 61 6c 69 7a 65 46 69 65 6c 64 5d 0d 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 74 65 20 62 6f ializeField]..........private.bo
1620 6f 6c 20 6d 5f 45 78 65 63 75 74 65 4f 6e 45 6e 61 62 6c 65 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 ol.m_ExecuteOnEnable;...........
1640 20 5b 53 65 72 69 61 6c 69 7a 65 46 69 65 6c 64 5d 0d 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 .[SerializeField]..........priva
1660 74 65 20 4c 69 73 74 3c 73 74 72 69 6e 67 3e 20 6d 5f 41 6c 72 65 61 64 79 53 74 61 72 74 65 64 te.List<string>.m_AlreadyStarted
1680 54 65 73 74 73 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 5b 53 65 72 69 61 6c 69 7a 65 46 69 65 6c Tests;............[SerializeFiel
16a0 64 5d 0d 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 74 65 20 4c 69 73 74 3c 54 65 73 74 52 65 73 d]..........private.List<TestRes
16c0 75 6c 74 53 65 72 69 61 6c 69 7a 65 72 3e 20 6d 5f 45 78 65 63 75 74 65 64 54 65 73 74 73 3b 0d ultSerializer>.m_ExecutedTests;.
16e0 0a 0d 0a 20 20 20 20 20 20 20 20 5b 53 65 72 69 61 6c 69 7a 65 46 69 65 6c 64 5d 0d 0a 20 20 20 ...........[SerializeField].....
1700 20 20 20 20 20 70 72 69 76 61 74 65 20 4c 69 73 74 3c 53 63 72 69 70 74 61 62 6c 65 4f 62 6a 65 .....private.List<ScriptableObje
1720 63 74 3e 20 6d 5f 43 61 6c 6c 62 61 63 6b 4f 62 6a 65 63 74 73 20 3d 20 6e 65 77 20 4c 69 73 74 ct>.m_CallbackObjects.=.new.List
1740 3c 53 63 72 69 70 74 61 62 6c 65 4f 62 6a 65 63 74 3e 28 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 <ScriptableObject>();...........
1760 20 5b 53 65 72 69 61 6c 69 7a 65 46 69 65 6c 64 5d 0d 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 .[SerializeField]..........priva
1780 74 65 20 54 65 73 74 53 74 61 72 74 65 64 45 76 65 6e 74 20 6d 5f 54 65 73 74 53 74 61 72 74 65 te.TestStartedEvent.m_TestStarte
17a0 64 45 76 65 6e 74 20 3d 20 6e 65 77 20 54 65 73 74 53 74 61 72 74 65 64 45 76 65 6e 74 28 29 3b dEvent.=.new.TestStartedEvent();
17c0 0d 0a 0d 0a 20 20 20 20 20 20 20 20 5b 53 65 72 69 61 6c 69 7a 65 46 69 65 6c 64 5d 0d 0a 20 20 ............[SerializeField]....
17e0 20 20 20 20 20 20 70 72 69 76 61 74 65 20 54 65 73 74 46 69 6e 69 73 68 65 64 45 76 65 6e 74 20 ......private.TestFinishedEvent.
1800 6d 5f 54 65 73 74 46 69 6e 69 73 68 65 64 45 76 65 6e 74 20 3d 20 6e 65 77 20 54 65 73 74 46 69 m_TestFinishedEvent.=.new.TestFi
1820 6e 69 73 68 65 64 45 76 65 6e 74 28 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 5b 53 65 72 69 61 nishedEvent();............[Seria
1840 6c 69 7a 65 46 69 65 6c 64 5d 0d 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 74 65 20 52 75 6e 53 lizeField]..........private.RunS
1860 74 61 72 74 65 64 45 76 65 6e 74 20 6d 5f 52 75 6e 53 74 61 72 74 65 64 45 76 65 6e 74 20 3d 20 tartedEvent.m_RunStartedEvent.=.
1880 6e 65 77 20 52 75 6e 53 74 61 72 74 65 64 45 76 65 6e 74 28 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 new.RunStartedEvent();..........
18a0 20 20 5b 53 65 72 69 61 6c 69 7a 65 46 69 65 6c 64 5d 0d 0a 20 20 20 20 20 20 20 20 70 72 69 76 ..[SerializeField]..........priv
18c0 61 74 65 20 52 75 6e 46 69 6e 69 73 68 65 64 45 76 65 6e 74 20 6d 5f 52 75 6e 46 69 6e 69 73 68 ate.RunFinishedEvent.m_RunFinish
18e0 65 64 45 76 65 6e 74 20 3d 20 6e 65 77 20 52 75 6e 46 69 6e 69 73 68 65 64 45 76 65 6e 74 28 29 edEvent.=.new.RunFinishedEvent()
1900 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 5b 53 65 72 69 61 6c 69 7a 65 46 69 65 6c 64 5d 0d 0a 20 ;............[SerializeField]...
1920 20 20 20 20 20 20 20 70 72 69 76 61 74 65 20 54 65 73 74 52 75 6e 6e 65 72 53 74 61 74 65 53 65 .......private.TestRunnerStateSe
1940 72 69 61 6c 69 7a 65 72 20 6d 5f 54 65 73 74 52 75 6e 6e 65 72 53 74 61 74 65 53 65 72 69 61 6c rializer.m_TestRunnerStateSerial
1960 69 7a 65 72 20 3d 20 6e 65 77 20 54 65 73 74 52 75 6e 6e 65 72 53 74 61 74 65 53 65 72 69 61 6c izer.=.new.TestRunnerStateSerial
1980 69 7a 65 72 28 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 5b 53 65 72 69 61 6c 69 7a 65 46 69 65 izer();............[SerializeFie
19a0 6c 64 5d 0d 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 74 65 20 62 6f 6f 6c 20 6d 5f 52 75 6e 6e ld]..........private.bool.m_Runn
19c0 69 6e 67 54 65 73 74 73 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 5b 53 65 72 69 61 6c 69 7a 65 46 ingTests;............[SerializeF
19e0 69 65 6c 64 5d 0d 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 74 65 20 54 65 73 74 50 6c 61 74 66 ield]..........private.TestPlatf
1a00 6f 72 6d 20 6d 5f 54 65 73 74 50 6c 61 74 66 6f 72 6d 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 5b orm.m_TestPlatform;............[
1a20 53 65 72 69 61 6c 69 7a 65 46 69 65 6c 64 5d 0d 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 74 65 SerializeField]..........private
1a40 20 6f 62 6a 65 63 74 20 6d 5f 43 75 72 72 65 6e 74 59 69 65 6c 64 4f 62 6a 65 63 74 3b 0d 0a 0d .object.m_CurrentYieldObject;...
1a60 0a 20 20 20 20 20 20 20 20 5b 53 65 72 69 61 6c 69 7a 65 46 69 65 6c 64 5d 0d 0a 20 20 20 20 20 .........[SerializeField].......
1a80 20 20 20 70 72 69 76 61 74 65 20 42 65 66 6f 72 65 41 66 74 65 72 54 65 73 74 43 6f 6d 6d 61 6e ...private.BeforeAfterTestComman
1aa0 64 53 74 61 74 65 20 6d 5f 53 65 74 55 70 54 65 61 72 44 6f 77 6e 53 74 61 74 65 3b 0d 0a 20 20 dState.m_SetUpTearDownState;....
1ac0 20 20 20 20 20 20 5b 53 65 72 69 61 6c 69 7a 65 46 69 65 6c 64 5d 0d 0a 20 20 20 20 20 20 20 20 ......[SerializeField]..........
1ae0 70 72 69 76 61 74 65 20 42 65 66 6f 72 65 41 66 74 65 72 54 65 73 74 43 6f 6d 6d 61 6e 64 53 74 private.BeforeAfterTestCommandSt
1b00 61 74 65 20 6d 5f 4f 75 74 65 72 55 6e 69 74 79 54 65 73 74 41 63 74 69 6f 6e 53 74 61 74 65 3b ate.m_OuterUnityTestActionState;
1b20 0d 0a 0d 0a 20 20 20 20 20 20 20 20 5b 53 65 72 69 61 6c 69 7a 65 46 69 65 6c 64 5d 20 0d 0a 20 ............[SerializeField]....
1b40 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 62 6f 6f 6c 20 52 75 6e 46 69 6e 69 73 68 65 64 20 3d .......public.bool.RunFinished.=
1b60 20 66 61 6c 73 65 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 62 6f 6f 6c 20 52 .false;............public.bool.R
1b80 75 6e 6e 69 6e 67 53 79 6e 63 68 72 6f 6e 6f 75 73 6c 79 20 7b 20 67 65 74 3b 20 70 72 69 76 61 unningSynchronously.{.get;.priva
1ba0 74 65 20 73 65 74 3b 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 69 6e 74 65 72 6e 61 6c 20 49 55 te.set;.}............internal.IU
1bc0 6e 69 74 79 54 65 73 74 41 73 73 65 6d 62 6c 79 52 75 6e 6e 65 72 20 6d 5f 52 75 6e 6e 65 72 3b nityTestAssemblyRunner.m_Runner;
1be0 0d 0a 0d 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 74 65 20 43 6f 6e 73 74 72 75 63 74 44 65 6c ............private.ConstructDel
1c00 65 67 61 74 6f 72 20 6d 5f 43 6f 6e 73 74 72 75 63 74 44 65 6c 65 67 61 74 6f 72 3b 0d 0a 0d 0a egator.m_ConstructDelegator;....
1c20 20 20 20 20 20 20 20 20 70 72 69 76 61 74 65 20 49 45 6e 75 6d 65 72 61 74 6f 72 20 6d 5f 52 75 ........private.IEnumerator.m_Ru
1c40 6e 53 74 65 70 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 49 55 6e 69 74 79 54 nStep;............public.IUnityT
1c60 65 73 74 41 73 73 65 6d 62 6c 79 52 75 6e 6e 65 72 46 61 63 74 6f 72 79 20 55 6e 69 74 79 54 65 estAssemblyRunnerFactory.UnityTe
1c80 73 74 41 73 73 65 6d 62 6c 79 52 75 6e 6e 65 72 46 61 63 74 6f 72 79 20 7b 20 67 65 74 3b 20 73 stAssemblyRunnerFactory.{.get;.s
1ca0 65 74 3b 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 76 6f 69 64 20 49 6e 69 et;.}............public.void.Ini
1cc0 74 28 46 69 6c 74 65 72 5b 5d 20 66 69 6c 74 65 72 73 2c 20 54 65 73 74 50 6c 61 74 66 6f 72 6d t(Filter[].filters,.TestPlatform
1ce0 20 70 6c 61 74 66 6f 72 6d 2c 20 62 6f 6f 6c 20 72 75 6e 6e 69 6e 67 53 79 6e 63 68 72 6f 6e 6f .platform,.bool.runningSynchrono
1d00 75 73 6c 79 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f usly)..........{..............m_
1d20 46 69 6c 74 65 72 73 20 3d 20 66 69 6c 74 65 72 73 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 Filters.=.filters;..............
1d40 6d 5f 54 65 73 74 50 6c 61 74 66 6f 72 6d 20 3d 20 70 6c 61 74 66 6f 72 6d 3b 0d 0a 20 20 20 20 m_TestPlatform.=.platform;......
1d60 20 20 20 20 20 20 20 20 6d 5f 41 6c 72 65 61 64 79 53 74 61 72 74 65 64 54 65 73 74 73 20 3d 20 ........m_AlreadyStartedTests.=.
1d80 6e 65 77 20 4c 69 73 74 3c 73 74 72 69 6e 67 3e 28 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 new.List<string>();.............
1da0 20 6d 5f 45 78 65 63 75 74 65 64 54 65 73 74 73 20 3d 20 6e 65 77 20 4c 69 73 74 3c 54 65 73 74 .m_ExecutedTests.=.new.List<Test
1dc0 52 65 73 75 6c 74 53 65 72 69 61 6c 69 7a 65 72 3e 28 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 ResultSerializer>();............
1de0 20 20 52 75 6e 6e 69 6e 67 53 79 6e 63 68 72 6f 6e 6f 75 73 6c 79 20 3d 20 72 75 6e 6e 69 6e 67 ..RunningSynchronously.=.running
1e00 53 79 6e 63 68 72 6f 6e 6f 75 73 6c 79 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 49 6e 69 74 Synchronously;..............Init
1e20 52 75 6e 6e 65 72 28 29 3b 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 Runner();..........}............
1e40 70 72 69 76 61 74 65 20 76 6f 69 64 20 49 6e 69 74 52 75 6e 6e 65 72 28 29 0d 0a 20 20 20 20 20 private.void.InitRunner().......
1e60 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 57 65 20 67 69 76 65 20 74 68 65 20 ...{..............//We.give.the.
1e80 45 64 69 74 4d 6f 64 65 20 70 6c 61 74 66 6f 72 6d 20 68 65 72 65 20 73 6f 20 77 65 20 64 6f 6e EditMode.platform.here.so.we.don
1ea0 74 20 73 75 64 64 65 6e 6c 79 20 63 72 65 61 74 65 20 50 6c 61 79 6d 6f 64 65 20 77 6f 72 6b 20 t.suddenly.create.Playmode.work.
1ec0 69 74 65 6d 73 20 69 6e 20 74 68 65 20 74 65 73 74 20 52 75 6e 6e 65 72 2e 0d 0a 20 20 20 20 20 items.in.the.test.Runner........
1ee0 20 20 20 20 20 20 20 6d 5f 52 75 6e 6e 65 72 20 3d 20 28 55 6e 69 74 79 54 65 73 74 41 73 73 65 .......m_Runner.=.(UnityTestAsse
1f00 6d 62 6c 79 52 75 6e 6e 65 72 46 61 63 74 6f 72 79 20 3f 3f 20 6e 65 77 20 55 6e 69 74 79 54 65 mblyRunnerFactory.??.new.UnityTe
1f20 73 74 41 73 73 65 6d 62 6c 79 52 75 6e 6e 65 72 46 61 63 74 6f 72 79 28 29 29 2e 43 72 65 61 74 stAssemblyRunnerFactory()).Creat
1f40 65 28 54 65 73 74 50 6c 61 74 66 6f 72 6d 2e 45 64 69 74 4d 6f 64 65 2c 20 6e 65 77 20 45 64 69 e(TestPlatform.EditMode,.new.Edi
1f60 74 6d 6f 64 65 57 6f 72 6b 49 74 65 6d 46 61 63 74 6f 72 79 28 29 29 3b 0d 0a 20 20 20 20 20 20 tmodeWorkItemFactory());........
1f80 20 20 20 20 20 20 76 61 72 20 74 65 73 74 41 73 73 65 6d 62 6c 79 50 72 6f 76 69 64 65 72 20 3d ......var.testAssemblyProvider.=
1fa0 20 6e 65 77 20 45 64 69 74 6f 72 4c 6f 61 64 65 64 54 65 73 74 41 73 73 65 6d 62 6c 79 50 72 6f .new.EditorLoadedTestAssemblyPro
1fc0 76 69 64 65 72 28 6e 65 77 20 45 64 69 74 6f 72 43 6f 6d 70 69 6c 61 74 69 6f 6e 49 6e 74 65 72 vider(new.EditorCompilationInter
1fe0 66 61 63 65 50 72 6f 78 79 28 29 2c 20 6e 65 77 20 45 64 69 74 6f 72 41 73 73 65 6d 62 6c 69 65 faceProxy(),.new.EditorAssemblie
2000 73 50 72 6f 78 79 28 29 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 61 73 73 65 sProxy());..............var.asse
2020 6d 62 6c 69 65 73 20 3d 20 74 65 73 74 41 73 73 65 6d 62 6c 79 50 72 6f 76 69 64 65 72 2e 47 65 mblies.=.testAssemblyProvider.Ge
2040 74 41 73 73 65 6d 62 6c 69 65 73 47 72 6f 75 70 65 64 42 79 54 79 70 65 28 6d 5f 54 65 73 74 50 tAssembliesGroupedByType(m_TestP
2060 6c 61 74 66 6f 72 6d 29 2e 53 65 6c 65 63 74 28 78 20 3d 3e 20 78 2e 41 73 73 65 6d 62 6c 79 29 latform).Select(x.=>.x.Assembly)
2080 2e 54 6f 41 72 72 61 79 28 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 6c 6f 61 .ToArray();..............var.loa
20a0 64 65 64 54 65 73 74 73 20 3d 20 6d 5f 52 75 6e 6e 65 72 2e 4c 6f 61 64 28 61 73 73 65 6d 62 6c dedTests.=.m_Runner.Load(assembl
20c0 69 65 73 2c 20 54 65 73 74 50 6c 61 74 66 6f 72 6d 2e 45 64 69 74 4d 6f 64 65 2c 0d 0a 20 20 20 ies,.TestPlatform.EditMode,.....
20e0 20 20 20 20 20 20 20 20 20 20 20 20 20 55 6e 69 74 79 54 65 73 74 41 73 73 65 6d 62 6c 79 42 75 .............UnityTestAssemblyBu
2100 69 6c 64 65 72 2e 47 65 74 4e 55 6e 69 74 54 65 73 74 42 75 69 6c 64 65 72 53 65 74 74 69 6e 67 ilder.GetNUnitTestBuilderSetting
2120 73 28 6d 5f 54 65 73 74 50 6c 61 74 66 6f 72 6d 29 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 s(m_TestPlatform));.............
2140 20 6c 6f 61 64 65 64 54 65 73 74 73 2e 50 61 72 73 65 46 6f 72 4e 61 6d 65 44 75 70 6c 69 63 61 .loadedTests.ParseForNameDuplica
2160 74 65 73 28 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 43 61 6c 6c 62 61 63 6b 73 44 65 6c tes();..............CallbacksDel
2180 65 67 61 74 6f 72 2e 69 6e 73 74 61 6e 63 65 2e 54 65 73 74 54 72 65 65 52 65 62 75 69 6c 64 28 egator.instance.TestTreeRebuild(
21a0 6c 6f 61 64 65 64 54 65 73 74 73 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 68 69 64 65 46 loadedTests);..............hideF
21c0 6c 61 67 73 20 7c 3d 20 48 69 64 65 46 6c 61 67 73 2e 44 6f 6e 74 53 61 76 65 3b 0d 0a 20 20 20 lags.|=.HideFlags.DontSave;.....
21e0 20 20 20 20 20 20 20 20 20 45 6e 75 6d 65 72 61 62 6c 65 53 65 74 55 70 54 65 61 72 44 6f 77 6e .........EnumerableSetUpTearDown
2200 43 6f 6d 6d 61 6e 64 2e 41 63 74 69 76 65 50 63 48 65 6c 70 65 72 20 3d 20 6e 65 77 20 45 64 69 Command.ActivePcHelper.=.new.Edi
2220 74 4d 6f 64 65 50 63 48 65 6c 70 65 72 28 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 4f 75 tModePcHelper();..............Ou
2240 74 65 72 55 6e 69 74 79 54 65 73 74 41 63 74 69 6f 6e 43 6f 6d 6d 61 6e 64 2e 41 63 74 69 76 65 terUnityTestActionCommand.Active
2260 50 63 48 65 6c 70 65 72 20 3d 20 6e 65 77 20 45 64 69 74 4d 6f 64 65 50 63 48 65 6c 70 65 72 28 PcHelper.=.new.EditModePcHelper(
2280 29 3b 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 );..........}............public.
22a0 76 6f 69 64 20 4f 6e 45 6e 61 62 6c 65 28 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 void.OnEnable()..........{......
22c0 20 20 20 20 20 20 20 20 69 66 20 28 6d 5f 45 78 65 63 75 74 65 4f 6e 45 6e 61 62 6c 65 29 0d 0a ........if.(m_ExecuteOnEnable)..
22e0 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 49 ............{..................I
2300 6e 69 74 52 75 6e 6e 65 72 28 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f nitRunner();..................m_
2320 45 78 65 63 75 74 65 4f 6e 45 6e 61 62 6c 65 20 3d 20 66 61 6c 73 65 3b 0d 0a 20 20 20 20 20 20 ExecuteOnEnable.=.false;........
2340 20 20 20 20 20 20 20 20 20 20 66 6f 72 65 61 63 68 20 28 76 61 72 20 63 61 6c 6c 62 61 63 6b 20 ..........foreach.(var.callback.
2360 69 6e 20 6d 5f 43 61 6c 6c 62 61 63 6b 4f 62 6a 65 63 74 73 29 0d 0a 20 20 20 20 20 20 20 20 20 in.m_CallbackObjects)...........
2380 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 41 64 .......{......................Ad
23a0 64 4c 69 73 74 65 6e 65 72 73 28 63 61 6c 6c 62 61 63 6b 20 61 73 20 49 54 65 73 74 52 75 6e 6e dListeners(callback.as.ITestRunn
23c0 65 72 4c 69 73 74 65 6e 65 72 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d erListener);..................}.
23e0 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 43 6f 6e 73 74 72 75 63 74 44 65 6c 65 .................m_ConstructDele
2400 67 61 74 6f 72 20 3d 20 6e 65 77 20 43 6f 6e 73 74 72 75 63 74 44 65 6c 65 67 61 74 6f 72 28 6d gator.=.new.ConstructDelegator(m
2420 5f 54 65 73 74 52 75 6e 6e 65 72 53 74 61 74 65 53 65 72 69 61 6c 69 7a 65 72 29 3b 0d 0a 0d 0a _TestRunnerStateSerializer);....
2440 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 45 6e 75 6d 65 72 61 74 6f 72 53 74 65 70 48 65 ................EnumeratorStepHe
2460 6c 70 65 72 2e 53 65 74 45 6e 75 6d 65 72 61 74 6f 72 50 43 28 6d 5f 43 75 72 72 65 6e 74 50 43 lper.SetEnumeratorPC(m_CurrentPC
2480 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 55 6e 69 74 79 57 6f 72 6b 49 );....................UnityWorkI
24a0 74 65 6d 44 61 74 61 48 6f 6c 64 65 72 2e 61 6c 72 65 61 64 79 45 78 65 63 75 74 65 64 54 65 73 temDataHolder.alreadyExecutedTes
24c0 74 73 20 3d 20 6d 5f 45 78 65 63 75 74 65 64 54 65 73 74 73 2e 53 65 6c 65 63 74 28 78 20 3d 3e ts.=.m_ExecutedTests.Select(x.=>
24e0 20 78 2e 66 75 6c 6c 4e 61 6d 65 29 2e 54 6f 4c 69 73 74 28 29 3b 0d 0a 20 20 20 20 20 20 20 20 .x.fullName).ToList();..........
2500 20 20 20 20 20 20 20 20 55 6e 69 74 79 57 6f 72 6b 49 74 65 6d 44 61 74 61 48 6f 6c 64 65 72 2e ........UnityWorkItemDataHolder.
2520 61 6c 72 65 61 64 79 53 74 61 72 74 65 64 54 65 73 74 73 20 3d 20 6d 5f 41 6c 72 65 61 64 79 53 alreadyStartedTests.=.m_AlreadyS
2540 74 61 72 74 65 64 54 65 73 74 73 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 52 75 tartedTests;..................Ru
2560 6e 28 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a n();..............}..........}..
2580 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 76 6f 69 64 20 54 65 73 74 53 74 61 72 74 65 ..........public.void.TestStarte
25a0 64 45 76 65 6e 74 28 49 54 65 73 74 20 74 65 73 74 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 dEvent(ITest.test)..........{...
25c0 20 20 20 20 20 20 20 20 20 20 20 6d 5f 41 6c 72 65 61 64 79 53 74 61 72 74 65 64 54 65 73 74 73 ...........m_AlreadyStartedTests
25e0 2e 41 64 64 28 74 65 73 74 2e 46 75 6c 6c 4e 61 6d 65 29 3b 0d 0a 20 20 20 20 20 20 20 20 7d 0d .Add(test.FullName);..........}.
2600 0a 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 76 6f 69 64 20 54 65 73 74 46 69 6e 69 73 ...........public.void.TestFinis
2620 68 65 64 45 76 65 6e 74 28 49 54 65 73 74 52 65 73 75 6c 74 20 74 65 73 74 52 65 73 75 6c 74 29 hedEvent(ITestResult.testResult)
2640 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 41 6c 72 65 61 ..........{..............m_Alrea
2660 64 79 53 74 61 72 74 65 64 54 65 73 74 73 2e 52 65 6d 6f 76 65 28 74 65 73 74 52 65 73 75 6c 74 dyStartedTests.Remove(testResult
2680 2e 46 75 6c 6c 4e 61 6d 65 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 45 78 65 63 75 .FullName);..............m_Execu
26a0 74 65 64 54 65 73 74 73 2e 41 64 64 28 54 65 73 74 52 65 73 75 6c 74 53 65 72 69 61 6c 69 7a 65 tedTests.Add(TestResultSerialize
26c0 72 2e 4d 61 6b 65 46 72 6f 6d 54 65 73 74 52 65 73 75 6c 74 28 74 65 73 74 52 65 73 75 6c 74 29 r.MakeFromTestResult(testResult)
26e0 29 3b 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 );..........}............public.
2700 76 6f 69 64 20 52 75 6e 28 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 void.Run()..........{...........
2720 20 20 20 45 64 69 74 4d 6f 64 65 54 65 73 74 43 61 6c 6c 62 61 63 6b 73 2e 52 65 73 74 6f 72 69 ...EditModeTestCallbacks.Restori
2740 6e 67 54 65 73 74 43 6f 6e 74 65 78 74 20 2b 3d 20 4f 6e 52 65 73 74 6f 72 69 6e 67 54 65 73 74 ngTestContext.+=.OnRestoringTest
2760 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 63 6f 6e 74 65 78 74 20 3d 20 6d 5f 52 ;..............var.context.=.m_R
2780 75 6e 6e 65 72 2e 47 65 74 43 75 72 72 65 6e 74 43 6f 6e 74 65 78 74 28 29 3b 0d 0a 20 20 20 20 unner.GetCurrentContext();......
27a0 20 20 20 20 20 20 20 20 69 66 20 28 6d 5f 53 65 74 55 70 54 65 61 72 44 6f 77 6e 53 74 61 74 65 ........if.(m_SetUpTearDownState
27c0 20 3d 3d 20 6e 75 6c 6c 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 .==.null)..............{........
27e0 20 20 20 20 20 20 20 20 20 20 6d 5f 53 65 74 55 70 54 65 61 72 44 6f 77 6e 53 74 61 74 65 20 3d ..........m_SetUpTearDownState.=
2800 20 43 72 65 61 74 65 49 6e 73 74 61 6e 63 65 3c 42 65 66 6f 72 65 41 66 74 65 72 54 65 73 74 43 .CreateInstance<BeforeAfterTestC
2820 6f 6d 6d 61 6e 64 53 74 61 74 65 3e 28 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a ommandState>();..............}..
2840 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6e 74 65 78 74 2e 53 65 74 55 70 54 65 61 72 44 6f 77 ............context.SetUpTearDow
2860 6e 53 74 61 74 65 20 3d 20 6d 5f 53 65 74 55 70 54 65 61 72 44 6f 77 6e 53 74 61 74 65 3b 0d 0a nState.=.m_SetUpTearDownState;..
2880 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 6d 5f 4f 75 74 65 72 55 6e 69 74 79 54 65 ..............if.(m_OuterUnityTe
28a0 73 74 41 63 74 69 6f 6e 53 74 61 74 65 20 3d 3d 20 6e 75 6c 6c 29 0d 0a 20 20 20 20 20 20 20 20 stActionState.==.null)..........
28c0 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 4f 75 74 65 72 55 6e ....{..................m_OuterUn
28e0 69 74 79 54 65 73 74 41 63 74 69 6f 6e 53 74 61 74 65 20 3d 20 43 72 65 61 74 65 49 6e 73 74 61 ityTestActionState.=.CreateInsta
2900 6e 63 65 3c 42 65 66 6f 72 65 41 66 74 65 72 54 65 73 74 43 6f 6d 6d 61 6e 64 53 74 61 74 65 3e nce<BeforeAfterTestCommandState>
2920 28 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 ();..............}..............
2940 63 6f 6e 74 65 78 74 2e 4f 75 74 65 72 55 6e 69 74 79 54 65 73 74 41 63 74 69 6f 6e 53 74 61 74 context.OuterUnityTestActionStat
2960 65 20 3d 20 6d 5f 4f 75 74 65 72 55 6e 69 74 79 54 65 73 74 41 63 74 69 6f 6e 53 74 61 74 65 3b e.=.m_OuterUnityTestActionState;
2980 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 6d 5f 52 75 6e 6e 69 6e 67 54 65 ................if.(!m_RunningTe
29a0 73 74 73 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 sts)..............{.............
29c0 20 20 20 20 20 6d 5f 52 75 6e 53 74 61 72 74 65 64 45 76 65 6e 74 2e 49 6e 76 6f 6b 65 28 6d 5f .....m_RunStartedEvent.Invoke(m_
29e0 52 75 6e 6e 65 72 2e 4c 6f 61 64 65 64 54 65 73 74 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 Runner.LoadedTest);.............
2a00 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 6d 5f 43 6f 6e 73 74 72 75 63 .}................if.(m_Construc
2a20 74 44 65 6c 65 67 61 74 6f 72 20 3d 3d 20 6e 75 6c 6c 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 tDelegator.==.null).............
2a40 20 20 20 20 20 6d 5f 43 6f 6e 73 74 72 75 63 74 44 65 6c 65 67 61 74 6f 72 20 3d 20 6e 65 77 20 .....m_ConstructDelegator.=.new.
2a60 43 6f 6e 73 74 72 75 63 74 44 65 6c 65 67 61 74 6f 72 28 6d 5f 54 65 73 74 52 75 6e 6e 65 72 53 ConstructDelegator(m_TestRunnerS
2a80 74 61 74 65 53 65 72 69 61 6c 69 7a 65 72 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 tateSerializer);................
2aa0 52 65 66 6c 65 63 74 2e 43 6f 6e 73 74 72 75 63 74 6f 72 43 61 6c 6c 57 72 61 70 70 65 72 20 3d Reflect.ConstructorCallWrapper.=
2ac0 20 6d 5f 43 6f 6e 73 74 72 75 63 74 44 65 6c 65 67 61 74 6f 72 2e 44 65 6c 65 67 61 74 65 3b 0d .m_ConstructDelegator.Delegate;.
2ae0 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 54 65 73 74 53 74 61 72 74 65 64 45 76 65 6e 74 2e .............m_TestStartedEvent.
2b00 41 64 64 4c 69 73 74 65 6e 65 72 28 54 65 73 74 53 74 61 72 74 65 64 45 76 65 6e 74 29 3b 0d 0a AddListener(TestStartedEvent);..
2b20 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 54 65 73 74 46 69 6e 69 73 68 65 64 45 76 65 6e 74 2e ............m_TestFinishedEvent.
2b40 41 64 64 4c 69 73 74 65 6e 65 72 28 54 65 73 74 46 69 6e 69 73 68 65 64 45 76 65 6e 74 29 3b 0d AddListener(TestFinishedEvent);.
2b60 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 41 73 73 65 6d 62 6c 79 52 65 6c 6f 61 64 45 76 65 ...............AssemblyReloadEve
2b80 6e 74 73 2e 62 65 66 6f 72 65 41 73 73 65 6d 62 6c 79 52 65 6c 6f 61 64 20 2b 3d 20 4f 6e 42 65 nts.beforeAssemblyReload.+=.OnBe
2ba0 66 6f 72 65 41 73 73 65 6d 62 6c 79 52 65 6c 6f 61 64 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 foreAssemblyReload;.............
2bc0 20 20 20 52 75 6e 6e 69 6e 67 54 65 73 74 73 20 3d 20 74 72 75 65 3b 0d 0a 0d 0a 20 20 20 20 20 ...RunningTests.=.true;.........
2be0 20 20 20 20 20 20 20 45 64 69 74 6f 72 41 70 70 6c 69 63 61 74 69 6f 6e 2e 4c 6f 63 6b 52 65 6c .......EditorApplication.LockRel
2c00 6f 61 64 41 73 73 65 6d 62 6c 69 65 73 28 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 oadAssemblies();................
2c20 76 61 72 20 74 65 73 74 4c 69 73 74 65 6e 65 72 57 72 61 70 70 65 72 20 3d 20 6e 65 77 20 54 65 var.testListenerWrapper.=.new.Te
2c40 73 74 4c 69 73 74 65 6e 65 72 57 72 61 70 70 65 72 28 6d 5f 54 65 73 74 53 74 61 72 74 65 64 45 stListenerWrapper(m_TestStartedE
2c60 76 65 6e 74 2c 20 6d 5f 54 65 73 74 46 69 6e 69 73 68 65 64 45 76 65 6e 74 29 3b 0d 0a 20 20 20 vent,.m_TestFinishedEvent);.....
2c80 20 20 20 20 20 20 20 20 20 6d 5f 52 75 6e 53 74 65 70 20 3d 20 6d 5f 52 75 6e 6e 65 72 2e 52 75 .........m_RunStep.=.m_Runner.Ru
2ca0 6e 28 74 65 73 74 4c 69 73 74 65 6e 65 72 57 72 61 70 70 65 72 2c 20 47 65 74 46 69 6c 74 65 72 n(testListenerWrapper,.GetFilter
2cc0 28 29 29 2e 47 65 74 45 6e 75 6d 65 72 61 74 6f 72 28 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 ()).GetEnumerator();............
2ce0 20 20 6d 5f 52 75 6e 6e 69 6e 67 54 65 73 74 73 20 3d 20 74 72 75 65 3b 0d 0a 0d 0a 20 20 20 20 ..m_RunningTests.=.true;........
2d00 20 20 20 20 20 20 20 20 69 66 20 28 21 52 75 6e 6e 69 6e 67 53 79 6e 63 68 72 6f 6e 6f 75 73 6c ........if.(!RunningSynchronousl
2d20 79 29 20 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 41 70 70 6c 69 y)...................EditorAppli
2d40 63 61 74 69 6f 6e 2e 75 70 64 61 74 65 20 2b 3d 20 54 65 73 74 43 6f 6e 73 75 6d 65 72 3b 0d 0a cation.update.+=.TestConsumer;..
2d60 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 76 6f 69 64 ........}............public.void
2d80 20 43 6f 6d 70 6c 65 74 65 53 79 6e 63 68 72 6f 6e 6f 75 73 6c 79 28 29 0d 0a 20 20 20 20 20 20 .CompleteSynchronously()........
2da0 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 77 68 69 6c 65 20 28 21 6d 5f 52 75 6e 6e 65 ..{..............while.(!m_Runne
2dc0 72 2e 49 73 54 65 73 74 43 6f 6d 70 6c 65 74 65 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 r.IsTestComplete)...............
2de0 20 20 20 54 65 73 74 43 6f 6e 73 75 6d 65 72 28 29 3b 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d ...TestConsumer();..........}...
2e00 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 74 65 20 76 6f 69 64 20 4f 6e 42 65 66 6f 72 65 41 73 .........private.void.OnBeforeAs
2e20 73 65 6d 62 6c 79 52 65 6c 6f 61 64 28 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 semblyReload()..........{.......
2e40 20 20 20 20 20 20 20 45 64 69 74 6f 72 41 70 70 6c 69 63 61 74 69 6f 6e 2e 75 70 64 61 74 65 20 .......EditorApplication.update.
2e60 2d 3d 20 54 65 73 74 43 6f 6e 73 75 6d 65 72 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 -=.TestConsumer;................
2e80 69 66 20 28 6d 5f 45 78 65 63 75 74 65 4f 6e 45 6e 61 62 6c 65 29 0d 0a 20 20 20 20 20 20 20 20 if.(m_ExecuteOnEnable)..........
2ea0 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 41 73 73 65 6d 62 6c 79 52 ....{..................AssemblyR
2ec0 65 6c 6f 61 64 45 76 65 6e 74 73 2e 62 65 66 6f 72 65 41 73 73 65 6d 62 6c 79 52 65 6c 6f 61 64 eloadEvents.beforeAssemblyReload
2ee0 20 2d 3d 20 4f 6e 42 65 66 6f 72 65 41 73 73 65 6d 62 6c 79 52 65 6c 6f 61 64 3b 0d 0a 20 20 20 .-=.OnBeforeAssemblyReload;.....
2f00 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 .............return;............
2f20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 6d 5f 52 75 6e 6e 65 72 20 ..}................if.(m_Runner.
2f40 21 3d 20 6e 75 6c 6c 20 26 26 20 6d 5f 52 75 6e 6e 65 72 2e 54 6f 70 4c 65 76 65 6c 57 6f 72 6b !=.null.&&.m_Runner.TopLevelWork
2f60 49 74 65 6d 20 21 3d 20 6e 75 6c 6c 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d Item.!=.null)..................m
2f80 5f 52 75 6e 6e 65 72 2e 54 6f 70 4c 65 76 65 6c 57 6f 72 6b 49 74 65 6d 2e 52 65 73 75 6c 74 65 _Runner.TopLevelWorkItem.Resulte
2fa0 64 49 6e 44 6f 6d 61 69 6e 52 65 6c 6f 61 64 20 3d 20 74 72 75 65 3b 0d 0a 0d 0a 20 20 20 20 20 dInDomainReload.=.true;.........
2fc0 20 20 20 20 20 20 20 69 66 20 28 52 75 6e 6e 69 6e 67 54 65 73 74 73 29 0d 0a 20 20 20 20 20 20 .......if.(RunningTests)........
2fe0 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 44 65 62 75 67 2e 4c ......{..................Debug.L
3000 6f 67 45 72 72 6f 72 28 22 54 65 73 74 52 75 6e 6e 65 72 3a 20 55 6e 65 78 70 65 63 74 65 64 20 ogError("TestRunner:.Unexpected.
3020 61 73 73 65 6d 62 6c 79 20 72 65 6c 6f 61 64 20 68 61 70 70 65 6e 65 64 20 77 68 69 6c 65 20 72 assembly.reload.happened.while.r
3040 75 6e 6e 69 6e 67 20 74 65 73 74 73 22 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 unning.tests");.................
3060 20 20 20 45 64 69 74 6f 72 55 74 69 6c 69 74 79 2e 43 6c 65 61 72 50 72 6f 67 72 65 73 73 42 61 ...EditorUtility.ClearProgressBa
3080 72 28 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 6d 5f 52 75 r();....................if.(m_Ru
30a0 6e 6e 65 72 2e 47 65 74 43 75 72 72 65 6e 74 43 6f 6e 74 65 78 74 28 29 20 21 3d 20 6e 75 6c 6c nner.GetCurrentContext().!=.null
30c0 20 26 26 20 6d 5f 52 75 6e 6e 65 72 2e 47 65 74 43 75 72 72 65 6e 74 43 6f 6e 74 65 78 74 28 29 .&&.m_Runner.GetCurrentContext()
30e0 2e 43 75 72 72 65 6e 74 52 65 73 75 6c 74 20 21 3d 20 6e 75 6c 6c 29 0d 0a 20 20 20 20 20 20 20 .CurrentResult.!=.null).........
3100 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .........{......................
3120 6d 5f 52 75 6e 6e 65 72 2e 47 65 74 43 75 72 72 65 6e 74 43 6f 6e 74 65 78 74 28 29 2e 43 75 72 m_Runner.GetCurrentContext().Cur
3140 72 65 6e 74 52 65 73 75 6c 74 2e 53 65 74 52 65 73 75 6c 74 28 52 65 73 75 6c 74 53 74 61 74 65 rentResult.SetResult(ResultState
3160 2e 43 61 6e 63 65 6c 6c 65 64 2c 20 22 55 6e 65 78 70 65 63 74 65 64 20 61 73 73 65 6d 62 6c 79 .Cancelled,."Unexpected.assembly
3180 20 72 65 6c 6f 61 64 20 68 61 70 70 65 6e 65 64 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 .reload.happened");.............
31a0 20 20 20 20 20 7d 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 4f 6e 52 75 6e 43 61 6e .....}..................OnRunCan
31c0 63 65 6c 28 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 20 20 20 20 7d cel();..............}..........}
31e0 0d 0a 0d 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 74 65 20 62 6f 6f 6c 20 52 75 6e 6e 69 6e 67 ............private.bool.Running
3200 54 65 73 74 73 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 74 65 20 53 74 61 63 6b 3c Tests;............private.Stack<
3220 49 45 6e 75 6d 65 72 61 74 6f 72 3e 20 53 74 65 70 53 74 61 63 6b 20 3d 20 6e 65 77 20 53 74 61 IEnumerator>.StepStack.=.new.Sta
3240 63 6b 3c 49 45 6e 75 6d 65 72 61 74 6f 72 3e 28 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 70 72 ck<IEnumerator>();............pr
3260 69 76 61 74 65 20 62 6f 6f 6c 20 4d 6f 76 65 4e 65 78 74 41 6e 64 55 70 64 61 74 65 59 69 65 6c ivate.bool.MoveNextAndUpdateYiel
3280 64 4f 62 6a 65 63 74 28 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 dObject()..........{............
32a0 20 20 76 61 72 20 72 65 73 75 6c 74 20 3d 20 6d 5f 52 75 6e 53 74 65 70 2e 4d 6f 76 65 4e 65 78 ..var.result.=.m_RunStep.MoveNex
32c0 74 28 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 72 65 73 75 6c 74 29 0d t();................if.(result).
32e0 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .............{..................
3300 6d 5f 43 75 72 72 65 6e 74 59 69 65 6c 64 4f 62 6a 65 63 74 20 3d 20 6d 5f 52 75 6e 53 74 65 70 m_CurrentYieldObject.=.m_RunStep
3320 2e 43 75 72 72 65 6e 74 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 77 68 69 6c 65 .Current;..................while
3340 20 28 6d 5f 43 75 72 72 65 6e 74 59 69 65 6c 64 4f 62 6a 65 63 74 20 69 73 20 49 45 6e 75 6d 65 .(m_CurrentYieldObject.is.IEnume
3360 72 61 74 6f 72 29 20 20 20 20 2f 2f 20 67 6f 69 6e 67 20 64 65 65 70 65 72 0d 0a 20 20 20 20 20 rator)....//.going.deeper.......
3380 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ...........{....................
33a0 20 20 76 61 72 20 63 75 72 72 65 6e 74 45 6e 75 6d 65 72 61 74 6f 72 20 3d 20 28 49 45 6e 75 6d ..var.currentEnumerator.=.(IEnum
33c0 65 72 61 74 6f 72 29 6d 5f 43 75 72 72 65 6e 74 59 69 65 6c 64 4f 62 6a 65 63 74 3b 0d 0a 0d 0a erator)m_CurrentYieldObject;....
33e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 67 6f 20 64 65 65 70 65 72 ....................//.go.deeper
3400 20 61 6e 64 20 61 64 64 20 70 61 72 65 6e 74 20 74 6f 20 73 74 61 63 6b 0d 0a 20 20 20 20 20 20 .and.add.parent.to.stack........
3420 20 20 20 20 20 20 20 20 20 20 20 20 20 20 53 74 65 70 53 74 61 63 6b 2e 50 75 73 68 28 6d 5f 52 ..............StepStack.Push(m_R
3440 75 6e 53 74 65 70 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 unStep);........................
3460 6d 5f 52 75 6e 53 74 65 70 20 3d 20 63 75 72 72 65 6e 74 45 6e 75 6d 65 72 61 74 6f 72 3b 0d 0a m_RunStep.=.currentEnumerator;..
3480 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 43 75 72 72 65 6e 74 59 69 65 ....................m_CurrentYie
34a0 6c 64 4f 62 6a 65 63 74 20 3d 20 6d 5f 52 75 6e 53 74 65 70 2e 43 75 72 72 65 6e 74 3b 0d 0a 20 ldObject.=.m_RunStep.Current;...
34c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 ...............}................
34e0 20 20 20 20 69 66 20 28 53 74 65 70 53 74 61 63 6b 2e 43 6f 75 6e 74 20 3e 20 30 20 26 26 20 6d ....if.(StepStack.Count.>.0.&&.m
3500 5f 43 75 72 72 65 6e 74 59 69 65 6c 64 4f 62 6a 65 63 74 20 21 3d 20 6e 75 6c 6c 29 20 20 20 20 _CurrentYieldObject.!=.null)....
3520 2f 2f 20 6e 6f 74 20 6e 75 6c 6c 20 61 6e 64 20 6e 6f 74 20 49 45 6e 75 6d 65 72 61 74 6f 72 2c //.not.null.and.not.IEnumerator,
3540 20 6e 65 73 74 65 64 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 .nested..................{......
3560 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 44 65 62 75 67 2e 4c 6f 67 45 72 72 6f 72 28 22 ................Debug.LogError("
3580 45 64 69 74 4d 6f 64 65 20 74 65 73 74 20 63 61 6e 20 6f 6e 6c 79 20 79 69 65 6c 64 20 6e 75 6c EditMode.test.can.only.yield.nul
35a0 6c 2c 20 62 75 74 20 6e 6f 74 20 3c 22 20 2b 20 6d 5f 43 75 72 72 65 6e 74 59 69 65 6c 64 4f 62 l,.but.not.<".+.m_CurrentYieldOb
35c0 6a 65 63 74 2e 47 65 74 54 79 70 65 28 29 2e 4e 61 6d 65 20 2b 20 22 3e 22 29 3b 0d 0a 20 20 20 ject.GetType().Name.+.">");.....
35e0 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .............}..................
3600 20 20 72 65 74 75 72 6e 20 74 72 75 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 0d ..return.true;..............}...
3620 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 53 74 65 70 53 74 61 63 6b 2e 43 6f 75 6e 74 .............if.(StepStack.Count
3640 20 3d 3d 20 30 29 20 20 20 20 20 20 20 2f 2f 20 64 6f 6e 65 0d 0a 20 20 20 20 20 20 20 20 20 20 .==.0).......//.done............
3660 20 20 20 20 20 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 ......return.false;.............
3680 20 20 20 6d 5f 52 75 6e 53 74 65 70 20 3d 20 53 74 65 70 53 74 61 63 6b 2e 50 6f 70 28 29 3b 20 ...m_RunStep.=.StepStack.Pop();.
36a0 20 20 20 2f 2f 20 67 6f 69 6e 67 20 75 70 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 ...//.going.up..............retu
36c0 72 6e 20 4d 6f 76 65 4e 65 78 74 41 6e 64 55 70 64 61 74 65 59 69 65 6c 64 4f 62 6a 65 63 74 28 rn.MoveNextAndUpdateYieldObject(
36e0 29 3b 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 74 65 );..........}............private
3700 20 76 6f 69 64 20 54 65 73 74 43 6f 6e 73 75 6d 65 72 28 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d .void.TestConsumer()..........{.
3720 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 6d 6f 76 65 4e 65 78 74 20 3d 20 4d 6f 76 65 .............var.moveNext.=.Move
3740 4e 65 78 74 41 6e 64 55 70 64 61 74 65 59 69 65 6c 64 4f 62 6a 65 63 74 28 29 3b 0d 0a 0d 0a 20 NextAndUpdateYieldObject();.....
3760 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 6d 5f 43 75 72 72 65 6e 74 59 69 65 6c 64 4f 62 6a ...........if.(m_CurrentYieldObj
3780 65 63 74 20 21 3d 20 6e 75 6c 6c 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 ect.!=.null)..............{.....
37a0 20 20 20 20 20 20 20 20 20 20 20 20 20 49 6e 76 6f 6b 65 44 65 6c 65 67 61 74 6f 72 28 29 3b 0d .............InvokeDelegator();.
37c0 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 .............}................if
37e0 20 28 21 6d 6f 76 65 4e 65 78 74 20 26 26 20 21 6d 5f 52 75 6e 6e 65 72 2e 49 73 54 65 73 74 43 .(!moveNext.&&.!m_Runner.IsTestC
3800 6f 6d 70 6c 65 74 65 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 omplete)..............{.........
3820 20 20 20 20 20 20 20 20 20 43 6f 6d 70 6c 65 74 65 54 65 73 74 52 75 6e 28 29 3b 0d 0a 20 20 20 .........CompleteTestRun();.....
3840 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 72 6f 77 20 6e 65 77 20 49 6e 64 65 78 4f 75 74 4f .............throw.new.IndexOutO
3860 66 52 61 6e 67 65 45 78 63 65 70 74 69 6f 6e 28 22 54 68 65 72 65 20 61 72 65 20 6e 6f 20 6d 6f fRangeException("There.are.no.mo
3880 72 65 20 65 6c 65 6d 65 6e 74 73 20 74 6f 20 70 72 6f 63 65 73 73 20 61 6e 64 20 49 73 54 65 73 re.elements.to.process.and.IsTes
38a0 74 43 6f 6d 70 6c 65 74 65 20 69 73 20 66 61 6c 73 65 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 tComplete.is.false");...........
38c0 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 6d 5f 52 75 6e 6e 65 72 ...}................if.(m_Runner
38e0 2e 49 73 54 65 73 74 43 6f 6d 70 6c 65 74 65 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d .IsTestComplete)..............{.
3900 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 43 6f 6d 70 6c 65 74 65 54 65 73 74 52 75 6e .................CompleteTestRun
3920 28 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d ();..............}..........}...
3940 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 74 65 20 76 6f 69 64 20 43 6f 6d 70 6c 65 74 65 54 65 .........private.void.CompleteTe
3960 73 74 52 75 6e 28 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 stRun()..........{..............
3980 69 66 20 28 21 52 75 6e 6e 69 6e 67 53 79 6e 63 68 72 6f 6e 6f 75 73 6c 79 29 0d 0a 20 20 20 20 if.(!RunningSynchronously)......
39a0 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 41 70 70 6c 69 63 61 74 69 6f 6e 2e 75 70 ............EditorApplication.up
39c0 64 61 74 65 20 2d 3d 20 54 65 73 74 43 6f 6e 73 75 6d 65 72 3b 0d 0a 20 20 20 0d 0a 20 20 20 20 date.-=.TestConsumer;...........
39e0 20 20 20 20 20 20 20 20 54 65 73 74 4c 61 75 6e 63 68 65 72 42 61 73 65 2e 45 78 65 63 75 74 65 ........TestLauncherBase.Execute
3a00 50 6f 73 74 42 75 69 6c 64 43 6c 65 61 6e 75 70 4d 65 74 68 6f 64 73 28 74 68 69 73 2e 47 65 74 PostBuildCleanupMethods(this.Get
3a20 4c 6f 61 64 65 64 54 65 73 74 73 28 29 2c 20 74 68 69 73 2e 47 65 74 46 69 6c 74 65 72 28 29 2c LoadedTests(),.this.GetFilter(),
3a40 20 41 70 70 6c 69 63 61 74 69 6f 6e 2e 70 6c 61 74 66 6f 72 6d 29 3b 0d 0a 20 20 20 20 20 20 20 .Application.platform);.........
3a60 20 20 20 20 20 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 52 75 6e 46 69 6e 69 73 68 65 64 ...................m_RunFinished
3a80 45 76 65 6e 74 2e 49 6e 76 6f 6b 65 28 6d 5f 52 75 6e 6e 65 72 2e 52 65 73 75 6c 74 29 3b 0d 0a Event.Invoke(m_Runner.Result);..
3aa0 20 20 20 20 20 20 20 20 20 20 20 20 52 75 6e 46 69 6e 69 73 68 65 64 20 3d 20 74 72 75 65 3b 0d ............RunFinished.=.true;.
3ac0 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 6d 5f 43 6f 6e 73 74 72 75 63 74 44 65 ...............if.(m_ConstructDe
3ae0 6c 65 67 61 74 6f 72 20 21 3d 20 6e 75 6c 6c 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 legator.!=.null)................
3b00 20 20 6d 5f 43 6f 6e 73 74 72 75 63 74 44 65 6c 65 67 61 74 6f 72 2e 44 65 73 74 72 6f 79 43 75 ..m_ConstructDelegator.DestroyCu
3b20 72 72 65 6e 74 54 65 73 74 4f 62 6a 65 63 74 49 66 45 78 69 73 74 73 28 29 3b 0d 0a 20 20 20 20 rrentTestObjectIfExists();......
3b40 20 20 20 20 20 20 20 20 44 69 73 70 6f 73 65 28 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 ........Dispose();..............
3b60 55 6e 69 74 79 57 6f 72 6b 49 74 65 6d 44 61 74 61 48 6f 6c 64 65 72 2e 61 6c 72 65 61 64 79 45 UnityWorkItemDataHolder.alreadyE
3b80 78 65 63 75 74 65 64 54 65 73 74 73 20 3d 20 6e 75 6c 6c 3b 0d 0a 20 20 20 20 20 20 20 20 7d 0d xecutedTests.=.null;..........}.
3ba0 0a 0d 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 74 65 20 76 6f 69 64 20 4f 6e 52 65 73 74 6f 72 ...........private.void.OnRestor
3bc0 69 6e 67 54 65 73 74 28 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 ingTest()..........{............
3be0 20 20 76 61 72 20 69 74 65 6d 20 3d 20 6d 5f 45 78 65 63 75 74 65 64 54 65 73 74 73 2e 46 69 6e ..var.item.=.m_ExecutedTests.Fin
3c00 64 28 74 20 3d 3e 20 74 2e 66 75 6c 6c 4e 61 6d 65 20 3d 3d 20 55 6e 69 74 79 54 65 73 74 45 78 d(t.=>.t.fullName.==.UnityTestEx
3c20 65 63 75 74 69 6f 6e 43 6f 6e 74 65 78 74 2e 43 75 72 72 65 6e 74 43 6f 6e 74 65 78 74 2e 43 75 ecutionContext.CurrentContext.Cu
3c40 72 72 65 6e 74 54 65 73 74 2e 46 75 6c 6c 4e 61 6d 65 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 rrentTest.FullName);............
3c60 20 20 69 66 20 28 69 74 65 6d 20 21 3d 20 6e 75 6c 6c 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 ..if.(item.!=.null).............
3c80 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 74 65 6d 2e 52 65 73 74 6f 72 65 .{..................item.Restore
3ca0 54 65 73 74 52 65 73 75 6c 74 28 55 6e 69 74 79 54 65 73 74 45 78 65 63 75 74 69 6f 6e 43 6f 6e TestResult(UnityTestExecutionCon
3cc0 74 65 78 74 2e 43 75 72 72 65 6e 74 43 6f 6e 74 65 78 74 2e 43 75 72 72 65 6e 74 52 65 73 75 6c text.CurrentContext.CurrentResul
3ce0 74 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d t);..............}..........}...
3d00 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 74 65 20 73 74 61 74 69 63 20 62 6f 6f 6c 20 49 73 43 .........private.static.bool.IsC
3d20 61 6e 63 65 6c 6c 65 64 28 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 ancelled()..........{...........
3d40 20 20 20 72 65 74 75 72 6e 20 55 6e 69 74 79 54 65 73 74 45 78 65 63 75 74 69 6f 6e 43 6f 6e 74 ...return.UnityTestExecutionCont
3d60 65 78 74 2e 43 75 72 72 65 6e 74 43 6f 6e 74 65 78 74 2e 45 78 65 63 75 74 69 6f 6e 53 74 61 74 ext.CurrentContext.ExecutionStat
3d80 75 73 20 3d 3d 20 54 65 73 74 45 78 65 63 75 74 69 6f 6e 53 74 61 74 75 73 2e 41 62 6f 72 74 52 us.==.TestExecutionStatus.AbortR
3da0 65 71 75 65 73 74 65 64 20 7c 7c 20 55 6e 69 74 79 54 65 73 74 45 78 65 63 75 74 69 6f 6e 43 6f equested.||.UnityTestExecutionCo
3dc0 6e 74 65 78 74 2e 43 75 72 72 65 6e 74 43 6f 6e 74 65 78 74 2e 45 78 65 63 75 74 69 6f 6e 53 74 ntext.CurrentContext.ExecutionSt
3de0 61 74 75 73 20 3d 3d 20 54 65 73 74 45 78 65 63 75 74 69 6f 6e 53 74 61 74 75 73 2e 53 74 6f 70 atus.==.TestExecutionStatus.Stop
3e00 52 65 71 75 65 73 74 65 64 3b 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 Requested;..........}...........
3e20 20 70 72 69 76 61 74 65 20 76 6f 69 64 20 49 6e 76 6f 6b 65 44 65 6c 65 67 61 74 6f 72 28 29 0d .private.void.InvokeDelegator().
3e40 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 6d 5f 43 75 .........{..............if.(m_Cu
3e60 72 72 65 6e 74 59 69 65 6c 64 4f 62 6a 65 63 74 20 3d 3d 20 6e 75 6c 6c 29 0d 0a 20 20 20 20 20 rrentYieldObject.==.null).......
3e80 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e .......{..................return
3ea0 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 ;..............}................
3ec0 69 66 20 28 49 73 43 61 6e 63 65 6c 6c 65 64 28 29 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 if.(IsCancelled())..............
3ee0 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0d 0a 20 20 20 20 {..................return;......
3f00 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 6d 5f 43 ........}................if.(m_C
3f20 75 72 72 65 6e 74 59 69 65 6c 64 4f 62 6a 65 63 74 20 69 73 20 52 65 73 74 6f 72 65 54 65 73 74 urrentYieldObject.is.RestoreTest
3f40 43 6f 6e 74 65 78 74 41 66 74 65 72 44 6f 6d 61 69 6e 52 65 6c 6f 61 64 29 0d 0a 20 20 20 20 20 ContextAfterDomainReload).......
3f60 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 6d 5f .......{..................if.(m_
3f80 54 65 73 74 52 75 6e 6e 65 72 53 74 61 74 65 53 65 72 69 61 6c 69 7a 65 72 2e 53 68 6f 75 6c 64 TestRunnerStateSerializer.Should
3fa0 52 65 73 74 6f 72 65 28 29 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 Restore())..................{...
3fc0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 54 65 73 74 52 75 6e 6e 65 72 53 ...................m_TestRunnerS
3fe0 74 61 74 65 53 65 72 69 61 6c 69 7a 65 72 2e 52 65 73 74 6f 72 65 43 6f 6e 74 65 78 74 28 29 3b tateSerializer.RestoreContext();
4000 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 ..................}.............
4020 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 0d .......return;..............}...
4040 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 72 79 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d .............try..............{.
4060 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 6d 5f 43 75 72 72 65 6e 74 59 69 .................if.(m_CurrentYi
4080 65 6c 64 4f 62 6a 65 63 74 20 69 73 20 49 45 64 69 74 4d 6f 64 65 54 65 73 74 59 69 65 6c 64 49 eldObject.is.IEditModeTestYieldI
40a0 6e 73 74 72 75 63 74 69 6f 6e 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a nstruction)..................{..
40c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 65 64 69 74 4d 6f 64 65 ....................var.editMode
40e0 54 65 73 74 59 69 65 6c 64 49 6e 73 74 72 75 63 74 69 6f 6e 20 3d 20 28 49 45 64 69 74 4d 6f 64 TestYieldInstruction.=.(IEditMod
4100 65 54 65 73 74 59 69 65 6c 64 49 6e 73 74 72 75 63 74 69 6f 6e 29 6d 5f 43 75 72 72 65 6e 74 59 eTestYieldInstruction)m_CurrentY
4120 69 65 6c 64 4f 62 6a 65 63 74 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ieldObject;.....................
4140 20 69 66 20 28 65 64 69 74 4d 6f 64 65 54 65 73 74 59 69 65 6c 64 49 6e 73 74 72 75 63 74 69 6f .if.(editModeTestYieldInstructio
4160 6e 2e 45 78 70 65 63 74 44 6f 6d 61 69 6e 52 65 6c 6f 61 64 29 0d 0a 20 20 20 20 20 20 20 20 20 n.ExpectDomainReload)...........
4180 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ...........{....................
41a0 20 20 20 20 20 20 50 72 65 70 61 72 65 46 6f 72 44 6f 6d 61 69 6e 52 65 6c 6f 61 64 28 29 3b 0d ......PrepareForDomainReload();.
41c0 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 20 20 20 20 .....................}..........
41e0 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 ............return;.............
4200 20 20 20 20 20 7d 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 20 20 20 20 20 .....}..............}...........
4220 20 20 20 63 61 74 63 68 20 28 45 78 63 65 70 74 69 6f 6e 20 65 29 0d 0a 20 20 20 20 20 20 20 20 ...catch.(Exception.e)..........
4240 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 55 6e 69 74 79 54 65 73 74 ....{..................UnityTest
4260 45 78 65 63 75 74 69 6f 6e 43 6f 6e 74 65 78 74 2e 43 75 72 72 65 6e 74 43 6f 6e 74 65 78 74 2e ExecutionContext.CurrentContext.
4280 43 75 72 72 65 6e 74 52 65 73 75 6c 74 2e 52 65 63 6f 72 64 45 78 63 65 70 74 69 6f 6e 28 65 29 CurrentResult.RecordException(e)
42a0 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0d 0a 20 20 20 20 ;..................return;......
42c0 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 44 65 62 75 67 2e 4c ........}................Debug.L
42e0 6f 67 45 72 72 6f 72 28 22 45 64 69 74 4d 6f 64 65 20 74 65 73 74 20 63 61 6e 20 6f 6e 6c 79 20 ogError("EditMode.test.can.only.
4300 79 69 65 6c 64 20 6e 75 6c 6c 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 yield.null");..........}........
4320 20 20 20 20 70 72 69 76 61 74 65 20 76 6f 69 64 20 43 6f 6d 70 69 6c 61 74 69 6f 6e 46 61 69 6c ....private.void.CompilationFail
4340 75 72 65 57 61 74 63 68 28 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 ureWatch()..........{...........
4360 20 20 20 69 66 20 28 45 64 69 74 6f 72 41 70 70 6c 69 63 61 74 69 6f 6e 2e 69 73 43 6f 6d 70 69 ...if.(EditorApplication.isCompi
4380 6c 69 6e 67 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0d 0a ling)..................return;..
43a0 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 41 70 70 6c 69 63 61 74 69 6f 6e 2e ..............EditorApplication.
43c0 75 70 64 61 74 65 20 2d 3d 20 43 6f 6d 70 69 6c 61 74 69 6f 6e 46 61 69 6c 75 72 65 57 61 74 63 update.-=.CompilationFailureWatc
43e0 68 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 45 64 69 74 6f 72 55 74 69 6c h;................if.(EditorUtil
4400 69 74 79 2e 73 63 72 69 70 74 43 6f 6d 70 69 6c 61 74 69 6f 6e 46 61 69 6c 65 64 29 0d 0a 20 20 ity.scriptCompilationFailed)....
4420 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 ..........{..................Edi
4440 74 6f 72 55 74 69 6c 69 74 79 2e 43 6c 65 61 72 50 72 6f 67 72 65 73 73 42 61 72 28 29 3b 0d 0a torUtility.ClearProgressBar();..
4460 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 4f 6e 52 75 6e 43 61 6e 63 65 6c 28 29 3b 0d 0a ................OnRunCancel();..
4480 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 ............}..........}........
44a0 20 20 20 20 70 72 69 76 61 74 65 20 76 6f 69 64 20 50 72 65 70 61 72 65 46 6f 72 44 6f 6d 61 69 ....private.void.PrepareForDomai
44c0 6e 52 65 6c 6f 61 64 28 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 nReload()..........{............
44e0 20 20 6d 5f 54 65 73 74 52 75 6e 6e 65 72 53 74 61 74 65 53 65 72 69 61 6c 69 7a 65 72 2e 53 61 ..m_TestRunnerStateSerializer.Sa
4500 76 65 43 6f 6e 74 65 78 74 28 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 43 75 72 72 veContext();..............m_Curr
4520 65 6e 74 50 43 20 3d 20 45 6e 75 6d 65 72 61 74 6f 72 53 74 65 70 48 65 6c 70 65 72 2e 47 65 74 entPC.=.EnumeratorStepHelper.Get
4540 45 6e 75 6d 65 72 61 74 6f 72 50 43 28 54 65 73 74 45 6e 75 6d 65 72 61 74 6f 72 2e 45 6e 75 6d EnumeratorPC(TestEnumerator.Enum
4560 65 72 61 74 6f 72 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 45 78 65 63 75 74 65 4f erator);..............m_ExecuteO
4580 6e 45 6e 61 62 6c 65 20 3d 20 74 72 75 65 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 52 nEnable.=.true;................R
45a0 75 6e 6e 69 6e 67 54 65 73 74 73 20 3d 20 66 61 6c 73 65 3b 0d 0a 20 20 20 20 20 20 20 20 7d 0d unningTests.=.false;..........}.
45c0 0a 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 54 20 41 64 64 45 76 65 6e 74 48 61 6e 64 ...........public.T.AddEventHand
45e0 6c 65 72 3c 54 3e 28 29 20 77 68 65 72 65 20 54 20 3a 20 53 63 72 69 70 74 61 62 6c 65 4f 62 6a ler<T>().where.T.:.ScriptableObj
4600 65 63 74 2c 20 49 54 65 73 74 52 75 6e 6e 65 72 4c 69 73 74 65 6e 65 72 0d 0a 20 20 20 20 20 20 ect,.ITestRunnerListener........
4620 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 65 76 65 6e 74 48 61 6e 64 6c 65 ..{..............var.eventHandle
4640 72 20 3d 20 43 72 65 61 74 65 49 6e 73 74 61 6e 63 65 3c 54 3e 28 29 3b 0d 0a 20 20 20 20 20 20 r.=.CreateInstance<T>();........
4660 20 20 20 20 20 20 65 76 65 6e 74 48 61 6e 64 6c 65 72 2e 68 69 64 65 46 6c 61 67 73 20 7c 3d 20 ......eventHandler.hideFlags.|=.
4680 48 69 64 65 46 6c 61 67 73 2e 44 6f 6e 74 53 61 76 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 HideFlags.DontSave;.............
46a0 20 6d 5f 43 61 6c 6c 62 61 63 6b 4f 62 6a 65 63 74 73 2e 41 64 64 28 65 76 65 6e 74 48 61 6e 64 .m_CallbackObjects.Add(eventHand
46c0 6c 65 72 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 41 64 64 4c 69 73 74 65 6e 65 72 ler);................AddListener
46e0 73 28 65 76 65 6e 74 48 61 6e 64 6c 65 72 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 s(eventHandler);................
4700 72 65 74 75 72 6e 20 65 76 65 6e 74 48 61 6e 64 6c 65 72 3b 0d 0a 20 20 20 20 20 20 20 20 7d 0d return.eventHandler;..........}.
4720 0a 0d 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 74 65 20 76 6f 69 64 20 41 64 64 4c 69 73 74 65 ...........private.void.AddListe
4740 6e 65 72 73 28 49 54 65 73 74 52 75 6e 6e 65 72 4c 69 73 74 65 6e 65 72 20 65 76 65 6e 74 48 61 ners(ITestRunnerListener.eventHa
4760 6e 64 6c 65 72 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d ndler)..........{..............m
4780 5f 54 65 73 74 53 74 61 72 74 65 64 45 76 65 6e 74 2e 41 64 64 4c 69 73 74 65 6e 65 72 28 65 76 _TestStartedEvent.AddListener(ev
47a0 65 6e 74 48 61 6e 64 6c 65 72 2e 54 65 73 74 53 74 61 72 74 65 64 29 3b 0d 0a 20 20 20 20 20 20 entHandler.TestStarted);........
47c0 20 20 20 20 20 20 6d 5f 54 65 73 74 46 69 6e 69 73 68 65 64 45 76 65 6e 74 2e 41 64 64 4c 69 73 ......m_TestFinishedEvent.AddLis
47e0 74 65 6e 65 72 28 65 76 65 6e 74 48 61 6e 64 6c 65 72 2e 54 65 73 74 46 69 6e 69 73 68 65 64 29 tener(eventHandler.TestFinished)
4800 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 52 75 6e 53 74 61 72 74 65 64 45 76 65 6e 74 ;..............m_RunStartedEvent
4820 2e 41 64 64 4c 69 73 74 65 6e 65 72 28 65 76 65 6e 74 48 61 6e 64 6c 65 72 2e 52 75 6e 53 74 61 .AddListener(eventHandler.RunSta
4840 72 74 65 64 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 52 75 6e 46 69 6e 69 73 68 65 rted);..............m_RunFinishe
4860 64 45 76 65 6e 74 2e 41 64 64 4c 69 73 74 65 6e 65 72 28 65 76 65 6e 74 48 61 6e 64 6c 65 72 2e dEvent.AddListener(eventHandler.
4880 52 75 6e 46 69 6e 69 73 68 65 64 29 3b 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 RunFinished);..........}........
48a0 20 20 20 20 70 75 62 6c 69 63 20 76 6f 69 64 20 44 69 73 70 6f 73 65 28 29 0d 0a 20 20 20 20 20 ....public.void.Dispose().......
48c0 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 52 65 66 6c 65 63 74 2e 4d 65 74 68 6f 64 ...{..............Reflect.Method
48e0 43 61 6c 6c 57 72 61 70 70 65 72 20 3d 20 6e 75 6c 6c 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 CallWrapper.=.null;.............
4900 20 45 64 69 74 6f 72 41 70 70 6c 69 63 61 74 69 6f 6e 2e 75 70 64 61 74 65 20 2d 3d 20 54 65 73 .EditorApplication.update.-=.Tes
4920 74 43 6f 6e 73 75 6d 65 72 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 44 65 73 74 72 6f tConsumer;................Destro
4940 79 49 6d 6d 65 64 69 61 74 65 28 74 68 69 73 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 yImmediate(this);...............
4960 20 69 66 20 28 6d 5f 43 61 6c 6c 62 61 63 6b 4f 62 6a 65 63 74 73 20 21 3d 20 6e 75 6c 6c 29 0d .if.(m_CallbackObjects.!=.null).
4980 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .............{..................
49a0 66 6f 72 65 61 63 68 20 28 76 61 72 20 6f 62 6a 20 69 6e 20 6d 5f 43 61 6c 6c 62 61 63 6b 4f 62 foreach.(var.obj.in.m_CallbackOb
49c0 6a 65 63 74 73 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 jects)..................{.......
49e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 44 65 73 74 72 6f 79 49 6d 6d 65 64 69 61 74 65 28 ...............DestroyImmediate(
4a00 6f 62 6a 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 20 20 obj);..................}........
4a20 20 20 20 20 20 20 20 20 20 20 6d 5f 43 61 6c 6c 62 61 63 6b 4f 62 6a 65 63 74 73 2e 43 6c 65 61 ..........m_CallbackObjects.Clea
4a40 72 28 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 20 20 20 20 20 20 20 r();..............}.............
4a60 20 52 75 6e 6e 69 6e 67 54 65 73 74 73 20 3d 20 66 61 6c 73 65 3b 0d 0a 20 20 20 20 20 20 20 20 .RunningTests.=.false;..........
4a80 20 20 20 20 45 64 69 74 6f 72 41 70 70 6c 69 63 61 74 69 6f 6e 2e 55 6e 6c 6f 63 6b 52 65 6c 6f ....EditorApplication.UnlockRelo
4aa0 61 64 41 73 73 65 6d 62 6c 69 65 73 28 29 3b 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 adAssemblies();..........}......
4ac0 20 20 20 20 20 20 70 75 62 6c 69 63 20 76 6f 69 64 20 4f 6e 52 75 6e 43 61 6e 63 65 6c 28 29 0d ......public.void.OnRunCancel().
4ae0 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 55 6e 69 74 79 57 6f 72 .........{..............UnityWor
4b00 6b 49 74 65 6d 44 61 74 61 48 6f 6c 64 65 72 2e 61 6c 72 65 61 64 79 45 78 65 63 75 74 65 64 54 kItemDataHolder.alreadyExecutedT
4b20 65 73 74 73 20 3d 20 6e 75 6c 6c 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 45 78 65 63 ests.=.null;..............m_Exec
4b40 75 74 65 4f 6e 45 6e 61 62 6c 65 20 3d 20 66 61 6c 73 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 uteOnEnable.=.false;............
4b60 20 20 6d 5f 52 75 6e 6e 65 72 2e 53 74 6f 70 52 75 6e 28 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 ..m_Runner.StopRun();...........
4b80 20 20 20 52 75 6e 46 69 6e 69 73 68 65 64 20 3d 20 74 72 75 65 3b 0d 0a 20 20 20 20 20 20 20 20 ...RunFinished.=.true;..........
4ba0 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 49 54 65 73 74 20 47 65 74 4c 6f 61 }............public.ITest.GetLoa
4bc0 64 65 64 54 65 73 74 73 28 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 dedTests()..........{...........
4be0 20 20 20 72 65 74 75 72 6e 20 6d 5f 52 75 6e 6e 65 72 2e 4c 6f 61 64 65 64 54 65 73 74 3b 0d 0a ...return.m_Runner.LoadedTest;..
4c00 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 49 54 65 73 ........}............public.ITes
4c20 74 46 69 6c 74 65 72 20 47 65 74 46 69 6c 74 65 72 28 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a tFilter.GetFilter()..........{..
4c40 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 6e 65 77 20 4f 72 46 69 6c 74 65 72 28 ............return.new.OrFilter(
4c60 6d 5f 46 69 6c 74 65 72 73 2e 53 65 6c 65 63 74 28 66 69 6c 74 65 72 20 3d 3e 20 66 69 6c 74 65 m_Filters.Select(filter.=>.filte
4c80 72 2e 42 75 69 6c 64 4e 55 6e 69 74 46 69 6c 74 65 72 28 52 75 6e 6e 69 6e 67 53 79 6e 63 68 72 r.BuildNUnitFilter(RunningSynchr
4ca0 6f 6e 6f 75 73 6c 79 29 29 2e 54 6f 41 72 72 61 79 28 29 29 3b 0d 0a 20 20 20 20 20 20 20 20 7d onously)).ToArray());..........}
4cc0 0d 0a 20 20 20 20 7d 0d 0a 7d 0d 0a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ......}..}......................
4ce0 0e 00 00 00 45 64 69 74 4d 6f 64 65 52 75 6e 6e 65 72 00 00 20 00 00 00 55 6e 69 74 79 45 64 69 ....EditModeRunner......UnityEdi
4d00 74 6f 72 2e 54 65 73 74 54 6f 6f 6c 73 2e 54 65 73 74 52 75 6e 6e 65 72 tor.TestTools.TestRunner