aboutsummaryrefslogtreecommitdiffstats
path: root/framework/src/ant/apache-ant-1.9.6/src/etc/testcases/taskdefs/optional/sos/sos.xml
diff options
context:
space:
mode:
Diffstat (limited to 'framework/src/ant/apache-ant-1.9.6/src/etc/testcases/taskdefs/optional/sos/sos.xml')
-rw-r--r--framework/src/ant/apache-ant-1.9.6/src/etc/testcases/taskdefs/optional/sos/sos.xml124
1 files changed, 124 insertions, 0 deletions
diff --git a/framework/src/ant/apache-ant-1.9.6/src/etc/testcases/taskdefs/optional/sos/sos.xml b/framework/src/ant/apache-ant-1.9.6/src/etc/testcases/taskdefs/optional/sos/sos.xml
new file mode 100644
index 00000000..982b47ca
--- /dev/null
+++ b/framework/src/ant/apache-ant-1.9.6/src/etc/testcases/taskdefs/optional/sos/sos.xml
@@ -0,0 +1,124 @@
+<?xml version="1.0"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<project name="sos-test" basedir="." default="sosget.1">
+
+ <!--
+ ===========================================================================
+ Test SOSGet missing attributes
+ ===========================================================================
+ -->
+ <target name="sosget.1">
+ <sosget/>
+ </target>
+
+ <target name="sosget.2">
+ <sosget sosserverpath="192.168.0.1:8888"/>
+ </target>
+
+ <target name="sosget.3">
+ <sosget sosserverpath="192.168.0.1:8888"
+ username="ant"/>
+ </target>
+
+ <target name="sosget.4">
+ <sosget sosserverpath="192.168.0.1:8888"
+ username="ant"
+ vssserverpath="\\server\vss\srcsafe.ini"/>
+ </target>
+
+ <!--
+ ===========================================================================
+ Test SOSCheckin missing attributes
+ ===========================================================================
+ -->
+ <target name="soscheckin.1">
+ <soscheckin/>
+ </target>
+
+ <target name="soscheckin.2">
+ <soscheckin sosserverpath="192.168.0.1:8888"/>
+ </target>
+
+ <target name="soscheckin.3">
+ <soscheckin sosserverpath="192.168.0.1:8888"
+ username="ant"/>
+ </target>
+
+ <target name="soscheckin.4">
+ <soscheckin sosserverpath="192.168.0.1:8888"
+ username="ant"
+ vssserverpath="\\server\vss\srcsafe.ini"/>
+ </target>
+
+ <!--
+ ===========================================================================
+ Test SOSCheckout missing attributes
+ ===========================================================================
+ -->
+ <target name="soscheckout.1">
+ <soscheckout/>
+ </target>
+
+ <target name="soscheckout.2">
+ <soscheckout sosserverpath="192.168.0.1:8888"/>
+ </target>
+
+ <target name="soscheckout.3">
+ <soscheckout sosserverpath="192.168.0.1:8888"
+ username="ant"/>
+ </target>
+
+ <target name="soscheckout.4">
+ <soscheckout sosserverpath="192.168.0.1:8888"
+ username="ant"
+ vssserverpath="\\server\vss\srcsafe.ini"/>
+ </target>
+
+ <!--
+ ===========================================================================
+ Test SOSLabel missing attributes
+ ===========================================================================
+ -->
+ <target name="soslabel.1">
+ <soslabel/>
+ </target>
+
+ <target name="soslabel.2">
+ <soslabel sosserverpath="192.168.0.1:8888"/>
+ </target>
+
+ <target name="soslabel.3">
+ <soslabel sosserverpath="192.168.0.1:8888"
+ username="ant"/>
+ </target>
+
+ <target name="soslabel.4">
+ <soslabel sosserverpath="192.168.0.1:8888"
+ username="ant"
+ vssserverpath="\\server\vss\srcsafe.ini"/>
+ </target>
+
+ <target name="soslabel.5">
+ <soslabel sosserverpath="192.168.0.1:8888"
+ username="ant"
+ vssserverpath="\\server\vss\srcsafe.ini"
+ projectpath="$/SourceRoot/Project"/>
+ </target>
+
+</project>