Skip to content

Commit 660b90b

Browse files
committed
Updated wsjcpp-core to v0.1.0
1 parent a8b7626 commit 660b90b

17 files changed

+487
-232
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ or include this files:
2828
2929
void main() {
3030
std::string sSource = "some123";
31-
std::string sSha1 = WSJCppHashes::sha1_calc_hex(sSource);
32-
std::string sMd5 = WSJCppHashes::md5_calc_hex(sSource);
31+
std::string sSha1 = WsjcppHashes::sha1_calc_hex(sSource);
32+
std::string sMd5 = WsjcppHashes::md5_calc_hex(sSource);
3333
std::cout << "sha1('" << sSource << "') = " << sSha1 << std::endl;
3434
std::cout << "md5('" << sSource << "') = " << sMd5 << std::endl;
3535
}

src.wsjcpp/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ set (WSJCPP_SOURCES "")
1717
find_package(Threads REQUIRED)
1818
list (APPEND WSJCPP_LIBRARIES ${CMAKE_THREAD_LIBS_INIT})
1919

20-
# wsjcpp-core:v0.0.4
20+
# wsjcpp-core:v0.1.0
2121
list (APPEND WSJCPP_INCLUDE_DIRS "./src.wsjcpp/wsjcpp_core/")
2222
list (APPEND WSJCPP_SOURCES "./src.wsjcpp/wsjcpp_core/wsjcpp_core.cpp")
2323
list (APPEND WSJCPP_SOURCES "./src.wsjcpp/wsjcpp_core/wsjcpp_core.h")

src.wsjcpp/wsjcpp_core/wsjcpp.hold.yml

Lines changed: 26 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ cmake_cxx_standard: 11
33
cmake_minimum_required: 3.0
44

55
name: wsjcpp-core
6-
version: v0.0.4
6+
version: v0.1.0
77
description: Basic Utils for wsjcpp
88
issues: https://github.com/wsjcpp/wsjcpp-core/issues
99
repositories:
@@ -17,30 +17,22 @@ authors:
1717
- name: Evgenii Sopov
1818
1919

20-
required-libraries:
21-
- pthread
22-
2320
distribution:
2421
- source-file: src/wsjcpp_core.cpp
2522
target-file: wsjcpp_core.cpp
26-
sha1: "a80af85d404179f9514990e59696287810ead4eb"
2723
type: "source-code"
2824
- source-file: src/wsjcpp_core.h
2925
target-file: wsjcpp_core.h
30-
sha1: "a8a5197a0b6f6230cd8f75ee536bb590ed61125a"
31-
type: "source-code"
26+
type: "source-code" # todo must be header-file
3227
- source-file: "src/wsjcpp_unit_tests.cpp"
3328
target-file: "wsjcpp_unit_tests.cpp"
3429
type: "unit-tests"
35-
sha1: "4208e039ec2923636655b3ada79ec223cca7bae2"
3630
- source-file: "src/wsjcpp_unit_tests.h"
3731
target-file: "wsjcpp_unit_tests.h"
3832
type: "unit-tests"
39-
sha1: "8d2ec886f23161a639bb2419bb5e4af48278f18b"
4033
- source-file: "src/wsjcpp_unit_tests_main.cpp"
4134
target-file: "wsjcpp_unit_tests_main.cpp"
4235
type: "unit-tests"
43-
sha1: "2c02fb58f51687eeac2076096b7df698cc246c9d"
4436

4537
unit-tests:
4638
cases:
@@ -50,9 +42,29 @@ unit-tests:
5042
description: Check test generate uuid function
5143
- name: CoreExtractFilename
5244
description: Check function extract filenane from path
53-
- name: IpV4
54-
description: Check function isIPv4
55-
- name: IpV6
56-
description: Check function isIPv6
5745
- name: "ToUpper"
5846
description: "String to upper"
47+
- name: "CreateUuid"
48+
description: "Test generation uuids"
49+
- name: "GetEnv"
50+
description: "Test getEnv function"
51+
- name: "ToLower"
52+
description: "Test toLower"
53+
- name: "ReplaceAll"
54+
description: "Test replace all"
55+
- name: "DecodeUriComponent"
56+
description: "Check decoding"
57+
- name: "EncodeUriComponent"
58+
description: "Check encoding"
59+
- name: "Uint2HexString"
60+
description: "Test convert unsigned int to hex string"
61+
- name: "Split"
62+
description: "Test split function"
63+
- name: "CreateEmptyFile"
64+
description: "Test create empty file"
65+
- name: "ReadFileToBuffer"
66+
description: "test for readFileToBuffer"
67+
- name: "Join"
68+
description: "Test join function"
69+
- name: "getHumanSizeBytes"
70+
description: "Test function get human size in bytes"

0 commit comments

Comments
 (0)