mopemope / meghanada-emacs

A Better Java Development Environment for Emacs
GNU General Public License v3.0
603 stars 56 forks source link

Error when running Junit tests #165

Closed deb75 closed 4 years ago

deb75 commented 4 years ago

Hello,

I tried to run the following test (testVector.java) :

import myVector;
import org.junit.Test;

public class testVector
{
    @Test
    public void test1()
    {
        myVector v = new myVector(10);

        v.fill();

        System.out.println(v);
    }
}

with meghanada-run-junit-class and i get the following message :

WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance.
[WARN ][TestRunner:  89] test not found testVector

I invoke the meghanada command while I am in the file buffer, why is it not found ? Also, how can i fix the warning ?

Best regards

deb75

deb75 commented 4 years ago

fixed.