selenium:TestProjectReference---testDeleteRefProDisplay()

--delete a reference project 
                    ---testRefBranchToTrunk()
  --refencece branch to other trunk                  
                    ---testRefBranchToBranch()
  --refencece branch to other branch                  
                    ---testRefTrunkToBranch()
  --refencece trunk to other branch      

git-svn-id: http://talendforge.org/svn/tis_shared/trunk@80569 f6f1c999-d317-4740-80b0-e6d1abc6f99e
This commit is contained in:
fgzhang
2012-03-28 10:13:03 +00:00
parent 4ade37cc01
commit f77a2a2d25

View File

@@ -65,8 +65,38 @@ public class TestProjectReference extends WebdriverLogin {
String spaceProInfo, String delRefPro1Info) {
refernceImpl.deleteRefproDispalyReferenceImpl(projectLabel, typeDI, 1,
projectLabel, spaceProInfo, delRefPro1Info, 1);
projectLabel, spaceProInfo, delRefPro1Info, 2);
}
@Test
@Parameters({"AddreferenceProjectname", "branch", "spacepro.info", "refbranch.pro.info"})
public void testRefBranchToTrunk(String sourePro, String branchName,
String targetPro, String refBranchProInfo) {
refernceImpl.referenceBranchToTrunkReferenceImpl(sourePro, branchName,
targetPro, refBranchProInfo);
}
@Test
@Parameters({"AddreferenceProjectname", "branch", "commbranch.pro.info", "refbranch.pro.info"})
public void testRefBranchToBranch(String sourePro, String branchName,
String targetPro, String refBranchProInfo) {
refernceImpl.referenceBranchToBranchReferenceImpl(sourePro, branchName,
targetPro, refBranchProInfo);
}
@Test
@Parameters({"AddreferenceProjectname", "trunk", "commbranch.pro.info", "ref.pro.info"})
public void testRefTrunkToBranch(String sourePro, String branchName,
String targetPro, String refBranchProInfo) {
refernceImpl.referenceTrunkToBranchReferenceImpl(sourePro, branchName,
targetPro, refBranchProInfo);
}
}