Skip to content
This repository was archived by the owner on Mar 25, 2021. It is now read-only.

Added Class and Tests for Serial #10

Merged
merged 8 commits into from
Nov 4, 2020

Conversation

khalilxl
Copy link
Contributor

@khalilxl khalilxl commented Nov 2, 2020

Had some trouble running tests because of Blink.cpp

@@ -0,0 +1,5 @@
{
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It doesn't seem that this file association should be necessary. In any case, please update .gitignore to remove lines 4-7 so that this isn't part of your PR.

assertEqual("btest:\r\ntest:3\r\n", state->serialPort[0].dataOut);
}

unittest_main()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should have tests for each of the public API functions. It wouldn't take much to add a few more.

khalilxlj and others added 5 commits November 3, 2020 16:43
Finish tests and reset output between each.
Refactor DateTime to add zeros and use helper function.
Copy link
Member

@prestoncarman prestoncarman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Thanks for adding all the tests.

@jgfoster jgfoster merged commit 9acb47f into Open-Acidification:master Nov 4, 2020
jgfoster pushed a commit that referenced this pull request Nov 5, 2020
* Add Devices directory with stub of LiquidCrystal_TC (#6)

Add LiquidCrystal_TC stub class and devices directory.

* Set theme jekyll-theme-slate

* Update index.md (#12)

The start of using github pages as documentation.

* Move scripts into scripts directory. (#13)

* Added Class and Tests for Serial (#10)

Co-authored-by: Khalil Llewellyn <[email protected]>
Co-authored-by: James Foster <[email protected]>

Co-authored-by: Preston Carman <[email protected]>
Co-authored-by: Preston Carman <[email protected]>
Co-authored-by: khalilxl <[email protected]>
Co-authored-by: Khalil Llewellyn <[email protected]>
jgfoster pushed a commit that referenced this pull request Nov 16, 2020
Allow for further testing/development of EEPROM
* Add Devices directory with stub of LiquidCrystal_TC (#6)
* Add LiquidCrystal_TC stub class and devices directory.
* Set theme jekyll-theme-slate
* Update index.md (#12)
* The start of using github pages as documentation.
* Move scripts into scripts directory. (#13)
* Added Class and Tests for Serial (#10)
* Use custom `arduino_ci` with fixes we need (#17)
* Explicitly install libraries (#18)
* Meeting notes.
* Documentation using Doxygen (#20)
* Saving automated documentation to gh-pages branch using Doxygen
* Restrict to pushing documentation to changes on master
* Updating comments for Doxygen (#21)
* Fixed formatting
* Update to latest `arduino_ci`; cleanup library install
* Change check for are we in CI to not rely on (missing) `ARDUINO_CI` macro.

Co-authored-by: Preston Carman <[email protected]>
Co-authored-by: Preston Carman <[email protected]>
Co-authored-by: James Foster <[email protected]>
Co-authored-by: Khalil Llewellyn <[email protected]>
Co-authored-by: khalilxl <[email protected]>
@prestoncarman
Copy link
Member

@all-contributors please add @khalilxl for code

@allcontributors
Copy link
Contributor

@prestoncarman

I've put up a pull request to add @khalilxl! 🎉

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants