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
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
codomposer
9c3d7231ac
feat: add performance benchmark code
2025-11-08 10:08:14 -05:00
sunkaixuan
f893a80dc6
Update 人大金仓
2025-11-08 14:04:52 +08:00
sunkaixuan
5d47227c65
Update nuget
2025-11-08 13:49:27 +08:00
sunkaixuan
ecf4693fb7
Update达梦
2025-11-07 14:04:21 +08:00
sunkaixuan
848abfa7e5
Update db.UpdateByObject
2025-11-07 12:27:14 +08:00
sunkaixuan
a3674fe5fe
Update 达梦
2025-11-06 15:50:23 +08:00
sunkaixuan
1efdcc4abb
Update 达梦
2025-11-06 09:35:43 +08:00
sunkaixuan
fc0d840bdd
Update DynamicBuilder
2025-11-05 17:41:32 +08:00
sunkaixuan
d2aa296b26
Update gbase bug
2025-11-05 13:27:18 +08:00
bug320
74aa0e71db
feat: add test for GetConfigValue
2025-11-05 09:33:30 +08:00
sunkaixuan
5bdb351258
Update gbase8s
2025-11-04 19:09:57 +08:00
sunkaixuan
6d8bebbc36
-
2025-11-04 18:42:25 +08:00
sunkaixuan
cf17d9baec
Update nuget
2025-11-04 18:42:15 +08:00
idea-zone
83deab8295
exp to sql allow SqlSugarColumn
2025-11-04 11:58:33 +08:00
sunkaixuan
b596c69939
Merge branch 'master' of gitee.com:dotnetchina/SqlSugar
2025-11-04 09:11:44 +08:00
sunkaixuan
bb5d5a102a
Update exp to sql
2025-11-04 09:03:42 +08:00
阿妮亚
f6be3b03da
!102 Fix Vastbase BINARY format handling in PostgreSQL COPY command
...
Merge pull request !102 from yayaxxww/master
2025-11-03 03:58:37 +00:00
sunkaixuan
a88188383b
Update Oracle
2025-11-02 11:06:35 +08:00
sunkaixuan
8efcb859e6
Update Gbase
2025-10-31 16:32:12 +08:00
sunkaixuan
b458fbaf72
Update nuget
2025-10-31 16:23:23 +08:00
yayaxxww
a4986b475d
Fix Vastbase BINARY format handling in PostgreSQL COPY command
...
Remove unnecessary MySQL compatibility check for Vastbase database, allowing BINARY format to be applied consistently across Vastbase configurations.
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-10-31 15:45:20 +08:00
sunkaixuan
e48f464931
Update nuget
2025-10-30 16:37:51 +08:00
sunkaixuan
05bb6441b8
Update gabse
2025-10-30 15:35:41 +08:00
sunkaixuan
14b3f8cd3f
Update sqlite
2025-10-30 14:36:16 +08:00
sunkaixuan
1c4b1a5450
Update sqlite like
2025-10-30 12:36:27 +08:00
sunkaixuan
5f741ebbba
Update exp to sql
2025-10-29 20:51:01 +08:00
sunkaixuan
1e27cd5329
Update db.Merge
2025-10-28 19:35:34 +08:00
阿妮亚
b981f88fa0
!100 修改海量数据库mysql BulkCopyAsync兼容性问题
...
Merge pull request !100 from 陈剑辉/master
2025-10-28 09:38:48 +00:00
陈剑辉
fa7b38119d
修改海量数据库mysql BulkCopyAsync兼容性问题
2025-10-28 13:49:35 +08:00