Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Revisions: Issue #39699 Back to Issue ]
Summary 0039699: SortingFilteringGridConfiguration is failing when it should be skipped
Revision 2018-11-27 10:48 by caristu
Steps To Reproduce 1) Go to the [Grid Configuration at Window/Tab/Field level] window
2) Create a new record in the header, for any tab of core
3) Run the SortingFilteringGridConfiguration test. Note that it fails with the following error trace:

org.junit.internal.AssumptionViolatedException: Number of custom grid configs: got: <1>, expected: is <0>
    at org.junit.Assume.assumeThat(Assume.java:118)
    at org.openbravo.test.views.SortingFilteringGridConfiguration.shouldExecuteOnlyIfThereIsNoGridConfig(SortingFilteringGridConfiguration.java:67)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
    at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
    at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
    at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
    at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
    at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
    at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:538)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:760)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:460)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:206)

java.lang.NullPointerException
    at org.openbravo.test.views.SortingFilteringGridConfiguration.cleanUp(SortingFilteringGridConfiguration.java:84)
    ....
Revision 2018-11-27 10:46 by caristu
Steps To Reproduce 1) Go to the [Grid Configuration at Window/Tab/Field level] window
2) Create a new record in the header, for any tab of core
3) Run the SortingFilteringGridConfiguration test. Note that it fails with the following error trace:
Revision 2018-11-27 10:46 by caristu
Description The SortingFilteringGridConfiguration is failing when it should be skipped. This test is designed to be skipped when there exists grid configurations apart from the default ones.

In that case, instead of being skipped, the test is failing.
Revision 2018-11-27 10:12 by caristu
Steps To Reproduce .
Revision 2018-11-27 10:12 by caristu
Description SortingFilteringGridConfiguration is failing instead of being skipped


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker