1 | package com.jsql.model.bean.database; | |
2 | ||
3 | public class MockElement extends AbstractElementDatabase { | |
4 | ||
5 | /** | |
6 | * Used by non-progressing threads like File, metadata and shells. | |
7 | * Required for suspendable concurrent map tracking. | |
8 | */ | |
9 | public static final AbstractElementDatabase MOCK = new MockElement(); | |
10 | ||
11 | @Override | |
12 | public AbstractElementDatabase getParent() { | |
13 | return null; | |
14 | } | |
15 | ||
16 | @Override | |
17 | public int getChildCount() { | |
18 | return 0; | |
19 | } | |
20 | ||
21 | @Override | |
22 | public String getLabelWithCount() { | |
23 |
1
1. getLabelWithCount : replaced return value with "" for com/jsql/model/bean/database/MockElement::getLabelWithCount → NO_COVERAGE |
return null; |
24 | } | |
25 | } | |
Mutations | ||
23 |
1.1 |