Commit Graph

76 Commits

Author SHA1 Message Date
果糖网
3f534320b1 Merge pull request #1378 from codomposer/feat/u-exception-handling
complete exception handling part in the unit test script
2025-11-20 16:43:33 +08:00
sunkaixuan
2476fc7614 Add test 2025-11-19 17:14:33 +08:00
codomposer
936c74f686 complete unit test exception handling 2025-11-18 07:37:57 -05:00
sunkaixuan
0c3cf6ba70 Update demo 2025-11-17 15:47:01 +08:00
codomposer
3f727ff3de create user security parameter handling test script 2025-11-14 09:46:21 -05:00
0xsatoshi99
570b4fd661 Fix: Move tests to NewUnitTest pattern as requested
修复:按要求将测试移至 NewUnitTest 模式

Following maintainer feedback, integrated UtilConvert tests into the existing NewUnitTest framework.
根据维护者反馈,将 UtilConvert 测试集成到现有的 NewUnitTest 框架中。

Changes / 更改:
- Moved test file to UserTestCases/UnitTest/UnitUtilConvert.cs
- Added UnitUtilConvert.Init() call to NewUnitTest.Init()
- Uses Check.Exception() for assertions (SqlSugar pattern)
- Removed standalone test file

Test Coverage / 测试覆盖 (60+ tests, 349 lines):
- ObjToInt: 10 tests
- ObjToLong: 5 tests
- ObjToString: 7 tests
- ObjToDecimal: 7 tests
- ObjToMoney: 5 tests
- ObjToDate: 5 tests
- ObjToBool: 6 tests
- EqualCase: 6 tests
- Edge cases: 7 tests

Implementation / 实现:
 Integrated into NewUnitTest.Init()
 Uses Check.Exception() for validation
 Follows SqlSugar testing conventions
 Bilingual comments (English + Chinese)
2025-11-12 07:26:31 +01:00
sunkaixuan
8784e62499 Add demo 2025-10-15 16:55:53 +08:00
sunkaixuan
8a15bb087f Add demo 2025-09-08 21:29:56 +08:00
sunkaixuan
11b2f8d407 Add demo 2025-09-05 18:28:35 +08:00
sunkaixuan
a008540991 Add demo 2025-09-05 15:33:46 +08:00
sunkaixuan
5be99f55e2 Add demo 2025-08-27 13:26:13 +08:00
sunkaixuan
d19a3061c4 Add demo 2025-08-25 14:35:49 +08:00
sunkaixuan
0881317ca9 Add demo 2025-08-19 17:49:17 +08:00
sunkaixuan
af6c0e51d6 Add demo 2025-08-19 14:19:40 +08:00
sunkaixuan
37d5f7c6b2 Add user test case 2025-08-16 14:07:55 +08:00
sunkaixuan
30daa76111 Add demo 2025-08-07 09:16:39 +08:00
sunkaixuan
b04ca100e2 Add demo 2025-07-31 19:50:33 +08:00
sunkaixuan
2be5647766 Add demo 2025-07-30 19:32:48 +08:00
sunkaixuan
55f802491f Add demo 2025-07-30 17:42:15 +08:00
sunkaixuan
b8a1e3320a Add demo 2025-07-19 10:36:42 +08:00
sunkaixuan
74f59831a6 Add demo 2025-07-17 19:25:07 +08:00
sunkaixuan
1b0e441292 Update demo 2025-07-16 20:52:17 +08:00
sunkaixuan
783b49f720 Add sql_variant demo 2025-07-15 16:39:12 +08:00
sunkaixuan
fdf8c28112 Add user test case 2025-07-14 17:51:37 +08:00
sunkaixuan
bd9130a71a Add demo 2025-07-10 15:56:13 +08:00
sunkaixuan
12bce8fa4d Add demo 2025-07-07 19:30:04 +08:00
sunkaixuan
a06e5321c1 Add demo 2025-06-27 11:25:24 +08:00
sunkaixuan
478dac6ae8 Add demo 2025-06-25 17:36:41 +08:00
sunkaixuan
60b99773ce Add unit test 2025-06-08 12:56:32 +08:00
sunkaixuan
542adbc91e Update demo 2025-06-06 18:49:35 +08:00
sunkaixuan
7295341ac0 Add user test case 2025-05-26 13:41:29 +08:00
sunkaixuan
33491ae8ab Add demo 2025-05-26 12:52:53 +08:00
sunkaixuan
99dead1f72 Add user test 2025-05-22 19:12:53 +08:00
sunkaixuan
949a2bed34 Add user test case 2025-05-21 17:38:08 +08:00
sunkaixuan
3af86e0783 Add demo 2025-05-17 17:43:31 +08:00
sunkaixuan
9a537821c1 Add demo 2025-04-01 20:20:02 +08:00
sunkaixuan
9b1a69df31 Add demo 2025-04-01 19:45:59 +08:00
sunkaixuan
3e29e86961 Add demo 2025-04-01 13:29:10 +08:00
sunkaixuan
c4c2920ddb Add demo 2025-03-24 15:48:46 +08:00
sunkaixuan
8cb06ce9af Add demo 2025-03-17 09:29:27 +08:00
sunkaixuan
e04d9bca77 Add demo 2025-03-14 11:19:27 +08:00
sunkaixuan
3afb8ce813 Update demo 2025-03-11 20:12:48 +08:00
sunkaixuan
a3e77de521 Add demo 2025-03-11 12:31:22 +08:00
sunkaixuan
a29d0cf3fb Add demo 2025-03-10 14:36:10 +08:00
sunkaixuan
41895680b0 Add demo 2025-02-14 18:10:09 +08:00
sunkaixuan
79757b9438 Add user test 2025-02-01 14:50:55 +08:00
sunkaixuan
57d1aa665b Add demo 2025-02-01 13:07:59 +08:00
sunkaixuan
a9e06e99f6 Add demo 2025-01-17 16:52:35 +08:00
sunkaixuan
a3a3dc67d2 Add user test case 2024-11-25 17:47:27 +08:00
sunkaixuan
6d51dac4df Update demo 2024-08-25 15:45:09 +08:00