Commit Graph

1111 Commits

Author SHA1 Message Date
aloncn
922eaf4d42 Update unit test for gring 2019-04-10 00:37:06 +08:00
farmer chen
4b5153950f Add unit test for gring 2019-04-10 00:37:06 +08:00
yybjroam@qq.com
6cc0017826 测试空的断言。 2019-04-09 23:25:20 +08:00
John
85c2ed1bf2 improve nil checks for gtest.Assert* 2019-04-09 23:12:22 +08:00
yybjroam@qq.com
aca1df634d 添加测试文件内容相关函数。 2019-04-09 23:11:04 +08:00
Jay
277b7a4536 测试修改 2019-04-09 15:06:12 +08:00
yybjroam@qq.com
054ef87886 继续添加文件测试. 2019-04-08 23:13:28 +08:00
Jay
39c65d9e9a 测试添加 2019-04-08 17:49:15 +08:00
Jay
b97bbbfa3d 测试添加 2019-04-08 17:32:07 +08:00
Jay
ace6ba8096 Gmap 测试添加 2019-04-08 17:02:57 +08:00
yybjroam@qq.com
a2b87d84e9 添加gfile测试代码,10% 2019-04-07 22:46:14 +08:00
John
1fc85d49bd gtime updates; README updates 2019-04-07 21:49:24 +08:00
John Guo
a5cfb4e638
Merge pull request #82 from hailaz/master
Add gtime unit test
2019-04-07 21:27:29 +08:00
John Guo
38754bf062
Merge pull request #78 from youyixiao/youyixiao_gogf
gregex_unit_test
2019-04-07 21:23:03 +08:00
hailaz
f1818ed2ff 补充gtime_format的覆盖测试。 2019-04-06 23:53:06 +08:00
hailaz
352ad17715 避免pr时造成gtime文件的更改。 2019-04-06 22:56:47 +08:00
hailaz
e50b8d9632 移除gtime unit test中注释掉的函数。 2019-04-06 22:50:37 +08:00
hailaz
2107061a46 Add gtime unit test 2019-04-06 22:48:47 +08:00
John
61f57b4895 update comments of gstr 2019-04-06 21:31:01 +08:00
hailaz
d34273abff 同步master 2019-04-05 23:53:43 +08:00
hailaz
0aff0f0362 同步master 2019-04-05 23:49:20 +08:00
John
c56c77d3a1 fix issue in G&j char format 2019-04-05 23:13:47 +08:00
John
dc82ce395a comment updates for gcfg 2019-04-05 00:23:59 +08:00
John
2a29483456 comment fix 2019-04-04 23:24:27 +08:00
John
4f10562980 remove limit for gdb.Model.One 2019-04-04 23:22:09 +08:00
一墨染尽青衣颜
6863928b06 !18 限制下查询单条记录查询条数
Merge pull request !18 from 一墨染尽青衣颜/master
2019-04-04 22:55:13 +08:00
John
aa4dca11f0 fix issue in gtime; update comment for g/gtest 2019-04-04 22:52:56 +08:00
hailaz
dc6ab820ce 修复解析日期函数(parseDateStr)对"02.jan.2006"格式日期解析异常的问题。
更正函数(isNumeric)的注释。
2019-04-04 17:57:17 +08:00
肖有益
be0fa4d60b gregex_unit_test 2019-04-04 17:45:04 +08:00
肖有益
a86d2272af gregex_unit_test 2019-04-04 16:15:50 +08:00
John
08550d413e update unit test cases for gcfg 2019-04-04 09:18:43 +08:00
John
b89294561b add gmap.SetIfNotExistFunc/SetIfNotExistFuncLock for gmap; update comment of gmap; update instance feature of gcfg 2019-04-03 23:39:31 +08:00
John
630d8fdb43 add Instance function for gcfg 2019-04-03 09:59:15 +08:00
John
0e0f297a3f add consurrent safety parameter for gjson.Load/LoadContent; fulfil data type auto-check logics for gjson.LoadConetnt; update comment of gjson/gparser 2019-04-02 23:33:27 +08:00
John Guo
fd2c0f2b24
Merge pull request #59 from wenzi1/master
修复gxml字符集转换的并发安全问题
2019-04-02 17:43:19 +08:00
John
ecc6e3888d up 2019-04-02 17:10:21 +08:00
John
47c073aaf3 add Clear function for gcfg; mark Reload function of gcfg as deprecated; update unit test for gins 2019-04-02 16:08:46 +08:00
John
07476a4349 add instance management feature for gdb/gredis; add customized configuration content management feature for gcfg; update gjson for data content type check 2019-04-02 14:37:46 +08:00
wenzi1
817148f3a1 增加单元测试 2019-04-01 18:32:37 +08:00
wenzi1
bd4271cd8c 增加gxml的单元测试 2019-03-31 23:36:11 +08:00
John
a3886c2179 fix issue in RemoteAddr of gudp.Conn 2019-03-31 20:58:31 +08:00
John
f258b5bf1c change logging level from error to debug in route regitsry for struct for ghttp package; handle possible overrange usage of r.URL.Path in ghttp.Server 2019-03-31 20:52:30 +08:00
wenzi1
a05361011f 修复并发安全问题,改为如果非UTF8字符集则先做字符集转换 2019-03-30 23:53:42 +08:00
wenzi1
6b34a77251 修复并发安全问题,改为如果非UTF8字符集则先做字符集转换 2019-03-30 23:39:07 +08:00
John
22fa7a37f3 add UseNumber support for gjson; add more unit test cases for gjson 2019-03-28 17:51:05 +08:00
John
6a58bfc574 add stdout printing support for ghttp.Server logging 2019-03-28 09:34:16 +08:00
John
64124c60fc add fatal error when no router set or statis feature enabled for ghttp.Server 2019-03-27 16:23:35 +08:00
John
9a0066de62 add file/folder search support for gcfg/gview in order of envpath/pwdpath/binpath/mainpath; add gfile.Search function 2019-03-27 11:48:53 +08:00
John
22c7c7403b fix issue in basic http auth check for server side 2019-03-27 09:16:23 +08:00
John
83db8e4b15 add wss example for websocket 2019-03-22 17:26:39 +08:00
John
1325a145d8 fix issue in config auto reload of gcfg 2019-03-22 15:08:43 +08:00
John
9bc49c0b29 add logging for error in ghttp.Request 2019-03-22 14:31:02 +08:00
John
8e84e5b0f3 update comment of gredis 2019-03-22 11:22:03 +08:00
John
51bb7a9854 ignore private attribute of struct in gconv/gvalid 2019-03-22 10:12:15 +08:00
John
62580b5719 add examples for gredis 2019-03-21 23:51:57 +08:00
John
15cfd5ce5c add g.Export 2019-03-21 18:21:53 +08:00
John
11c89c4090 fix issue in GetOrSetFuncLock of gmap/gcache; add gutil.IsEmpty/Export functions 2019-03-21 18:20:20 +08:00
John
32f575eddd update unit test of gins 2019-03-21 10:36:24 +08:00
John
fbb4cb3b1c add more unit test cases for gredis 2019-03-21 10:04:53 +08:00
John
c9d2d5e8ab add configuration support for maxIdle/maxActive/idleTimeout/maxConnLifetime of gredis; update gjson.Append/Len functions; add more unit test cases for gredis/gins/gstr/gjson 2019-03-21 00:14:23 +08:00
John
80e0eae6b0 add TLSConfig support for ghttp.Server 2019-03-19 17:48:37 +08:00
John
4e3d735b90 add logging for gcron 2019-03-19 13:58:18 +08:00
John
60e5a7da28 add more unit test cases for grand/gstr 2019-03-18 23:52:25 +08:00
John
5a82d695c1 mv greuseport to a new repo 2019-03-18 13:56:16 +08:00
John
72eeadd9aa Merge branch 'master' into develop 2019-03-17 22:31:15 +08:00
John
0af55794f6 add more unit test cases for gdb 2019-03-17 22:26:41 +08:00
John
25a6c53533 add unit test cases for gfsnotify 2019-03-15 14:54:01 +08:00
John
9f9172c775 update unit test cases of package gconv 2019-03-15 09:05:56 +08:00
John
320e0db417 fix int-overflow issue in gconv.String when converting int64 to string; add more unit test cases for package gconv 2019-03-15 00:22:39 +08:00
John
cb8362d447 update unit test cases of package gins 2019-03-14 23:28:56 +08:00
John
45a83fc53c unit test cases update for package gins 2019-03-14 00:23:46 +08:00
John
3411bd1c1d merge master 2019-03-13 22:41:00 +08:00
John
6ab0a77364 add more defaulr searching paths for g.Config() 2019-03-13 22:12:59 +08:00
John
281bae4116 unit test cases update for package gins 2019-03-13 09:11:50 +08:00
John
218c692fe0 update unit test cases 2019-03-12 23:56:09 +08:00
John
fa69b581e1 update unit test cases 2019-03-12 23:50:30 +08:00
John
bd0baceeca update unit test cases 2019-03-12 23:47:27 +08:00
John
e71c837472 update unit test cases 2019-03-12 23:45:44 +08:00
John
782aaabd07 add more unit test cases for gins; update text/template for gview 2019-03-12 23:26:10 +08:00
John
8ae9276732 add disable cache feature option for package gspath 2019-03-12 00:24:31 +08:00
John
79a3aa5916 add more unit test cases for package gvalid 2019-03-11 22:58:21 +08:00
John
6171c621a7 fix issue in missing customed error messages in package gvalid 2019-03-11 22:33:20 +08:00
John
127fb67185 add session id check in session object initialzing 2019-03-11 16:33:51 +08:00
John
5db039bbce gdb.Model updates, rename Alterable function to Safe, change gdb.Model alterable in default, update Where function to support more cases when using map as its param, add more unit test cases for gdb.Model 2019-03-11 16:14:55 +08:00
John
8a3365d18e ghttp comment updates 2019-03-10 00:39:34 +08:00
John
2ae5b1a4f8 add more unit test cases for ghttp.Server 2019-03-10 00:35:03 +08:00
John
b56679a97c revert g.Map to map[string]interface{}, add g.MapAnyAny 2019-03-09 10:17:21 +08:00
John
991f7c4958 ghttp.Response updates 2019-03-08 19:03:22 +08:00
John
770619c39e update unit test cases og gcron 2019-03-08 18:27:11 +08:00
John
4ad5450b80 gtest updates; remove one unit test case of gconv.Struct 2019-03-08 18:18:29 +08:00
John
49ce7fe885 fix data race issue of gqueue 2019-03-08 17:54:50 +08:00
John
e66f63262b add more unit test cases for ghttp.Server 2019-03-08 17:31:30 +08:00
John
94bd5da68a add map key operator support in Where function for gdb 2019-03-08 11:12:52 +08:00
John
5c638c630a add select in support for slice type of arguments in Where function of gdb 2019-03-08 10:33:36 +08:00
John
a6ec9d7a1c update gdb.Model.Where, orverwrite args if multiple calls Where function 2019-03-08 10:18:38 +08:00
John
22a7ef43ce Merge branch 'master' into develop 2019-03-08 00:21:52 +08:00
John
ebf56a86ab add Alterable function for gdb.Model 2019-03-07 23:53:56 +08:00
John
2ba59e8943 fix issue in gtime convert in package gconv; add Structs/Scan functions for gdb.Model; add GetStructs/GetScan functions for gdb.Base and gdb.TX 2019-03-07 23:36:45 +08:00
John
83be1de04c remove error returns from router registry functions of WebServer; add more unit test cases for WebServer 2019-03-06 15:21:00 +08:00
John
c8251ed82f g.Map updates 2019-03-06 10:38:50 +08:00