Changeset 35 for trunk/src/tests_test.erl
- Timestamp:
- 08/22/08 19:01:40 (4 years ago)
- File:
-
- 1 edited
-
trunk/src/tests_test.erl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/tests_test.erl
r34 r35 8 8 9 9 filter_by_attribute () -> 10 filtering_non_tests_returns_empty_list(), 11 filtering_tests_returns_list_of_tests_from_unloaded_binary (), 10 non_tests_returns_empty_list(), 11 test_exports_returns_list_of_tests_from_unloaded_binary (), 12 test_non_exports_also (), 12 13 ok. 13 14 14 filtering_non_tests_returns_empty_list () ->15 non_tests_returns_empty_list () -> 15 16 Binary = modules: to_binary ("../fix/eg_code.erl"), 16 17 {eg_code, []} = tests: filter_by_attribute (Binary). 17 18 18 filtering_tests_returns_list_of_tests_from_unloaded_binary () ->19 test_exports_returns_list_of_tests_from_unloaded_binary () -> 19 20 File = "../fix/eg_test.erl", 20 21 Binary = modules: to_binary (File), … … 22 23 {eg_test, [ok, nok]} = tests: filter_by_attribute (Binary), 23 24 false = code: is_loaded (eg_test). 25 26 test_non_exports_also () -> 27 File = "../fix/eg_test_not_exports.erl", 28 Binary = modules: to_binary (File), 29 false = code: is_loaded (eg_test_not_exports), 30 {eg_test_not_exports, [ok]} = tests: filter_by_attribute (Binary), 31 false = code: is_loaded (eg_test_not_exports).
Note: See TracChangeset
for help on using the changeset viewer.
