use of il.ac.technion.cs.smarthouse.developers_api.SmarthouseApplication in project Smartcity-Smarthouse by TechnionYP5777.
the class AppInstallHelperTest method testLoadGoodApp.
@Test
public void testLoadGoodApp() {
try {
final SmarthouseApplication a = AppInstallHelper.loadApplication(classesNames_app1);
assert a instanceof MyTestClass1;
final MyTestClass1 t = (MyTestClass1) a;
assert !t.isLoaded();
t.onLoad();
assert t.isLoaded();
} catch (final AppInstallerException ¢) {
Assert.fail(¢.getMessage());
}
}
Aggregations