From 7707c6ff31457837747687520a0cd82e10f0f7ab Mon Sep 17 00:00:00 2001 From: Shawn Silverman Date: Tue, 28 Nov 2017 17:30:29 -0800 Subject: [PATCH] Moving the tests to a folder named 'src_tests' for now. This makes it easier to directly reference this project as an Arduino and PlatformIO library. Also updating the library version to 1.3.1. --- CHANGELOG.md | 10 ++++++++-- library.properties | 2 +- {src => src_tests}/tests.cpp | 0 {src => src_tests}/tests.h | 0 {src => src_tests}/tests/api.inc | 0 {src => src_tests}/tests/array.inc | 0 {src => src_tests}/tests/bytes.inc | 0 {src => src_tests}/tests/floating_point.inc | 0 {src => src_tests}/tests/int.inc | 0 {src => src_tests}/tests/map.inc | 0 {src => src_tests}/tests/negative.inc | 0 {src => src_tests}/tests/parsing.inc | 0 {src => src_tests}/tests/simple_value.inc | 0 {src => src_tests}/tests/stream.inc | 0 {src => src_tests}/tests/syntax.inc | 0 {src => src_tests}/tests/tag.inc | 0 {src => src_tests}/tests/unsigned.inc | 0 {src => src_tests}/tests/well_formed.inc | 0 {src => src_tests}/tests/write.inc | 0 19 files changed, 9 insertions(+), 3 deletions(-) rename {src => src_tests}/tests.cpp (100%) rename {src => src_tests}/tests.h (100%) rename {src => src_tests}/tests/api.inc (100%) rename {src => src_tests}/tests/array.inc (100%) rename {src => src_tests}/tests/bytes.inc (100%) rename {src => src_tests}/tests/floating_point.inc (100%) rename {src => src_tests}/tests/int.inc (100%) rename {src => src_tests}/tests/map.inc (100%) rename {src => src_tests}/tests/negative.inc (100%) rename {src => src_tests}/tests/parsing.inc (100%) rename {src => src_tests}/tests/simple_value.inc (100%) rename {src => src_tests}/tests/stream.inc (100%) rename {src => src_tests}/tests/syntax.inc (100%) rename {src => src_tests}/tests/tag.inc (100%) rename {src => src_tests}/tests/unsigned.inc (100%) rename {src => src_tests}/tests/well_formed.inc (100%) rename {src => src_tests}/tests/write.inc (100%) diff --git a/CHANGELOG.md b/CHANGELOG.md index fdabd8c..ca61cb5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ This document details the changes between each release. +## [1.3.1] + +### Changed +* Moved the tests to a folder named `src_tests` for now. This makes it easier + to directly reference this project as an Arduino and PlatformIO library. + ## [1.3.0] ### Added @@ -38,7 +44,7 @@ This document details the changes between each release. * `Reader::getBoolean()` was allowing certain 1-byte simple values to function as booleans. -# libCBOR v1.2.0 +## libCBOR v1.2.0 This release updates the API to include a way to access the read size and write size, and also makes the Reader and Writer classes implement Stream @@ -47,7 +53,7 @@ implementations now provide a way to access the internal index (or address, in the case of EEPROM), for ease of determining how far reading or writing has progressed. -# First libCBOR release +## First libCBOR release Tag: v1.1.0 diff --git a/library.properties b/library.properties index 9499974..a093995 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=libCBOR -version=1.3.0 +version=1.3.1 author=Shawn Silverman maintainer=Shawn Silverman sentence=A CBOR (RFC 7049) processing library. diff --git a/src/tests.cpp b/src_tests/tests.cpp similarity index 100% rename from src/tests.cpp rename to src_tests/tests.cpp diff --git a/src/tests.h b/src_tests/tests.h similarity index 100% rename from src/tests.h rename to src_tests/tests.h diff --git a/src/tests/api.inc b/src_tests/tests/api.inc similarity index 100% rename from src/tests/api.inc rename to src_tests/tests/api.inc diff --git a/src/tests/array.inc b/src_tests/tests/array.inc similarity index 100% rename from src/tests/array.inc rename to src_tests/tests/array.inc diff --git a/src/tests/bytes.inc b/src_tests/tests/bytes.inc similarity index 100% rename from src/tests/bytes.inc rename to src_tests/tests/bytes.inc diff --git a/src/tests/floating_point.inc b/src_tests/tests/floating_point.inc similarity index 100% rename from src/tests/floating_point.inc rename to src_tests/tests/floating_point.inc diff --git a/src/tests/int.inc b/src_tests/tests/int.inc similarity index 100% rename from src/tests/int.inc rename to src_tests/tests/int.inc diff --git a/src/tests/map.inc b/src_tests/tests/map.inc similarity index 100% rename from src/tests/map.inc rename to src_tests/tests/map.inc diff --git a/src/tests/negative.inc b/src_tests/tests/negative.inc similarity index 100% rename from src/tests/negative.inc rename to src_tests/tests/negative.inc diff --git a/src/tests/parsing.inc b/src_tests/tests/parsing.inc similarity index 100% rename from src/tests/parsing.inc rename to src_tests/tests/parsing.inc diff --git a/src/tests/simple_value.inc b/src_tests/tests/simple_value.inc similarity index 100% rename from src/tests/simple_value.inc rename to src_tests/tests/simple_value.inc diff --git a/src/tests/stream.inc b/src_tests/tests/stream.inc similarity index 100% rename from src/tests/stream.inc rename to src_tests/tests/stream.inc diff --git a/src/tests/syntax.inc b/src_tests/tests/syntax.inc similarity index 100% rename from src/tests/syntax.inc rename to src_tests/tests/syntax.inc diff --git a/src/tests/tag.inc b/src_tests/tests/tag.inc similarity index 100% rename from src/tests/tag.inc rename to src_tests/tests/tag.inc diff --git a/src/tests/unsigned.inc b/src_tests/tests/unsigned.inc similarity index 100% rename from src/tests/unsigned.inc rename to src_tests/tests/unsigned.inc diff --git a/src/tests/well_formed.inc b/src_tests/tests/well_formed.inc similarity index 100% rename from src/tests/well_formed.inc rename to src_tests/tests/well_formed.inc diff --git a/src/tests/write.inc b/src_tests/tests/write.inc similarity index 100% rename from src/tests/write.inc rename to src_tests/tests/write.inc