Home
last modified time | relevance | path

Searched refs:generateCases (Results 1 – 1 of 1) sorted by relevance

/libcore/ojluni/src/test/java/lang/ref/
DCleanerTest.java102 generateCases(cleaner, c -> c.clearRef()); in testCleanableActions()
103 generateCases(cleaner, c -> c.doClean()); in testCleanableActions()
106 generateCases(cleaner, c -> c.doClean(), c -> c.clearRef()); in testCleanableActions()
123 generateCases(cleaner, c -> c.clearRef()); in testSystemCleanerActions()
124 generateCases(cleaner, c -> c.doClean()); in testSystemCleanerActions()
127 generateCases(cleaner, c -> c.doClean(), c -> c.clearRef()); in testSystemCleanerActions()
172 void generateCases(Cleaner cleaner, Consumer<CleanableCase>... runnables) { in generateCases() method in CleanerTest
173 generateCases(() -> setupPhantom(cleaner, null), runnables.length, runnables); in generateCases()
178 generateCases(() -> setupPhantomSubclass(cleaner, null), in generateCasesInternal()
184 generateCases(() -> setupPhantomSubclassException(cleaner, null), in generateExceptionCasesInternal()
[all …]