AD Tests: fix missing LayoutDevices sample xml.

Change-Id: I879dd9fd3465491b0e8143a81d3a696e50212b99
diff --git a/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/groovytests/config_sample.xml b/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/sdk/config_sample.xml
similarity index 100%
rename from eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/groovytests/config_sample.xml
rename to eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/sdk/config_sample.xml
diff --git a/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/SdkTestCase.java b/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/SdkTestCase.java
index 7f2eef6..d3210eb 100644
--- a/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/SdkTestCase.java
+++ b/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/SdkTestCase.java
@@ -53,6 +53,13 @@
      */
     private Sdk loadSdk() {
         AdtPlugin adt = AdtPlugin.getDefault();
+
+        // We'll never get an AdtPlugin object when running this with the
+        // non-Eclipse jUnit test runner.
+        if (adt == null) {
+            return null;
+        }
+
         Object sdkLock = adt.getSdkLockObject();
         LoadStatus loadStatus = LoadStatus.LOADING;
         // wait for ADT to load the SDK on a separate thread