Commit 00ba108
test(ui): add comprehensive tests for PanelUI and BootstrapEditorUI (#612)
Add unit tests for internal UI editor classes:
- PanelUITests: tests for JEngine Panel build configuration UI
- BootstrapEditorUITests: tests for Bootstrap inspector UI
Integration tests (Build All, Build Assets Only with XOR/AES/ChaCha20):
- Marked with [Category("Integration")] for separate execution
- Test real build functionality against active build target
Test infrastructure improvements:
- JEngineTestBase: base class with LogAssert.ignoreFailingMessages
- TestsSetUp: assembly-level setup to disable auto-baking
- AssemblyInfo.cs: InternalsVisibleTo for test assembly access
BuildManager improvements:
- Simplified error filtering with unified IgnoredErrors array
- Added "Bake Ambient Probe" to ignored errors (Unity lighting issue)
- Added "catalog file failed" to ignored errors (YooAsset bug)
Signed-off-by: JasonXuDeveloper - 傑 <jason@xgamedev.net>
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>1 parent 7d7b302 commit 00ba108
File tree
12 files changed
+1415
-26
lines changed- UnityProject/Packages
- com.jasonxudeveloper.jengine.core/Editor/CustomEditor
- com.jasonxudeveloper.jengine.ui
- Editor
- Tests/Editor
- Internal
12 files changed
+1415
-26
lines changedLines changed: 27 additions & 23 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
234 | 235 | | |
235 | 236 | | |
236 | 237 | | |
237 | | - | |
238 | | - | |
| 238 | + | |
239 | 239 | | |
240 | 240 | | |
241 | | - | |
| 241 | + | |
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
| |||
451 | 451 | | |
452 | 452 | | |
453 | 453 | | |
454 | | - | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
455 | 457 | | |
456 | | - | |
457 | | - | |
458 | | - | |
459 | | - | |
460 | | - | |
461 | | - | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
462 | 461 | | |
463 | | - | |
| 462 | + | |
464 | 463 | | |
465 | 464 | | |
466 | 465 | | |
467 | 466 | | |
468 | | - | |
| 467 | + | |
469 | 468 | | |
470 | | - | |
| 469 | + | |
471 | 470 | | |
472 | | - | |
| 471 | + | |
473 | 472 | | |
474 | | - | |
| 473 | + | |
475 | 474 | | |
476 | 475 | | |
477 | | - | |
| 476 | + | |
478 | 477 | | |
479 | 478 | | |
480 | | - | |
| 479 | + | |
481 | 480 | | |
482 | 481 | | |
483 | 482 | | |
484 | 483 | | |
485 | | - | |
| 484 | + | |
486 | 485 | | |
487 | 486 | | |
488 | 487 | | |
| |||
505 | 504 | | |
506 | 505 | | |
507 | 506 | | |
508 | | - | |
| 507 | + | |
509 | 508 | | |
510 | 509 | | |
511 | 510 | | |
| |||
528 | 527 | | |
529 | 528 | | |
530 | 529 | | |
531 | | - | |
| 530 | + | |
532 | 531 | | |
533 | | - | |
| 532 | + | |
534 | 533 | | |
535 | 534 | | |
536 | 535 | | |
537 | 536 | | |
538 | | - | |
| 537 | + | |
539 | 538 | | |
540 | 539 | | |
541 | 540 | | |
542 | 541 | | |
543 | 542 | | |
544 | 543 | | |
545 | | - | |
| 544 | + | |
546 | 545 | | |
547 | 546 | | |
548 | 547 | | |
| |||
551 | 550 | | |
552 | 551 | | |
553 | 552 | | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
554 | 558 | | |
555 | 559 | | |
556 | 560 | | |
| |||
Lines changed: 29 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments