EgorKulikov / idea-chelper

Automatically exported from code.google.com/p/idea-chelper
112 stars 58 forks source link

Fix issue 'unable to save changed tests' #31

Closed Doxxer closed 9 years ago

Doxxer commented 9 years ago

Issue: unable to save changed test

Steps:

  1. Add task, add tests to task (or parse any contest)
  2. Go to the settings
  3. Change test (disable, add new test, or change input/output data)
  4. Click save
  5. Open TASK**.task file

Act:

  1. File unchanged

Exp:

  1. Test data is changed

Fix: there was exception while writing TASK**.task to the disk 'This file already exists'. There should be findOrCreateFile instead of createFile. Fixed now.

EgorKulikov commented 9 years ago

Already fixed in 3.95