diff options
author | Jean Michel-Lemieux | 2003-06-10 19:33:17 +0000 |
---|---|---|
committer | Jean Michel-Lemieux | 2003-06-10 19:33:17 +0000 |
commit | 3291b19197d70632999816b5fc1648c29849caa3 (patch) | |
tree | 2e378893b77b511832117fa75d16e89a1ffaa134 | |
parent | 363c063e18b1f36e37a10c4e886985540d73d42f (diff) | |
download | eclipse.platform.team-branchSyncViewRefactoring.tar.gz eclipse.platform.team-branchSyncViewRefactoring.tar.xz eclipse.platform.team-branchSyncViewRefactoring.zip |
Set the comment to empty stringbranchSyncViewRefactoring
2 files changed, 36 insertions, 0 deletions
diff --git a/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/client/Command.java b/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/client/Command.java index bdbdd5e5c..cc90040d3 100644 --- a/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/client/Command.java +++ b/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/client/Command.java @@ -627,6 +627,9 @@ public abstract class Command extends Request { * Valid for: add commit import */ public static LocalOption makeArgumentOption(LocalOption option, String argument) { + if(argument == null) { + argument = ""; + } return new LocalOption(option.getOption(), argument); //$NON-NLS-1$ } diff --git a/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/subscriber/AllTestsTeamSubscriber.java b/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/subscriber/AllTestsTeamSubscriber.java new file mode 100644 index 000000000..d84295e92 --- /dev/null +++ b/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/subscriber/AllTestsTeamSubscriber.java @@ -0,0 +1,33 @@ +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/cpl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.team.tests.ccvs.core.subscriber; +import junit.framework.Test; +import junit.framework.TestSuite; +import org.eclipse.team.tests.ccvs.core.CVSTestSetup; +import org.eclipse.team.tests.ccvs.core.EclipseTest; + +public class AllTestsTeamSubscriber extends EclipseTest { + + public AllTestsTeamSubscriber() { + super(); + } + + public AllTestsTeamSubscriber(String name) { + super(name); + } + + public static Test suite() { + TestSuite suite = new TestSuite(); + suite.addTest(CVSMergeSubscriberTest.suite()); + suite.addTest(CVSWorkspaceSubscriberTest.suite()); + return new CVSTestSetup(suite); + } +} |