Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 134493 Details for
Bug 274695
[publisher] Redundant 'feature.jars' entry on "Review license" page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Regression test in publisher tests
patch.txt (text/plain), 2.28 KB, created by
John Arthorne
on 2009-05-05 14:56:39 EDT
(
hide
)
Description:
Regression test in publisher tests
Filename:
MIME Type:
Creator:
John Arthorne
Created:
2009-05-05 14:56:39 EDT
Size:
2.28 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.equinox.p2.tests >Index: src/org/eclipse/equinox/p2/tests/publisher/actions/FeaturesActionTest.java >=================================================================== >RCS file: /cvsroot/rt/org.eclipse.equinox/p2/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/publisher/actions/FeaturesActionTest.java,v >retrieving revision 1.16 >diff -u -r1.16 FeaturesActionTest.java >--- src/org/eclipse/equinox/p2/tests/publisher/actions/FeaturesActionTest.java 26 Apr 2009 19:05:49 -0000 1.16 >+++ src/org/eclipse/equinox/p2/tests/publisher/actions/FeaturesActionTest.java 5 May 2009 18:57:00 -0000 >@@ -81,6 +81,10 @@ > 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)); >Index: testData/FeaturesActionTest/foo/feature.xml >=================================================================== >RCS file: /cvsroot/rt/org.eclipse.equinox/p2/bundles/org.eclipse.equinox.p2.tests/testData/FeaturesActionTest/foo/feature.xml,v >retrieving revision 1.1 >diff -u -r1.1 feature.xml >--- testData/FeaturesActionTest/foo/feature.xml 26 Sep 2008 13:47:05 -0000 1.1 >+++ testData/FeaturesActionTest/foo/feature.xml 5 May 2009 18:57:00 -0000 >@@ -5,15 +5,15 @@ > 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>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 274695
:
134117
|
134178
|
134456
|
134476
| 134493