Commit Graph

13222 Commits

Author SHA1 Message Date
sunkaixuan
7fc2f651c1 Update demo test 2025-11-21 20:35:24 +08:00
果糖网
41f83180b6 Merge pull request #1380 from codomposer/feat/unit-async-insert
feat: complete unit async insert test script
2025-11-21 20:24:27 +08:00
sunkaixuan
a7863d528b Add demo 2025-11-21 19:42:38 +08:00
sunkaixuan
585db90796 Update table query 2025-11-21 19:42:11 +08:00
sunkaixuan
436414507e Update table query 2025-11-21 19:38:45 +08:00
sunkaixuan
10ed7fd2c2 Add mongodb demo 2025-11-21 19:05:40 +08:00
sunkaixuan
6aa92e5cbc Update mongodb 2025-11-21 19:05:31 +08:00
sunkaixuan
ac7a027a09 Update HG 2025-11-21 17:49:52 +08:00
sunkaixuan
ad3f5da4d8 Update mongodb 2025-11-21 17:17:51 +08:00
sunkaixuan
d302496f2c Update mongodb 2025-11-21 17:17:04 +08:00
sunkaixuan
0d20cc8c1c Update mongodb 2025-11-21 16:42:14 +08:00
codomposer
cd8c1266cc fix: reverted the connection password 2025-11-21 03:27:32 -05:00
sunkaixuan
14525e8c2b Merge branch 'master' of https://github.com/DotNetNext/SqlSugar 2025-11-21 15:44:38 +08:00
codomposer
a1cd01854a fix: null entity handle 2025-11-20 05:16:39 -05:00
codomposer
40474f5133 fix: update the weak sql server password 2025-11-20 05:04:34 -05:00
codomposer
aec3486168 fix the DB instance issue 2025-11-20 04:28:36 -05:00
codomposer
6905288a00 feat: complete unit async insert test script 2025-11-20 04:18:01 -05:00
果糖网
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
49cf16b443 5.1.4.210 2025-11-20 16:22:53 +08:00
sunkaixuan
7e9847a22c Update nav query 2025-11-20 16:09:04 +08:00
sunkaixuan
c2d03e4149 5.1.4.209 2025-11-20 12:29:27 +08:00
sunkaixuan
8c5b0591d5 Update exp to sql 2025-11-20 12:26:55 +08:00
sunkaixuan
2476fc7614 Add test 2025-11-19 17:14:33 +08:00
sunkaixuan
09c6270e2c Update WhereClassByPrimaryKey 2025-11-19 17:14:25 +08:00
codomposer
936c74f686 complete unit test exception handling 2025-11-18 07:37:57 -05:00
sunkaixuan
f3a18f4c62 Update dm 2025-11-18 16:10:36 +08:00
sunkaixuan
2170a4ac73 5.1.4.208 2025-11-17 16:24:54 +08:00
sunkaixuan
446b6f208b Update tableQuery 2025-11-17 16:23:48 +08:00
sunkaixuan
0c3cf6ba70 Update demo 2025-11-17 15:47:01 +08:00
sunkaixuan
ed13a80b37 Update exp to sql 2025-11-17 15:39:28 +08:00
sunkaixuan
40dfdf10d0 Update nav json 2025-11-16 09:11:39 +08:00
sunkaixuan
8f25a8a09b Merge branch 'master' of https://github.com/DotNetNext/SqlSugar 2025-11-15 10:50:42 +08:00
果糖网
de43ba19bd Merge pull request #1375 from codomposer/feat/user-security-parameter-handling-test
create user security parameter handling unit test script
2025-11-15 10:49:30 +08:00
codomposer
3f727ff3de create user security parameter handling test script 2025-11-14 09:46:21 -05:00
sunkaixuan
0895c84117 Update db.Reportable(DateOnly) 2025-11-14 17:35:14 +08:00
sunkaixuan
be56cc3a02 Update demo 2025-11-13 11:58:01 +08:00
果糖网
5c3705bc01 Merge pull request #1372 from 0xsatoshi99/add-utilconvert-tests
Add comprehensive tests for UtilConvert utility class / 添加 UtilConvert 实用工具类的综合测试
2025-11-12 19:57:26 +08:00
0xsatoshi99
1f69332272 Remove UtilConvert test call from Program.cs
As requested by maintainer, tests should only be called via NewUnitTest.Init().
The UtilConvert tests are already integrated in UserTestCases/UnitTest/UnitUtilConvert.cs
and called from NewUnitTest.Init().
2025-11-12 10:42:07 +01:00
sunkaixuan
95d01ed845 Update 人大金仓 2025-11-12 16:22:06 +08: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
0xsatoshi99
9f95bc9970 Add comprehensive tests for UtilConvert utility class
添加 UtilConvert 实用工具类的综合测试

Following the SqlSugar testing pattern, adds integration tests for UtilConvert utility methods.
按照 SqlSugar 测试模式,为 UtilConvert 实用工具方法添加集成测试。

Test Coverage / 测试覆盖 (60+ tests, 408 lines):
- ObjToInt: 10 tests (valid, null, DBNull, enum, error handling, max/min values)
- ObjToLong: 5 tests (valid, null, enum, max value)
- ObjToString: 7 tests (trim, no-trim, null, error values, empty)
- ObjToDecimal: 7 tests (valid, null, DBNull, error handling, max/negative values)
- ObjToMoney: 5 tests (valid, null, error handling, zero)
- ObjToDate: 5 tests (DateTime, string, null, DBNull, error handling)
- ObjToBool: 6 tests (true/false, null, invalid values)
- EqualCase: 6 tests (case-insensitive comparison, null handling)
- Edge cases: 7 tests (max/min values, negative, zero)

Implementation / 实现方式:
 Follows SqlSugar testing pattern (called from Program.Main)
 Added to existing SqlSeverTest project
 Uses console output for test results
 Bilingual comments (English + Chinese)
 Clear test organization with regions
 AssertEqual helper for validation
 Comprehensive edge case coverage

Files Modified / 修改的文件:
- SqlSeverTest/b1_UtilConvertTest.cs (408 lines, new file)
- SqlSeverTest/Program.cs (added Init() call)

Benefits / 优势:
- Validates UtilConvert utility methods
- Catches potential bugs early
- Provides usage examples
- Improves code reliability
2025-11-11 11:03:31 +01:00
sunkaixuan
a97b241fe3 Update gbase 2025-11-11 16:21:58 +08:00
sunkaixuan
f74abdc07a Update subquery select 2025-11-10 10:02:06 +08:00
sunkaixuan
cdc675a854 Update demo 2025-11-09 21:38:09 +08:00
sunkaixuan
889989424d Update demo 2025-11-09 21:01:45 +08:00
sunkaixuan
100c15543f Optimize unit test cases 2025-11-09 20:22:54 +08:00
sunkaixuan
26a7613a5b Optimize unit test cases 2025-11-09 20:22:34 +08:00
sunkaixuan
b7b6d0a262 Optimize unit test cases 2025-11-09 20:21:19 +08:00
sunkaixuan
7403569b22 Update testing 2025-11-09 15:13:16 +08:00
sunkaixuan
f518ced30e Merge branch 'master' of https://github.com/DotNetNext/SqlSugar 2025-11-09 14:16:51 +08:00