SuperNotCalledException running unit test
<p>I am trying to run this Android unit test, following this tutorial ::</p>

<p><a href="http://developer.android.com/resources/tutorials/testing/helloandroid_test.html" rel="nofollow">http://developer.android.com/resources/tutorials/testing/helloandroid_test.html</a></p>

<p>and in doing so get a <strong>SuperNotCalledException</strong> </p>

<p><strong>Here's the test class code ::</strong></p>

<pre><code>package com.example.helloandroid2.test;

import android.test.ActivityInstrumentationTestCase2;
import android.widget.TextView;

import com.example.helloandroid2.HelloAndroid2Activity;

public class HelloAndroid2Test extends ActivityInstrumentationTestCase2&lt;HelloAndroid2Activity&gt;
{
    private HelloAndroid2Activity mActivity;
    private TextView mView;
    private String resourceString;

    public HelloAndroid2Test()
    {
        super("com.example.helloandroid2", HelloAndroid2Activity.class);
    }

    @Override
    protected void setUp() throws Exception
    {
        super.setUp();
        mActivity = this.getActivity();
        mView = (TextView) mActivity.findViewById(com.example.helloandroid2.R.id.textview);
        resourceString = mActivity.getString(com.example.helloandroid2.R.string.hello);
    }

    public void testPreconditions()
    {
          assertNotNull(mView);
    }

    public void testText()
    {
          assertEquals(resourceString,(String)mView.getText());
    }
}
</code></pre>

<p><strong>The class I'm actually testing ::</strong></p>

<pre><code>package com.example.helloandroid2;

import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;

public class HelloAndroid2Activity extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        setContentView(R.layout.main);

    }
}
</code></pre>

<p><strong>I've set the project API levels at 2_3_1 and am using an avd set at the same.
Am running Eclipse with ADT on Windows Vista.</strong></p>

<p>All wisdom greatfully recieved. Thanks in advance. </p>

<p>Chris</p>
