Changeset 66


Ignore:
Timestamp:
07/14/09 05:54:32 (3 years ago)
Author:
dom
Message:

Compiler can now be stopped.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/compiler_test.erl

    r65 r66  
    99-export ([recompiles_minimally_after_change/0]). 
    1010-export ([stops/0]). 
     11-export ([can_start_empty_and_add_files/0]). 
    1112-include_lib("stdlib/include/ms_transform.hrl"). 
    1213 
     
    3536    ok = fixtures: use_tree (good_erl_tree (), F). 
    3637 
     38can_start_empty_and_add_files () -> 
     39    F = fun can_start_empty_and_add_files/2, 
     40    ok = fixtures: use_tree ([], F). 
     41 
    3742provides_binaries_when_all_compiled (Root, _) -> 
    3843    Compiler = spawn_link (compiler, init, [notify_me (), Root]), 
     
    6065    ok. 
    6166 
     67can_start_empty_and_add_files (Root, []) -> 
     68    nok. 
     69 
    6270%% More tests: 
    63 %% - stops 
    6471%% - empty tree 
    6572%% - add a file 
Note: See TracChangeset for help on using the changeset viewer.