To clarify, I changed org.netbeans.lib.profiler.server.ProfilerRuntimeCPU.getParSize() from private to package-private. So this should work...

Gili

On 2018-02-17 6:07 AM, cowwoc wrote:
Hi,

I am attempting to add a unit test for a bug I am working on in the profiler module. I am getting the following error:

projectized-common.do-unit-test-build:
Compiling 3 source files to C:\Users\Gili\Documents\3rdparty\incubator-netbeans-cowwoc\lib.profiler\build\test\unit\classes C:\Users\Gili\Documents\3rdparty\incubator-netbeans-cowwoc\lib.profiler\test\unit\src\org\netbeans\lib\profiler\server\ProfilerRuntimeCPUTest.java:36: error: cannot find symbol
        ProfilerRuntimeCPU.getParSize(value);
  symbol:   variable ProfilerRuntimeCPU
  location: class ProfilerRuntimeCPUTest
1 error

But I have declared the unit test in the same package as org.netbeans.lib.profiler.server which is where org.netbeans.lib.profiler.server.ProfilerRuntimeCPU so I expect it to be seen...

Are you guys doing something special in your Ant build? Any idea how to fix this?

Thank you,
Gili



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Reply via email to