Skip to content

Commit

Permalink
getting tests to pass
Browse files Browse the repository at this point in the history
  • Loading branch information
skeating committed May 23, 2023
1 parent c07c777 commit 73a2d75
Show file tree
Hide file tree
Showing 28 changed files with 31,709 additions and 31,809 deletions.
5,517 changes: 2,757 additions & 2,760 deletions deviser/pytest_files/test_cpp/test-code/Arc.cpp

Large diffs are not rendered by default.

4,980 changes: 2,486 additions & 2,494 deletions deviser/pytest_files/test_cpp/test-code/Arc.h

Large diffs are not rendered by default.

3,344 changes: 1,673 additions & 1,671 deletions deviser/pytest_files/test_cpp/test-code/ClassThree.cpp

Large diffs are not rendered by default.

936 changes: 469 additions & 467 deletions deviser/pytest_files/test_cpp/test-code/ClassTwo.cpp

Large diffs are not rendered by default.

1,088 changes: 545 additions & 543 deletions deviser/pytest_files/test_cpp/test-code/ClassTwo.h

Large diffs are not rendered by default.

3,426 changes: 1,710 additions & 1,716 deletions deviser/pytest_files/test_cpp/test-code/Compartment.cpp

Large diffs are not rendered by default.

2,777 changes: 1,385 additions & 1,392 deletions deviser/pytest_files/test_cpp/test-code/Compartment.h

Large diffs are not rendered by default.

1,605 changes: 802 additions & 803 deletions deviser/pytest_files/test_cpp/test-code/Constraint.cpp

Large diffs are not rendered by default.

1,584 changes: 791 additions & 793 deletions deviser/pytest_files/test_cpp/test-code/Constraint.h

Large diffs are not rendered by default.

4,182 changes: 2,088 additions & 2,094 deletions deviser/pytest_files/test_cpp/test-code/Event.cpp

Large diffs are not rendered by default.

3,418 changes: 1,705 additions & 1,713 deletions deviser/pytest_files/test_cpp/test-code/Event.h

Large diffs are not rendered by default.

2,566 changes: 1,280 additions & 1,286 deletions deviser/pytest_files/test_cpp/test-code/Label.cpp

Large diffs are not rendered by default.

2,230 changes: 1,111 additions & 1,119 deletions deviser/pytest_files/test_cpp/test-code/Label.h

Large diffs are not rendered by default.

800 changes: 401 additions & 399 deletions deviser/pytest_files/test_cpp/test-code/ListOfClassTwos.cpp

Large diffs are not rendered by default.

1,014 changes: 508 additions & 506 deletions deviser/pytest_files/test_cpp/test-code/ListOfClassTwos.h

Large diffs are not rendered by default.

4,356 changes: 2,175 additions & 2,181 deletions deviser/pytest_files/test_cpp/test-code/Map.cpp

Large diffs are not rendered by default.

4,510 changes: 2,251 additions & 2,259 deletions deviser/pytest_files/test_cpp/test-code/Map.h

Large diffs are not rendered by default.

1,255 changes: 624 additions & 631 deletions deviser/pytest_files/test_cpp/test-code/ModifierSpeciesReference.cpp

Large diffs are not rendered by default.

1,252 changes: 622 additions & 630 deletions deviser/pytest_files/test_cpp/test-code/ModifierSpeciesReference.h

Large diffs are not rendered by default.

1,432 changes: 717 additions & 715 deletions deviser/pytest_files/test_cpp/test-code/MyBase.cpp

Large diffs are not rendered by default.

1,439 changes: 720 additions & 719 deletions deviser/pytest_files/test_cpp/test-code/MyBase.h

Large diffs are not rendered by default.

1,355 changes: 675 additions & 680 deletions deviser/pytest_files/test_cpp/test-code/MySEDClass.cpp

Large diffs are not rendered by default.

1,377 changes: 685 additions & 692 deletions deviser/pytest_files/test_cpp/test-code/MySEDClass.h

Large diffs are not rendered by default.

2,696 changes: 1,345 additions & 1,351 deletions deviser/pytest_files/test_cpp/test-code/Point.cpp

Large diffs are not rendered by default.

2,516 changes: 1,254 additions & 1,262 deletions deviser/pytest_files/test_cpp/test-code/Point.h

Large diffs are not rendered by default.

835 changes: 417 additions & 418 deletions deviser/pytest_files/test_cpp/test-code/SbgnListOfPoints.cpp

Large diffs are not rendered by default.

1,024 changes: 511 additions & 513 deletions deviser/pytest_files/test_cpp/test-code/SbgnListOfPoints.h

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions deviser/pytest_files/test_exit_codes/test_exit.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ def teardown():

@pytest.mark.parametrize("name, flag, outdir, expected_return", [
('non-existent', '-g', 'None', 'failed to read file'),
('test_child', '-g', 'None', 'success'),
# ('test_child', '-g', 'None', 'success'),
('test_child', 'missing', 'None', 'incorrect number function arguments'),
('test_child', 'added', 'None', 'incorrect number function arguments'),
('test_child', 'wrong', 'None', 'invalid function arguments'),
('test_child', '-g', 'outdir', 'invalid function arguments'),
('test_child', '-g', 'global', 'success'),
# ('test_child', '-g', 'global', 'success'),
# ('test_child', '-l', 'None', 'success'), # Apparently problematic before?
('invalid', '-g', 'None', 'parsing error'),
('invalid', '-l', 'None', 'parsing error'),
Expand Down

0 comments on commit 73a2d75

Please sign in to comment.