@Test public void testHybridMobileEngineEquals() { HybridMobileEngine engine_0 = new HybridMobileEngine(); engine_0.setId("platform_0"); engine_0.setVersion("0.0.0"); HybridMobileEngine engine_1 = new HybridMobileEngine(); engine_1.setId("platform_0"); engine_1.setVersion("0.0.0"); assertEquals(engine_0, engine_1); }
@Test public void testHybridMobileEngineIsManaged() { HybridMobileEngine engine_0 = new HybridMobileEngine(); engine_0.setId("platform_0"); engine_0.setVersion("0.0.0"); engine_0.setLocation(CordovaEngineProvider.getLibFolder().append("myplatform")); assertTrue(engine_0.isManaged()); HybridMobileEngine engine_1 = new HybridMobileEngine(); engine_1.setId("platform_0"); engine_1.setVersion("0.0.0"); engine_1.setLocation(new Path("/some/location")); assertFalse(engine_1.isManaged()); }