-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #67 from cmushroom/dev
3.1.0
- Loading branch information
Showing
51 changed files
with
868 additions
and
886 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"latestVersionNum": 30, | ||
"latestVersion": "3.0.0", | ||
"latestVersionNum": 31, | ||
"latestVersion": "3.1.0", | ||
"updateType": "hint", | ||
"releaseNotes": "1. 升级TCA,使用Reducer重写store 部分。\n2. 增加快速分页模式, 在查询结果数据量较大情况时,优化查询性能。" | ||
"releaseNotes": "1. 增加批量删除功能。\n2. 编辑器样式调整。\n3. 修复查询空时, table select index 数值异常问题。 \n4. 刷新按钮时使用当前查询关键字。 \n5. 修复查询空时, table select index 数值异常问题。\n6. 优化查询时loading中断问题。\n7. 使用async优化确认框。" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
// | ||
// RedisKeysStoreTest.swift | ||
// Tests | ||
// | ||
// Created by chengpan on 2024/1/1. | ||
// | ||
|
||
@testable import redis_pro | ||
import Foundation | ||
import XCTest | ||
import ComposableArchitecture | ||
|
||
@MainActor | ||
class RedisKeysStoreTests: StoreBaseTests { | ||
func testBasics() async { | ||
let store = TestStore(initialState: RedisKeysStore.State()) { | ||
RedisKeysStore() | ||
} withDependencies: { | ||
$0.redisClient = redisClient | ||
} | ||
|
||
|
||
await redisClient.set("__keys_del_str_1", value: UUID.init().uuidString) | ||
await redisClient.set("__keys_del_str_2", value: UUID.init().uuidString) | ||
await redisClient.set("__keys_del_str_3", value: UUID.init().uuidString) | ||
await redisClient.set("__keys_del_str_4", value: UUID.init().uuidString) | ||
await redisClient.set("__keys_del_str_5", value: UUID.init().uuidString) | ||
await store.send(.search("__keys_del_str_*")) | ||
|
||
// await store.receive(\.setKeys) | ||
|
||
XCTAssertEqual(store.state.tableState.datasource.count, 5) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+138 KB
(110%)
...deproj/project.xcworkspace/xcuserdata/chengpan.xcuserdatad/UserInterfaceState.xcuserstate
Binary file not shown.
Oops, something went wrong.