Package com._1c.g5.v8.dt.testing.compare
Class AbstractCompareMergePerformanceTestCase
- java.lang.Object
- 
- com._1c.g5.v8.dt.testing.compare.AbstractCompareMergePerformanceTestCase
 
- 
 public abstract class AbstractCompareMergePerformanceTestCase extends Object General logic of performance tests for compare/merge.
- 
- 
Field SummaryFields Modifier and Type Field Description TestingWorkspacetestingWorkspaceorg.junit.rules.TestNametestName
 - 
Constructor SummaryConstructors Constructor Description AbstractCompareMergePerformanceTestCase()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidrunTest(String repoName, String mainCommitId, String otherCommitId, String projectName, int runComparisonTimes, ResourcesConsumption expectedResourcesConsumption)Runs performance testing of compare and merge processes on two commits from the given Git repository.voidsetUp()voidtearDown()
 
- 
- 
- 
Field Detail- 
testingWorkspacepublic TestingWorkspace testingWorkspace 
 - 
testNamepublic org.junit.rules.TestName testName 
 
- 
 - 
Method Detail- 
setUppublic void setUp() 
 - 
tearDownpublic void tearDown() 
 - 
runTestprotected void runTest(String repoName, String mainCommitId, String otherCommitId, String projectName, int runComparisonTimes, ResourcesConsumption expectedResourcesConsumption) throws Exception Runs performance testing of compare and merge processes on two commits from the given Git repository.- Parameters:
- repoName- the repository name, cannot be- null
- mainCommitId- Commit ID for main side, cannot be- null
- otherCommitId- Commit ID for other side, cannot be- null
- projectName- the name of the project in the repository, cannot be- null
- runComparisonTimes- how many times to run comparison to calculate average resources consumption, the more is better
- expectedResourcesConsumption- the expected resources consumption, cannot be- null
- Throws:
- Exception- if some problem occurred
 
 
- 
 
-