[Git] Rework GitChangeProviderTest
authorKirill Likhodedov <kirill.likhodedov@jetbrains.com>
Wed, 18 May 2011 14:50:10 +0000 (18:50 +0400)
committerKirill Likhodedov <kirill.likhodedov@jetbrains.com>
Thu, 19 May 2011 07:42:30 +0000 (11:42 +0400)
commitdb4c73f73725bbbfe6349e0e4e555530efa2ef1f
treed8c50e001bbd456999e565463bb77470a0b54d03
parent0480bcf54f60b36c800eef217b75800f48959caa
[Git] Rework GitChangeProviderTest

+use MockDirtyScope,
* add to dirty scope correctly,
+testMoveNewFile
+tos()-methods for more descriptive output.
*add random string when creating files to avoid Git rename detection.
platform/testFramework/src/com/intellij/testFramework/vcs/MockDirtyScope.java [new file with mode: 0644]
plugins/git4idea/tests/git4idea/tests/GitChangeProviderTest.java
plugins/git4idea/tests/git4idea/tests/GitTest.java
plugins/git4idea/tests/git4idea/tests/GitTestUtil.java