1 | (SOS_USERNAME);↵ | | 1 | (SOS_USERNAME);↵
|
2 | sosCheckin.setSosHome(SOS_HOME);↵ | | 2 | sosCheckout.setSosHome(SOS_HOME);↵
|
3 | sosCheckin.setNoCache(true);↵ | | 3 | sosCheckout.setNoCache(true);↵
|
4 | sosCheckin.setNoCompress(false);↵ | | 4 | sosCheckout.setNoCompress(false);↵
|
5 | sosCheckin.setVerbose(false);↵ | | 5 | sosCheckout.setVerbose(false);↵
|
6 | sosCheckin.setRecursive(true);↵ | | 6 | sosCheckout.setRecursive(true);↵
|
|
7 | commandline = sosCheckin.buildCmdLine();↵ | | 7 | commandline = sosCheckout.buildCmdLine();↵
|
|
8 | checkCommandLines(sTestCmdLine, commandline.getCommandline());↵ | | 8 | checkCommandLines(sTestCmdLine, commandline.getCommandline());↵
|
9 | }↵ | | 9 | }↵
|
|
10 | /** Test SOSCheckIn required attributes. */↵ | | 10 | /** Test SOSCheckout required attributes. */↵
|
11 | public void testCheckinExceptions() {↵ | | 11 | public void testCheckoutExceptions() {↵
|
12 | configureProject("src/etc/testcases/taskdefs/optional/sos/sos.xml");↵ | | 12 | configureProject("src/etc/testcases/taskdefs/optional/sos/sos.xml");↵
|
13 | expectSpecificBuildException("soscheckin.1", "some cause", "sosserverpath attribute must be set!");↵ | | 13 | expectSpecificBuildException("soscheckout.1", "some cause", "sosserverpath attribute must be set!");↵
|
14 | expectSpecificBuildException("soscheckin.2", "some cause", "username attribute must be set!");↵ | | 14 | expectSpecificBuildException("soscheckout.2", "some cause", "username attribute must be set!");↵
|
15 | expectSpecificBuildException("soscheckin.3", "some cause", "vssserverpath attribute must be set!");↵ | | 15 | expectSpecificBuildException("soscheckout.3", "some cause", "vssserverpath attribute must be set!");↵
|
16 | expectSpecificBuildException("soscheckin.4", "some cause", "projectpath attribute must be set!");↵ | | 16 | expectSpecificBuildException("soscheckout.4", "some cause", "projectpath attribute must be set!");↵
|
17 | | | 17 |
|