Start Time: 2017-03-27 15:01:37
Duration: 0:00:00.011000
Status: Pass 25
Unit test results
| Test Group/Test case | Count | Pass | Fail | Error | View |
| test_title.SimpleTitleTest: Test Title section | 5 | 5 | 0 | 0 | Detail |
test_bare: Bare section |
pass | ||||
test_empty: Empty section (has section name) |
pass | ||||
test_one_row: One-row title with carriage return |
pass | ||||
test_multi_row: Multiple-row title include empty lines |
pass | ||||
test_rt_before_title: Carriage return before section title |
pass | ||||
| test_options.SimpleOptionsTest: Test Options section | 2 | 2 | 0 | 0 | Detail |
test_get: Test get_text using matches |
pass | ||||
test_setget: Test both set_text and get_text of Options, data from Net1.inp |
pass | ||||
| test_report.SimpleReportTest: Test Report section | 3 | 3 | 0 | 0 | Detail |
test_simple: Test simple report options |
pass | ||||
test_page: Test simple report options with small variation in page setup |
pass | ||||
test_all: Test all report options based on manual P162 |
pass | ||||
| test_patterns.SimplePatternTest: Test one pattern | 2 | 2 | 0 | 0 | Detail |
test_pattern: Test one pattern based on EPANET2 manual |
pass | ||||
test_patterns: Test one Pattern section |
pass | ||||
| test_curves.SimpleCurveTest: Test Curves section | 2 | 2 | 0 | 0 | Detail |
test_curve: Test one curve line |
pass | ||||
test_curves: Test Curves section |
pass | ||||
| test_energy.SimpleEnergyTest: Test Energy section | 2 | 2 | 0 | 0 | Detail |
test_reader_writer: Test EnergyOptionsReader by comparing attributes values |
pass | ||||
test_writer: Test EnergyOptionsWriter |
pass | ||||
| test_demands.SimpleDemandsTest: Test Demands section | 1 | 1 | 0 | 0 | Detail |
runTest: Test set_text and get_text of demand options |
pass | ||||
| test_quality.SimpleQualityTest: Test Quality section | 2 | 2 | 0 | 0 | Detail |
test_get: Test get_text of quality sections |
pass | ||||
test_setget |
pass | ||||
| test_reactions.SimpleReactionsTest: Test Reaction section | 2 | 2 | 0 | 0 | Detail |
test_get: Test ReactionsWriter through match() |
pass | ||||
test_setget: Test set_text and get_text |
pass
pt9.2: Traceback (most recent call last):
File "E:\Project\SWMM\SWMM-EPANET_User_Interface\src\core\project_base.py", line 126, in setattr_keep_type
setattr(self, attr_name, int(attr_value))
ValueError: invalid literal for int() with base 10: '1.3'
Exception setting order_tank: invalid literal for int() with base 10: '1.3'
None
order_tank now = 1.3
Traceback (most recent call last):
File "E:\Project\SWMM\SWMM-EPANET_User_Interface\src\core\project_base.py", line 126, in setattr_keep_type
setattr(self, attr_name, int(attr_value))
ValueError: invalid literal for int() with base 10: '1.1'
Exception setting order_bulk: invalid literal for int() with base 10: '1.1'
None
order_bulk now = 1.1
Traceback (most recent call last):
File "E:\Project\SWMM\SWMM-EPANET_User_Interface\src\core\project_base.py", line 126, in setattr_keep_type
setattr(self, attr_name, int(attr_value))
ValueError: invalid literal for int() with base 10: '1.2'
Exception setting order_wall: invalid literal for int() with base 10: '1.2'
None
order_wall now = 1.2
|
||||
| test_sources.SimpleSourcesTest: Test Sources section | 2 | 2 | 0 | 0 | Detail |
test_row |
pass | ||||
test_section: Test set_text and get_text |
pass | ||||
| test_backdrop.SimpleBackdropTest: Test Backdrop section | 2 | 2 | 0 | 0 | Detail |
test_writer: Test BackdropOptionsWriter by specify attributes |
pass | ||||
test_reader: Test BackdropOptionsReader by reading from file |
pass | ||||
| Total | 25 | 25 | 0 | 0 | |