use of com.yahoo.elide.core.security.checks.Check in project elide by yahoo.
the class CSVExportFormatterTest method setupMocks.
@BeforeEach
public void setupMocks(@TempDir Path tempDir) {
dataStore = new HashMapDataStore(DefaultClassScanner.getInstance(), TableExport.class.getPackage());
Map<String, Class<? extends Check>> map = new HashMap<>();
elide = new Elide(new ElideSettingsBuilder(dataStore).withEntityDictionary(EntityDictionary.builder().checks(map).build()).withISO8601Dates("yyyy-MM-dd'T'HH:mm'Z'", TimeZone.getTimeZone("UTC")).build());
elide.doScans();
scope = mock(RequestScope.class);
}
use of com.yahoo.elide.core.security.checks.Check in project elide by yahoo.
the class JSONExportFormatterTest method setupMocks.
@BeforeEach
public void setupMocks(@TempDir Path tempDir) {
dataStore = new HashMapDataStore(DefaultClassScanner.getInstance(), TableExport.class.getPackage());
Map<String, Class<? extends Check>> map = new HashMap<>();
elide = new Elide(new ElideSettingsBuilder(dataStore).withEntityDictionary(EntityDictionary.builder().checks(map).build()).withISO8601Dates("yyyy-MM-dd'T'HH:mm'Z'", TimeZone.getTimeZone("UTC")).build());
elide.doScans();
scope = mock(RequestScope.class);
}
Aggregations