diff options
author | Michael Valenta | 2004-05-06 16:00:35 +0000 |
---|---|---|
committer | Michael Valenta | 2004-05-06 16:00:35 +0000 |
commit | a71d58efaae9b1290c593f995df05f714ceec1c4 (patch) | |
tree | 13d84e36d9052178ca7616167b536caac0ef8aa3 /tests/org.eclipse.team.tests.cvs.core | |
parent | 59c838424344efee1fe0f63f814171cf9719ec8c (diff) | |
download | eclipse.platform.team-a71d58efaae9b1290c593f995df05f714ceec1c4.tar.gz eclipse.platform.team-a71d58efaae9b1290c593f995df05f714ceec1c4.tar.xz eclipse.platform.team-a71d58efaae9b1290c593f995df05f714ceec1c4.zip |
Changes to allow progress in wizards
- removed xml specification of actions
Diffstat (limited to 'tests/org.eclipse.team.tests.cvs.core')
4 files changed, 15 insertions, 10 deletions
diff --git a/tests/org.eclipse.team.tests.cvs.core/launchConfigurations/CVS UI Tests.launch b/tests/org.eclipse.team.tests.cvs.core/launchConfigurations/CVS UI Tests.launch index fac8b26de..74150996b 100644 --- a/tests/org.eclipse.team.tests.cvs.core/launchConfigurations/CVS UI Tests.launch +++ b/tests/org.eclipse.team.tests.cvs.core/launchConfigurations/CVS UI Tests.launch @@ -1,14 +1,17 @@ <?xml version="1.0" encoding="UTF-8"?> <launchConfiguration type="org.eclipse.pde.ui.JunitLaunchConfig"> <booleanAttribute key="clearws" value="true"/> +<stringAttribute key="bootstrap" value=""/> <stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.eclipse.team.tests.ccvs.core.AllTests"/> <booleanAttribute key="tracing" value="false"/> +<stringAttribute key="location1" value="C:\Eclipse\Latest-Eclipse-Drop\eclipse\runtime-test-workspace"/> <booleanAttribute key="default" value="true"/> -<stringAttribute key="vmargs" value="-Declipse.cvs.properties=c:\eclipse\repository.properties -Declipse.cvs.testName2=testFileAdditions"/> +<stringAttribute key="vmargs" value="-Declipse.cvs.properties=c:\eclipse\wsmvalentalnx.properties -Declipse.cvs.testName2=testFileAdditions"/> <listAttribute key="org.eclipse.debug.ui.favoriteGroups"> <listEntry value="org.eclipse.debug.ui.launchGroup.debug"/> </listAttribute> <stringAttribute key="org.eclipse.jdt.junit.CONTAINER" value=""/> +<booleanAttribute key="clearConfig" value="true"/> <mapAttribute key="tracingOptions"> <mapEntry key="org.eclipse.core.boot/monitor/classes" value="false"/> <mapEntry key="org.eclipse.team.cvs.core/syncchangeevents" value="false"/> @@ -139,13 +142,15 @@ <mapEntry key="org.eclipse.core.runtime/jobs/timing" value="false"/> <mapEntry key="org.eclipse.core.runtime/loader/debug/prefixes/failure" value="false"/> </mapAttribute> +<booleanAttribute key="org.eclipse.debug.core.appendEnvironmentVariables" value="true"/> <stringAttribute key="org.eclipse.jdt.launching.SOURCE_PATH_PROVIDER" value="org.eclipse.pde.ui.workbenchClasspathProvider"/> <booleanAttribute key="org.eclipse.jdt.junit.KEEPRUNNING_ATTR" value="false"/> +<stringAttribute key="onePluginID" value=""/> +<booleanAttribute key="useDefaultConfig" value="true"/> <stringAttribute key="progargs" value="-os win32 -ws win32 -arch x86 -nl en_CA"/> <stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="org.eclipse.team.tests.cvs.core"/> <booleanAttribute key="askclear" value="false"/> +<booleanAttribute key="onePlugin" value="false"/> <booleanAttribute key="maximized" value="false"/> -<stringAttribute key="org.eclipse.debug.core.source_locator_id" value="org.eclipse.jdt.debug.ui.javaSourceLocator"/> <stringAttribute key="location0" value="C:\Eclipse\Latest-Eclipse-Drop\eclipse\runtime-test-workspace"/> -<stringAttribute key="application" value="org.eclipse.pde.junit.runtime.uitestapplication"/> </launchConfiguration> diff --git a/tests/org.eclipse.team.tests.cvs.core/launchConfigurations/One CVS Test.launch b/tests/org.eclipse.team.tests.cvs.core/launchConfigurations/One CVS Test.launch index 9e7fc4a2f..f7449185a 100644 --- a/tests/org.eclipse.team.tests.cvs.core/launchConfigurations/One CVS Test.launch +++ b/tests/org.eclipse.team.tests.cvs.core/launchConfigurations/One CVS Test.launch @@ -1,11 +1,12 @@ <?xml version="1.0" encoding="UTF-8"?> <launchConfiguration type="org.eclipse.pde.ui.JunitLaunchConfig"> <booleanAttribute key="clearws" value="true"/> -<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.eclipse.team.tests.ccvs.core.provider.ImportTest"/> +<stringAttribute key="bootstrap" value=""/> +<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.eclipse.team.tests.ccvs.core.subscriber.CVSWorkspaceSubscriberTest"/> <booleanAttribute key="tracing" value="false"/> <stringAttribute key="location1" value="C:\Eclipse\Latest-Eclipse-Drop\eclipse\runtime-test-workspace"/> <booleanAttribute key="default" value="true"/> -<stringAttribute key="vmargs" value="-Declipse.cvs.properties=c:\eclipse\repository.properties -Declipse.cvs.testName=testCheckout"/> +<stringAttribute key="vmargs" value="-Declipse.cvs.properties=c:\eclipse\repository.properties -Declipse.cvs.testName2=testFileAddedToBranch"/> <stringAttribute key="org.eclipse.jdt.junit.CONTAINER" value=""/> <booleanAttribute key="clearConfig" value="true"/> <booleanAttribute key="org.eclipse.debug.core.appendEnvironmentVariables" value="true"/> @@ -18,5 +19,4 @@ <booleanAttribute key="askclear" value="false"/> <booleanAttribute key="onePlugin" value="false"/> <stringAttribute key="location0" value="C:\Eclipse\Latest-Eclipse-Drop\eclipse\runtime-test-workspace"/> -<stringAttribute key="org.eclipse.debug.core.source_locator_id" value="org.eclipse.jdt.debug.ui.javaSourceLocator"/> </launchConfiguration> diff --git a/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/subscriber/CVSSyncSubscriberTest.java b/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/subscriber/CVSSyncSubscriberTest.java index 0496a4d04..e0b692d9a 100644 --- a/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/subscriber/CVSSyncSubscriberTest.java +++ b/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/subscriber/CVSSyncSubscriberTest.java @@ -23,7 +23,7 @@ import org.eclipse.team.core.subscribers.*; import org.eclipse.team.core.synchronize.SyncInfo; import org.eclipse.team.internal.ccvs.core.CVSProviderPlugin; import org.eclipse.team.internal.ccvs.core.CVSSyncTreeSubscriber; -import org.eclipse.team.internal.ccvs.ui.subscriber.SubscriberConfirmMergedOperation; +import org.eclipse.team.internal.ccvs.ui.subscriber.ConfirmMergedOperation; import org.eclipse.team.internal.ui.synchronize.SyncInfoModelElement; import org.eclipse.team.tests.ccvs.core.EclipseTest; import org.eclipse.team.tests.ccvs.ui.SynchronizeViewTestAdapter; @@ -227,7 +227,7 @@ public abstract class CVSSyncSubscriberTest extends EclipseTest { protected void markAsMerged(CVSSyncTreeSubscriber subscriber, IProject project, String[] resourcePaths) throws CoreException, TeamException, InvocationTargetException, InterruptedException { IResource[] resources = getResources(project, resourcePaths); SyncInfo[] infos = createSyncInfos(subscriber, resources); - new SubscriberConfirmMergedOperation(null, getElements(infos)).run(DEFAULT_MONITOR); + new ConfirmMergedOperation(null, getElements(infos)).run(DEFAULT_MONITOR); } protected IDiffElement[] getElements(SyncInfo[] infos) { diff --git a/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/subscriber/TestCommitOperation.java b/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/subscriber/TestCommitOperation.java index 40dc2a764..e7275f774 100644 --- a/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/subscriber/TestCommitOperation.java +++ b/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/subscriber/TestCommitOperation.java @@ -14,9 +14,9 @@ import org.eclipse.compare.structuremergeviewer.IDiffElement; import org.eclipse.core.resources.IResource; import org.eclipse.team.core.synchronize.SyncInfoSet; import org.eclipse.team.internal.ccvs.ui.repo.RepositoryManager; -import org.eclipse.team.internal.ccvs.ui.subscriber.SubscriberCommitOperation; +import org.eclipse.team.internal.ccvs.ui.subscriber.WorkspaceCommitOperation; -class TestCommitOperation extends SubscriberCommitOperation { +class TestCommitOperation extends WorkspaceCommitOperation { private boolean prompted; |