OSDN Git Service

Add unit test configuration for moreUnit
authorTor Norbye <tnorbye@google.com>
Wed, 24 Nov 2010 16:25:53 +0000 (08:25 -0800)
committerTor Norbye <tnorbye@google.com>
Wed, 24 Nov 2010 16:25:53 +0000 (08:25 -0800)
Eclipse doesn't have a builtin mechanism to jump between a class and
its test, as well as a way to run tests associated with a given
class. There is however a plugin for this, "moreUnit".

Our projects have split off our unit tests in a separate project,
which requires some per-project configuration to tell moreUnit where
to look for tests. This information has to live with the project
rather than in my workspace, so I'm checking in the configuration file
- it is harmless if you don't have moreUnit but useful if you do.

Change-Id: Id29c46e2eaa89f2ad530c2b24700db28cc823b3b

eclipse/plugins/com.android.ide.eclipse.adt/.settings/org.moreunit.prefs [new file with mode: 0644]

diff --git a/eclipse/plugins/com.android.ide.eclipse.adt/.settings/org.moreunit.prefs b/eclipse/plugins/com.android.ide.eclipse.adt/.settings/org.moreunit.prefs
new file mode 100644 (file)
index 0000000..ecb8e78
--- /dev/null
@@ -0,0 +1,4 @@
+#Wed Nov 24 07:39:01 PST 2010
+eclipse.preferences.version=1
+org.moreunit.unitsourcefolder=adt\:src\:adt-tests\:unittests
+org.moreunit.useprojectsettings=true