Community
Participate
Working Groups
IInstallableUnit foo = (IInstallableUnit) fooIUs.get(0);
assertTrue(foo.getId().equalsIgnoreCase("foo.feature.jar")); //$NON-NLS-1$
assertTrue(foo.getVersion().equals(fooVersion));
assertEquals("Foo Feature", foo.getProperty(IInstallableUnit.PROP_NAME));
assertEquals("Foo Description", foo.getProperty(IInstallableUnit.PROP_DESCRIPTION));
assertEquals("Foo License", foo.getLicense().getBody());
assertEquals("Foo Copyright", foo.getCopyright().getBody());
assertTrue(foo.getProperty("key1").equals("value1")); //$NON-NLS-1$ //$NON-NLS-2$
assertTrue(foo.getProperty("key2").equals("value2")); //$NON-NLS-1$//$NON-NLS-2$
assertTrue(foo.getArtifacts()[0].equals(FOO_KEY));
version="1.0.0">
<description url="http://www.example.com/description">
[Enter Feature Description here.]
Foo Description
</description>
<copyright url="http://www.example.com/copyright">
[Enter Copyright Description here.]
Foo Copyright
</copyright>
<license url="http://www.example.com/license">
[Enter License Description here.]
Foo License
</license>
</feature>