use of com.android.tools.idea.welcome.install.ComponentCategory in project android by JetBrains.
the class FirstRunWizardTest method assertPagesVisible.
private void assertPagesVisible(@Nullable InstallerData data, boolean isComponentsStepVisible, boolean hasAndroidSdkPath) {
InstallerData.set(data);
FirstRunWizardMode mode = data == null ? FirstRunWizardMode.NEW_INSTALL : FirstRunWizardMode.INSTALL_HANDOFF;
assertVisible(new SdkComponentsStep(new ComponentCategory("test", "test"), KEY_TRUE, createKey(String.class), mode), data, isComponentsStepVisible);
if (data != null) {
assertEquals(String.valueOf(data.toString()), hasAndroidSdkPath, data.hasValidSdkLocation());
}
}
Aggregations