Commit Graph

306 Commits

Author SHA1 Message Date
jroam
97d2b9e1f9 Update gqueue_unit_test.go 2019-06-17 11:04:56 +08:00
jroam
0ab60cb770 Update gqueue_unit_test.go 2019-06-16 23:26:49 +08:00
jroam
5b71e92776 Update gqueue_unit_test.go 2019-06-16 23:24:03 +08:00
jroam
211678c7d3 Merge branch 'master' into 测试gqueue 2019-06-16 23:16:18 +08:00
John
98cae011a5 fix issue in gqueue.Close 2019-06-16 23:10:50 +08:00
John
474d1669d9 fix issue in gqueue.Close 2019-06-16 23:00:47 +08:00
John
563a1408ea fix issue in gqueue.Close 2019-06-16 23:00:00 +08:00
jroam
168c08a6f6 Create gqueue_unit_test.go 2019-06-16 22:55:07 +08:00
John
11972ef96c fix issue in gqueue.Close 2019-06-16 22:19:59 +08:00
John
866482a8e8 fix issue in gqueue.Close 2019-06-16 21:52:41 +08:00
John
c342310389 add example for garray/gchan/glist 2019-06-16 20:38:05 +08:00
John
7c234e0437 golint for gvar 2019-06-15 22:06:47 +08:00
John Guo
8a69fd09fc
Merge pull request #185 from hailaz/master 2019-06-15 18:34:34 +08:00
John
c02f502bd8 fix issue in gqueue.Size 2019-06-15 18:30:09 +08:00
John
d5d6b8c303 comment unused gbtree.BTree.isFull function 2019-06-15 18:03:07 +08:00
hailaz
5c592afebe Improve gtree unit testing. 2019-06-15 17:51:48 +08:00
John
fe152dfa63 comment updates for gtree; fix issue in gtree.AVLTree.Remove 2019-06-15 16:53:36 +08:00
jroam
0f1261d0e3 完成glist测试率 2019-06-14 14:58:00 +08:00
John
d068c1418e Merge branch 'master' into develop 2019-06-13 22:40:20 +08:00
John Guo
41db3a32f4
Merge pull request #180 from jroam/master 2019-06-13 22:37:19 +08:00
jroam
b3a00becf3 sort_int恢复成主库代码 2019-06-13 22:18:45 +08:00
jroam
d1d8cd8482 用gofmt格式化代码 2019-06-13 21:44:14 +08:00
John
57b54414d6 merge master 2019-06-13 21:00:14 +08:00
John Guo
4934564b7b
Merge pull request #179 from hailaz/master 2019-06-13 20:32:07 +08:00
jroam
622dbfda31 完成garray测试覆盖率,达90%. 2019-06-13 17:02:30 +08:00
hailaz
5950a3fcc3 gpool unit test. 2019-06-13 11:42:51 +08:00
jroam
e2070e785c
Merge pull request #23 from gogf/master
bug更新
2019-06-12 22:58:08 +08:00
John Guo
905d5abed6
Merge pull request #171 from hailaz/master 2019-06-12 22:56:39 +08:00
jroam
211e06d04d Merge branch 'master' of https://github.com/gogf/gf into gogf-master 2019-06-12 22:56:23 +08:00
John
7aaf9e9228 fix issue in garray.Contains/New*ArrayFromCopy 2019-06-12 22:45:13 +08:00
jroam
a901e7177c 添加garray测试未完成 2019-06-12 22:37:17 +08:00
John
8da204fbd8 remove test file of gchan 2019-06-12 21:10:49 +08:00
jroam
399e47c548 修改测试 2019-06-12 18:14:54 +08:00
hailaz
abdf8e696c gtype unit test use AssertEQ replace Assert. 2019-06-12 17:52:30 +08:00
jroam
cdb9488752 edit tests 2019-06-12 17:14:08 +08:00
jroam
0388113870 Merge branch 'master' of https://github.com/gogf/gf into gogf-master 2019-06-12 17:04:11 +08:00
jroam
c6dfb4d4f8 add some test 2019-06-12 16:52:02 +08:00
hailaz
165330ec68 gchan unit test 2019-06-12 11:21:10 +08:00
John
6e7d08fbfb fix issue in garray.Search 2019-06-12 10:11:54 +08:00
jroam
1ae77f56e5 添加garray测试代码 2019-06-11 23:32:08 +08:00
John
e6d4459992 comment update for gcache 2019-06-11 20:57:43 +08:00
jroam
24bd83feb0 添加一些garray测试代码。 2019-06-11 18:11:17 +08:00
hailaz
3855786905 gtype unit test 2019-06-11 17:49:29 +08:00
jroam
485fe572ff 完成gset模块测试覆盖率90%以上。 2019-06-11 10:51:00 +08:00
jroam
442c658be0 增加gset的测试支持
覆盖率达到85.1%
2019-06-10 23:38:19 +08:00
zdl
d5d14b7efc test gset TestSet_New 2019-06-10 15:49:43 +08:00
John
e400a94ffb improving grpool 2019-06-09 10:33:16 +08:00
John
2bf2f1b822 improve grpool 2019-06-01 15:11:32 +08:00
John
7034e2015e add FormatTo/LayoutTo functions for gtime; use custom ExpireFunc to close poool items when pool is close for gpool 2019-05-29 11:25:11 +08:00
John
41f33af51b add gconv.StructDeep/MapDeep functions for gconv; add struct inherit converting support for gdb 2019-05-28 21:41:00 +08:00
John
aefbfd52e9 add more example for gtree 2019-05-13 22:37:05 +08:00
John
f3f0689bd4 rename LinkMap to ListMap for gmap 2019-05-13 22:26:39 +08:00
John
5198d4c5fc add unit test cases for gtree.AVLTree/BTree 2019-05-12 22:56:13 +08:00
John
123f2d3e4e remove return value from RLockFunc/LockFunc for gset 2019-05-12 21:26:01 +08:00
John
3c750c3c92 copy treemap logics to new file 2019-05-12 21:22:07 +08:00
John
17b29cd19f improve performance for Map/Keys/Values functions for gmap; add unit test cases for gtree.RedBlackTree 2019-05-12 21:11:26 +08:00
John
cf1077bec4 add LinkMap for gmap package 2019-05-12 20:43:52 +08:00
John
4e2e4e95e0 add gmap.HashMap/TreeMap/AnyAnyMap for gmap; add unit test cases for TreeMap 2019-05-11 20:47:25 +08:00
John
664b0c06a6 gjson updates 2019-05-11 17:56:14 +08:00
John
bd4c75a98e add AVLTree container for gtee 2019-05-10 22:29:06 +08:00
John
d35840409b add BTree container for gtree package 2019-05-10 21:31:35 +08:00
John
abaef9ba87 add gtree.RedBlackTree container 2019-05-10 13:38:06 +08:00
John
b15d8bdd2e adding gtree.RedBlackTree 2019-05-09 22:53:42 +08:00
John
718997327a add default value for gcfg.Get* functions; rename gconv.TimeDuration to gconv.Duration, and do corresponding changes to caller packages 2019-05-09 17:14:24 +08:00
John
7cc0c7a1cc rename map type of gmap; rename BatchSet/BatchRemove to Sets/Removes for gmap/gcache 2019-05-08 17:21:18 +08:00
John
4c647aaa19 refacting gmap 2019-05-07 22:28:34 +08:00
John Guo
c109cee7ef
Merge pull request #115 from touzijiao/master
Merge pull request #115 from touzijiao/master
2019-04-26 13:44:51 +08:00
Ziwen Chen
e111d39c54 测试文件 2019-04-26 10:38:27 +08:00
John
66306464e1 add Pop/Pops functions for gset 2019-04-26 08:57:48 +08:00
John
34cb222b33 remove temprary function map parameter for gview when parsing template file and content 2019-04-25 22:14:20 +08:00
John
d39ef156de garray updates 2019-04-24 22:23:32 +08:00
John
f464dc7fb8 add NewFrom/NewIntSetFrom/NewStringSetFrom functions for gset; add more example for gset 2019-04-24 18:52:24 +08:00
John
d29b27a5df add Merge/Sum functions for gset 2019-04-24 18:15:50 +08:00
John Guo
c1aa5eb717
Merge pull request #98 from qq976739120/gmap-test
新增测试方法
2019-04-23 18:56:58 +08:00
Jay
16a4a5ba46 Gmap测试修改 2019-04-16 14:28:25 +08:00
John
2f7d4cd80d fix issue in Add function for gtype.Float32/Float64 2019-04-15 22:55:12 +08:00
Jay
b489eed4ef 新增测试方法 2019-04-12 10:59:05 +08:00
John Guo
e464d14842
Merge pull request #85 from qq976739120/gmap-test
Gmap 测试添加
2019-04-11 21:59:00 +08:00
Jay
905f46359a Gmap string-string 类型测试提交 2019-04-11 17:50:26 +08:00
Jay
8e7bf1f908 bug 修复 2019-04-11 17:46:19 +08:00
Jay
3a1524ae6d Gmap 初测完成 2019-04-11 17:33:52 +08:00
aloncn
ad50ca6e60 update unit test for gring 2019-04-10 14:26:21 +08:00
aloncn
8285c31bf1 Update unit test for gring 2019-04-10 10:44:40 +08:00
aloncn
230be66fa9 update unit test for gring 2019-04-10 10:13:56 +08:00
aloncn
bd0207c938 update unit test for gring 2019-04-10 01:16:45 +08:00
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
Jay
277b7a4536 测试修改 2019-04-09 15:06:12 +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
John
aa4dca11f0 fix issue in gtime; update comment for g/gtest 2019-04-04 22:52:56 +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
11c89c4090 fix issue in GetOrSetFuncLock of gmap/gcache; add gutil.IsEmpty/Export functions 2019-03-21 18:20:20 +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
8ae9276732 add disable cache feature option for package gspath 2019-03-12 00:24:31 +08:00
John
49ce7fe885 fix data race issue of gqueue 2019-03-08 17:54:50 +08:00
John
0f854e46d8 refact Merge function for garray; add more frequently-used type alias for gf 2019-02-22 09:08:46 +08:00
John
4564f38e1a add PopRands/Rands functions for garray 2019-02-20 19:06:08 +08:00
John
d780cf64c2 garray updates 2019-02-20 14:18:11 +08:00