File tree Expand file tree Collapse file tree
src/test/java/net/marcellperger/mathexpr/parser Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -148,7 +148,6 @@ void parse_pow(boolean disableCache) {
148148 }
149149 }
150150
151-
152151 @ Disabled ("[SKIP] Failing, will fix in a later PR" )
153152 @ ParameterizedTest
154153 @ ValueSource (booleans = {true , false })
@@ -195,14 +194,6 @@ protected WithSuppressingCache applyNocacheAttr() {
195194 return WithSuppressingCache .start (nocache );
196195 }
197196
198- /**
199- *
200- * Public API:
201- * <ul>
202- * <li>Create an instance and clear cache: {@link #start(boolean doStart)} / {@link #start()}</li>
203- * <li>Restore the cache: {@link #close()}</li>
204- * </ul>
205- */
206197 static class WithSuppressingCache implements AutoCloseable {
207198 @ Contract ("_->new" )
208199 public static @ NotNull WithSuppressingCache start (boolean doStart ) {
@@ -220,6 +211,7 @@ public void close() {
220211 restoreCache ();
221212 }
222213
214+ // region implementation details (ctor, clearCache, restoreCache
223215 private WithSuppressingCache () {}
224216
225217 private Map <SymbolInfo , Optional <BinOpBiConstructor <?>>> origCache = null ;
@@ -260,5 +252,6 @@ private static Field getBiConstructorCache() {
260252 cacheField .setAccessible (true );
261253 return cacheField ;
262254 }
255+ // endregion
263256 }
264257}
You can’t perform that action at this time.
0 commit comments