diff options
author | John Arthorne | 2009-02-12 22:33:06 +0000 |
---|---|---|
committer | John Arthorne | 2009-02-12 22:33:06 +0000 |
commit | a201b7a9ba65b4c632c203e7bd25236ee3e95dcd (patch) | |
tree | 53054adbccd9c6c710284917846be6aafdb868da /bundles/org.eclipse.equinox.p2.tests.ui/src/org/eclipse/equinox/p2/tests/ui/dialogs | |
parent | 7b049c21fdc5970aed14b8ad6e021a2a2a136f9b (diff) | |
download | rt.equinox.p2-a201b7a9ba65b4c632c203e7bd25236ee3e95dcd.tar.gz rt.equinox.p2-a201b7a9ba65b4c632c203e7bd25236ee3e95dcd.tar.xz rt.equinox.p2-a201b7a9ba65b4c632c203e7bd25236ee3e95dcd.zip |
Bug 260913 [metadata] Move concrete metadata classes to an internal package
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.tests.ui/src/org/eclipse/equinox/p2/tests/ui/dialogs')
-rw-r--r-- | bundles/org.eclipse.equinox.p2.tests.ui/src/org/eclipse/equinox/p2/tests/ui/dialogs/IUPropertyPagesTest.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/bundles/org.eclipse.equinox.p2.tests.ui/src/org/eclipse/equinox/p2/tests/ui/dialogs/IUPropertyPagesTest.java b/bundles/org.eclipse.equinox.p2.tests.ui/src/org/eclipse/equinox/p2/tests/ui/dialogs/IUPropertyPagesTest.java index 784b9ce02..5fc10be2b 100644 --- a/bundles/org.eclipse.equinox.p2.tests.ui/src/org/eclipse/equinox/p2/tests/ui/dialogs/IUPropertyPagesTest.java +++ b/bundles/org.eclipse.equinox.p2.tests.ui/src/org/eclipse/equinox/p2/tests/ui/dialogs/IUPropertyPagesTest.java @@ -13,7 +13,8 @@ package org.eclipse.equinox.p2.tests.ui.dialogs; import java.net.URI; import java.net.URISyntaxException; import org.eclipse.equinox.internal.provisional.p2.core.Version; -import org.eclipse.equinox.internal.provisional.p2.metadata.*; +import org.eclipse.equinox.internal.provisional.p2.metadata.IInstallableUnit; +import org.eclipse.equinox.internal.provisional.p2.metadata.MetadataFactory; import org.eclipse.equinox.internal.provisional.p2.metadata.MetadataFactory.InstallableUnitDescription; import org.eclipse.equinox.p2.tests.ui.AbstractProvisioningUITest; import org.eclipse.ui.PlatformUI; @@ -68,8 +69,8 @@ public class IUPropertyPagesTest extends AbstractProvisioningUITest { iuDescription.setProperty(IInstallableUnit.PROP_PROVIDER, "Test Cases"); iuDescription.setProperty(IInstallableUnit.PROP_DESCRIPTION, "A description"); iuDescription.setProperty(IInstallableUnit.PROP_NAME, "The Biggest Baddest Test IU"); - iuDescription.setLicense(new License(new URI("http://example.com"), "This is an example license")); - iuDescription.setCopyright(new Copyright(new URI("http://example.com"), "This is an example copyright")); + iuDescription.setLicense(MetadataFactory.createLicense(new URI("http://example.com"), "This is an example license")); + iuDescription.setCopyright(MetadataFactory.createCopyright(new URI("http://example.com"), "This is an example copyright")); return MetadataFactory.createInstallableUnit(iuDescription); } } |