NINJA-IDE

Module: test_file_handling_nfile.py API

No description.


Class: NfileTestCase(unittest.TestCase)

class NfileTestCase(unittest.TestCase):
Test Nfile API works

Function: get_temp_file_name() [at ln:51]

def get_temp_file_name():
tempfile seems to lack a proper way to obtain disposable filenames

Function: setUp() [at ln:35]

def setUp():


Function: tearDown() [at ln:43]

def tearDown():


Function: test_actual_content_is_saved() [at ln:84]

def test_actual_content_is_saved():

No description.


Function: test_copy_flag_prevets_filepath_change() [at ln:128]

def test_copy_flag_prevets_filepath_change():

No description.


Function: test_copy_flag_saves_to_path_only() [at ln:140]

def test_copy_flag_saves_to_path_only():

No description.


Function: test_creates_if_doesnt_exist() [at ln:77]

def test_creates_if_doesnt_exist():

No description.


Function: test_file_is_moved() [at ln:170]

def test_file_is_moved():

No description.


Function: test_file_is_read_properly() [at ln:152]

def test_file_is_read_properly():

No description.


Function: test_file_read_blows_on_nonexistent_file() [at ln:165]

def test_file_read_blows_on_nonexistent_file():

No description.


Function: test_file_read_blows_when_nonexistent_path() [at ln:161]

def test_file_read_blows_when_nonexistent_path():

No description.


Function: test_filepath_changes_even_if_inexistent() [at ln:197]

def test_filepath_changes_even_if_inexistent():

No description.


Function: test_knows_if_desnt_exists() [at ln:64]

def test_knows_if_desnt_exists():
If the file does not exists, can NFile tell?

Function: test_knows_if_exists() [at ln:59]

def test_knows_if_exists():
If the file exists, can NFile tell?

Function: test_move_changes_filepath() [at ln:185]

def test_move_changes_filepath():

No description.


Function: test_path_is_set_as_new_filepath() [at ln:116]

def test_path_is_set_as_new_filepath():

No description.


Function: test_path_overrides_filepath() [at ln:102]

def test_path_overrides_filepath():

No description.


Function: test_save_no_filename_raises() [at ln:70]

def test_save_no_filename_raises():
If there is no filename associated to the nfile we
should get error

Function: test_saves_to_filepath() [at ln:94]

def test_saves_to_filepath():

No description.

Contents © 2013 NINJA-IDE - Powered by Nikola and Documentor