Skip to content

Commit

Permalink
Updated wsjcpp-core
Browse files Browse the repository at this point in the history
  • Loading branch information
sea-kg committed Apr 5, 2020
1 parent ce0e8f4 commit dadacec
Show file tree
Hide file tree
Showing 10 changed files with 469 additions and 193 deletions.
4 changes: 2 additions & 2 deletions src.wsjcpp/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Automaticly generated by wsjcpp@v0.0.1
cmake_minimum_required(VERSION 3.0)

add_definitions(-DWSJCPP_VERSION="v0.0.1")
add_definitions(-DWSJCPP_VERSION="v0.1.0")
add_definitions(-DWSJCPP_NAME="wsjcpp-print-tree")

if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
Expand All @@ -17,7 +17,7 @@ set (WSJCPP_SOURCES "")
find_package(Threads REQUIRED)
list (APPEND WSJCPP_LIBRARIES ${CMAKE_THREAD_LIBS_INIT})

# wsjcpp-core:v0.0.5
# wsjcpp-core:v0.1.1
list (APPEND WSJCPP_INCLUDE_DIRS "./src.wsjcpp/wsjcpp_core/")
list (APPEND WSJCPP_SOURCES "./src.wsjcpp/wsjcpp_core/wsjcpp_core.cpp")
list (APPEND WSJCPP_SOURCES "./src.wsjcpp/wsjcpp_core/wsjcpp_core.h")
Expand Down
32 changes: 23 additions & 9 deletions src.wsjcpp/wsjcpp_core/wsjcpp.hold.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ cmake_cxx_standard: 11
cmake_minimum_required: 3.0

name: wsjcpp-core
version: v0.0.5
version: v0.1.1
description: Basic Utils for wsjcpp
issues: https://github.com/wsjcpp/wsjcpp-core/issues
repositories:
Expand All @@ -17,30 +17,22 @@ authors:
- name: Evgenii Sopov
email: mrseakg@gmail.com

required-libraries:
- pthread

distribution:
- source-file: src/wsjcpp_core.cpp
target-file: wsjcpp_core.cpp
sha1: "d892bfee196af88dcada57b39bc6bd65ce2ce075"
type: "source-code"
- source-file: src/wsjcpp_core.h
target-file: wsjcpp_core.h
sha1: "8f5e7b7ada06814ed123a08e49acffe2e12d398a"
type: "source-code" # todo must be header-file
- source-file: "src/wsjcpp_unit_tests.cpp"
target-file: "wsjcpp_unit_tests.cpp"
type: "unit-tests"
sha1: "4208e039ec2923636655b3ada79ec223cca7bae2"
- source-file: "src/wsjcpp_unit_tests.h"
target-file: "wsjcpp_unit_tests.h"
type: "unit-tests"
sha1: "8d2ec886f23161a639bb2419bb5e4af48278f18b"
- source-file: "src/wsjcpp_unit_tests_main.cpp"
target-file: "wsjcpp_unit_tests_main.cpp"
type: "unit-tests"
sha1: "2c02fb58f51687eeac2076096b7df698cc246c9d"

unit-tests:
cases:
Expand All @@ -54,3 +46,25 @@ unit-tests:
description: "String to upper"
- name: "CreateUuid"
description: "Test generation uuids"
- name: "GetEnv"
description: "Test getEnv function"
- name: "ToLower"
description: "Test toLower"
- name: "ReplaceAll"
description: "Test replace all"
- name: "DecodeUriComponent"
description: "Check decoding"
- name: "EncodeUriComponent"
description: "Check encoding"
- name: "Uint2HexString"
description: "Test convert unsigned int to hex string"
- name: "Split"
description: "Test split function"
- name: "CreateEmptyFile"
description: "Test create empty file"
- name: "ReadFileToBuffer"
description: "test for readFileToBuffer"
- name: "Join"
description: "Test join function"
- name: "getHumanSizeBytes"
description: "Test function get human size in bytes"
Loading

0 comments on commit dadacec

Please sign in to comment.