Skip to content

Commit 546ca73

Browse files
authored
Merge pull request #49 from bxparks/develop
1.3 - unitduino emulation on Linux and MacOS
2 parents f4985bc + e0b35dd commit 546ca73

File tree

134 files changed

+4014
-700
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

134 files changed

+4014
-700
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# Changelog
22

3+
* Unreleased
4+
* 1.3 (2019-06-15)
5+
* Remove direct creation of `String` object, removing last remaining dynamic
6+
allocation of heap memory from library.
7+
* Add experimental implementation of `unitduino`, an Anduino emulation
8+
layer that allows AUnit tests to compile and run on Linux and MacOS.
9+
* Fix broken compile of print64.cpp on ESP8266 Arduino Core 2.5.1.
10+
* Use `class` instead of `struct` in the various `test()` macros when
11+
creating subclasses for each test. Fixes warnings about mismatch between
12+
'struct' and 'class' in clang++ when forward declaring the tests in code
13+
that gives access to private members to tests.
314
* 1.2.1 (2018-12-22)
415
* Add support for 64-bit integers (`long long` and `unsigned long long`)
516
for various `assertXxx()` statements. Exceptions are: `assertNear()` and

README.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ AVR, ESP8266, ESP32 and Teensy platforms. The sister AUniter project provides
99
command line tools to verify, upload and validate the unit tests. The AUniter
1010
tools can be used in a continuous integration system like Jenkins.
1111

12-
Version: 1.2.1 (2018-12-22)
12+
Version: 1.3 (2018-06-15)
1313

1414
[![AUniter Jenkins Badge](https://us-central1-xparks2018.cloudfunctions.net/badge?project=AUnit)](https://github.com/bxparks/AUniter)
1515

@@ -121,6 +121,9 @@ Here are the features in AUnit which are not available in ArduinoUnit 2.2:
121121
* Test filters support 2-arguments, matching `testF()` and `testingF()`:
122122
* `TestRunner::include(testClass, name)`
123123
* `TestRunner::exclude(testClass, name)`
124+
* No dynamic allocation of heap memory:
125+
* The library does not create a `String` object.
126+
* It reads from a `String` if the calling code provides it.
124127
* Terse and verbose modes:
125128
* `#include <AUnit.h>` - terse messages use less flash memory
126129
* `#include <AUnitVerbose.h>` - verbose messages use more flash memory
@@ -1527,12 +1530,11 @@ I will occasionally test on the following hardware as a sanity check:
15271530
## Feedback and Support
15281531

15291532
If you have any questions, comments, bug reports, or feature requests, please
1530-
file a GitHub ticket or send me an email. I'd love to hear about how this
1531-
software and its documentation can be improved. Instead of forking the
1532-
repository to modify or add a feature for your own projects, let me have a
1533-
chance to incorporate the change into the main repository so that your external
1534-
dependencies are simpler and so that others can benefit. I can't promise that I
1535-
will incorporate everything, but I will give your ideas serious consideration.
1533+
file a GitHub ticket instead of emailing me unless the content is sensitive.
1534+
(The problem with email is that I cannot reference the email conversation when
1535+
other people ask similar questions later.) I'd love to hear about how this
1536+
software and its documentation can be improved. I can't promise that I will
1537+
incorporate everything, but I will give your ideas serious consideration.
15361538

15371539
## Authors
15381540

docs/doxygen.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ PROJECT_NAME = "AUnit"
3838
# could be handy for archiving the generated documentation or if some version
3939
# control system is used.
4040

41-
PROJECT_NUMBER = 1.2.1
41+
PROJECT_NUMBER = 1.3
4242

4343
# Using the PROJECT_BRIEF tag one can provide an optional one line description
4444
# for a project that appears at the top of each page and should give viewer a

docs/html/AUnitVerbose_8h.html

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<tr style="height: 56px;">
2323
<td id="projectalign" style="padding-left: 0.5em;">
2424
<div id="projectname">AUnit
25-
&#160;<span id="projectnumber">1.2.1</span>
25+
&#160;<span id="projectnumber">1.3</span>
2626
</div>
2727
<div id="projectbrief">Unit testing framework for Arduino platforms inspired by ArduinoUnit and Google Test.</div>
2828
</td>
@@ -114,8 +114,11 @@
114114
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
115115
Macros</h2></td></tr>
116116
<tr class="memitem:a87cbb10969eff63f8ae66afc4e9457eb"><td class="memItemLeft" align="right" valign="top"><a id="a87cbb10969eff63f8ae66afc4e9457eb"></a>
117-
#define&#160;</td><td class="memItemRight" valign="bottom"><b>AUNIT_VERSION</b>&#160;&#160;&#160;010201</td></tr>
117+
#define&#160;</td><td class="memItemRight" valign="bottom"><b>AUNIT_VERSION</b>&#160;&#160;&#160;010300</td></tr>
118118
<tr class="separator:a87cbb10969eff63f8ae66afc4e9457eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
119+
<tr class="memitem:a70ade1487f0d9d7172f24897cd0f2dd5"><td class="memItemLeft" align="right" valign="top"><a id="a70ade1487f0d9d7172f24897cd0f2dd5"></a>
120+
#define&#160;</td><td class="memItemRight" valign="bottom"><b>AUNIT_VERSION_STRING</b>&#160;&#160;&#160;&quot;1.3&quot;</td></tr>
121+
<tr class="separator:a70ade1487f0d9d7172f24897cd0f2dd5"><td class="memSeparator" colspan="2">&#160;</td></tr>
119122
</table>
120123
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
121124
<div class="textblock"><p>Same as <a class="el" href="AUnit_8h.html" title="Same as AUnitVerbose.h except that the terse versions of the various assertXxx() macros are provided...">AUnit.h</a> except that the verbose versions of the various assertXxx() macros are provided. </p>

0 commit comments

Comments
 (0)