Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 274695 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/equinox/p2/tests/publisher/actions/FeaturesActionTest.java (+4 lines)
Lines 81-86 Link Here
81
		IInstallableUnit foo = (IInstallableUnit) fooIUs.get(0);
81
		IInstallableUnit foo = (IInstallableUnit) fooIUs.get(0);
82
		assertTrue(foo.getId().equalsIgnoreCase("foo.feature.jar")); //$NON-NLS-1$
82
		assertTrue(foo.getId().equalsIgnoreCase("foo.feature.jar")); //$NON-NLS-1$
83
		assertTrue(foo.getVersion().equals(fooVersion));
83
		assertTrue(foo.getVersion().equals(fooVersion));
84
		assertEquals("Foo Feature", foo.getProperty(IInstallableUnit.PROP_NAME));
85
		assertEquals("Foo Description", foo.getProperty(IInstallableUnit.PROP_DESCRIPTION));
86
		assertEquals("Foo License", foo.getLicense().getBody());
87
		assertEquals("Foo Copyright", foo.getCopyright().getBody());
84
		assertTrue(foo.getProperty("key1").equals("value1")); //$NON-NLS-1$ //$NON-NLS-2$
88
		assertTrue(foo.getProperty("key1").equals("value1")); //$NON-NLS-1$ //$NON-NLS-2$
85
		assertTrue(foo.getProperty("key2").equals("value2")); //$NON-NLS-1$//$NON-NLS-2$
89
		assertTrue(foo.getProperty("key2").equals("value2")); //$NON-NLS-1$//$NON-NLS-2$
86
		assertTrue(foo.getArtifacts()[0].equals(FOO_KEY));
90
		assertTrue(foo.getArtifacts()[0].equals(FOO_KEY));
(-)testData/FeaturesActionTest/foo/feature.xml (-3 / +3 lines)
Lines 5-19 Link Here
5
      version="1.0.0">
5
      version="1.0.0">
6
6
7
   <description url="http://www.example.com/description">
7
   <description url="http://www.example.com/description">
8
      [Enter Feature Description here.]
8
      Foo Description
9
   </description>
9
   </description>
10
10
11
   <copyright url="http://www.example.com/copyright">
11
   <copyright url="http://www.example.com/copyright">
12
      [Enter Copyright Description here.]
12
      Foo Copyright
13
   </copyright>
13
   </copyright>
14
14
15
   <license url="http://www.example.com/license">
15
   <license url="http://www.example.com/license">
16
      [Enter License Description here.]
16
      Foo License
17
   </license>
17
   </license>
18
18
19
</feature>
19
</feature>

Return to bug 274695