Changeset 24
- Timestamp:
- 02/28/08 16:12:12 (4 years ago)
- Location:
- trunk
- Files:
-
- 1 edited
- 2 moved
-
fix/eg_test_fix.erl (moved) (moved from trunk/fix/eg_test_with_fixture.erl) (1 diff)
-
fix/eg_test_fix_nofix.erl (moved) (moved from trunk/fix/eg_test_with_and_without_fixture.erl) (1 diff)
-
src/tests_test.erl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/fix/eg_test_fix.erl
r19 r24 3 3 %%% See file COPYING. 4 4 5 -module (eg_test_ with_fixture).5 -module (eg_test_fix). 6 6 -export ([with_fixture/1, fixture/1]). 7 7 -test ({?MODULE, fixture, [with_fixture]}). -
trunk/fix/eg_test_fix_nofix.erl
r21 r24 1 -module (eg_test_ with_and_without_fixture).1 -module (eg_test_fix_nofix). 2 2 -export([without_fixture/0, fixture/1, with_fixture/1]). 3 3 -test ([exports, {?MODULE, fixture, [with_fixture]}]). -
trunk/src/tests_test.erl
r22 r24 27 27 28 28 filtering_fixtured_tests_returns_list_of_fixture_fun_tuples () -> 29 File_name = "../fix/eg_test_ with_fixture.erl",29 File_name = "../fix/eg_test_fix.erl", 30 30 Test = fun ([{Module, Fixture, Tests}]) -> 31 31 [ok] = Module: Fixture (Tests) 32 32 end, 33 filtering (File_name, eg_test_ with_fixture, Test).33 filtering (File_name, eg_test_fix, Test). 34 34 35 35 filtering_understands_mixed_export_and_fixtured_tests () -> 36 File_name = "../fix/eg_test_ with_and_without_fixture.erl",36 File_name = "../fix/eg_test_fix_nofix.erl", 37 37 Test = fun ([{Module, Fixture, With}, Without]) -> 38 38 {'EXIT', {Reason, _}} = (catch Without ()), … … 40 40 [ok] = Module: Fixture (With) 41 41 end, 42 filtering (File_name, eg_test_ with_and_without_fixture, Test).42 filtering (File_name, eg_test_fix_nofix, Test). 43 43 44 44 filtering (File_name, Module, Test) ->
Note: See TracChangeset
for help on using the changeset viewer.
