Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[riena-dev] RienaTestCase class

Hi committers,

I've added a little != null check here. This allows me to run many UI tests (XYZRidgetTest) as a regular junit test during development (instead of a slow pde junit test).

        public RienaTestCase() {
                super();
                if (Activator.getDefault() != null) { // running as pde junit test
                        this.context = Activator.getDefault().getContext();
                }
        }

Ping me, if you have any concerns about this.

Elias.


Back to the top