Skip to content

Commit b90159b

Browse files
vkreschjdsika
authored andcommitted
Unit tests comments compliance (#349)
* Implemented unit tests for osi comment compliance and corrected typo for enum Fog. * Test comments only in *.proto files
1 parent 23f5734 commit b90159b

15 files changed

Lines changed: 1226 additions & 332 deletions

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ script:
7272
- cmake -D CMAKE_PREFIX_PATH:PATH=${DEPS_DIR}/protobuf/install -D CMAKE_INSTALL_PREFIX:PATH=${TESTINST_DIR} ..
7373
- cmake --build .
7474
- cd ..
75-
- python test_cases.py
7675
- python setup.py build
7776
- python setup.py sdist
7877
- cd build
@@ -87,7 +86,7 @@ script:
8786
- echo "GENERATE_TREEVIEW = YES" >> Doxyfile
8887
- doxygen
8988
- cd ..
90-
- python test_cases_doc.py
89+
- python -m unittest discover tests
9190
- mv VERSION.SAVED VERSION
9291
- sh convert-to-proto3.sh
9392
- mkdir -p build3

osi_environment.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ message EnvironmentalConditions
140140
{
141141
// Visibility is unknown (must not be used in ground truth).
142142
//
143-
FOG_UNKOWN = 0;
143+
FOG_UNKNOWN = 0;
144144

145145
// Other (unspecified but known) fog intensity.
146146
//

test_cases.py

Lines changed: 0 additions & 290 deletions
This file was deleted.

test_cases_doc.py

Lines changed: 0 additions & 39 deletions
This file was deleted.

tests/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)