万无一失的报告

概括

[摘要] [包列表] [测试用例]


测试 错误 失败 跳过 成功率 时间
257 0 0 0 100% 28.359

注意:在未预料到的错误时,可以预见并使用断言检查失败。


包装清单

[摘要] [包列表] [测试用例]


包裹 测试 错误 失败 跳过 成功率 时间
org.apache.maven.plugins.dependency.utils.filters 14 0 0 0 100% 0.018
org.apache.maven.plugins.dependency.utils 13 0 0 0 100% 0.102
org.apache.maven.plugins.dependency.resolvers 11 0 0 0 100% 0.661
org.apache.maven.plugins.dependency.fromDependencies 85 0 0 0 100% 14.233
org.apache.maven.plugins.dependency.analyze 7 0 0 0 100% 0.101
org.apache.maven.plugins.dependency.utils.translators 6 0 0 0 100% 0.353
org.apache.maven.plugins.dependency.utils.markers 25 0 0 0 100% 0.543
org.apache.maven.plugins.dependency.tree 2 0 0 0 100% 1.016
org.apache.maven.plugins.dependency 33 0 0 0 100% 5.706
org.apache.maven.plugins.dependency.fromConfiguration 61 0 0 0 100% 5.626

注意:包统计信息不是递归计算的,它们只是总结了它所有的测试套件数量。

org.apache.maven.plugins.dependency.utils.filters

班级 测试 错误 失败 跳过 成功率 时间
测试目标文件过滤器 8 0 0 0 100% 0.013
TestResolveMarkerFileFilter 1 0 0 0 100% 0
测试标记文件过滤器 5 0 0 0 100% 0.005

org.apache.maven.plugins.dependency.utils

班级 测试 错误 失败 跳过 成功率 时间
测试依赖工具 9 0 0 0 100% 0.001
测试静默日志 2 0 0 0 100% 0
测试依赖状态集 2 0 0 0 100% 0.101

org.apache.maven.plugins.dependency.resolvers

班级 测试 错误 失败 跳过 成功率 时间
ResolveDependenciesMojoTest 4 0 0 0 100% 0.237
TestResolveMojo 2 0 0 0 100% 0.117
ExcludeReactorProjectsDependencyFilterTest 3 0 0 0 100% 0.192
排除反应堆项目ArtifactFilterTest 2 0 0 0 100% 0.115

org.apache.maven.plugins.dependency.fromDependencies

班级 测试 错误 失败 跳过 成功率 时间
TestBuildClasspathMojo 2 0 0 0 100% 0.109
TestCopyDependenciesMojo2 11 0 0 0 100% 0.669
TestCopyDependenciesMojo 32 0 0 0 100% 2.12
TestUnpackDependenciesMojo 28 0 0 0 100% 4.301
TestIncludeExcludeUnpackDependenciesMojo 7 0 0 0 100% 0.815
TestUnpackDependenciesMojo2 5 0 0 0 100% 6.219

org.apache.maven.plugins.dependency.analyze

班级 测试 错误 失败 跳过 成功率 时间
测试分析深度管理 5 0 0 0 100% 0.005
TestAnalyzeDuplicateMojo 2 0 0 0 100% 0.096

org.apache.maven.plugins.dependency.utils.translators

班级 测试 错误 失败 跳过 成功率 时间
TestClassifierTypeTranslator 6 0 0 0 100% 0.353

org.apache.maven.plugins.dependency.utils.markers

班级 测试 错误 失败 跳过 成功率 时间
TestSourcesMarkerFileHandler 10 0 0 0 100% 0.015
TestUnpackMarkerFileHandler 9 0 0 0 100% 0.522
TestDefaultMarkerFileHandler 6 0 0 0 100% 0.006

org.apache.maven.plugins.dependency.tree

班级 测试 错误 失败 跳过 成功率 时间
TestTreeMojo 1 0 0 0 100% 0.657
TestTreeMojo_ContainsVersion 1 0 0 0 100% 0.359

org.apache.maven.plugins.dependency

班级 测试 错误 失败 跳过 成功率 时间
跳过测试 19 0 0 0 100% 0.949
AbstractDependencyMojoTest 4 0 0 0 100% 0.113
测试列表类Mojo 2 0 0 0 100% 1.811
测试属性Mojo 1 0 0 0 100% 0.053
测试GetMojo 4 0 0 0 100% 2.591
测试收集魔力 3 0 0 0 100% 0.189

org.apache.maven.plugins.dependency.fromConfiguration

班级 测试 错误 失败 跳过 成功率 时间
TestIncludeExcludeUnpackMojo 11 0 0 0 100% 1.366
TestUnpackMojo 18 0 0 0 100% 2.035
TestCopyMojo 30 0 0 0 100% 2.099
测试工件项 2 0 0 0 100% 0.126

测试用例

[摘要] [包列表] [测试用例]

TestIncludeExcludeUnpackMojo

testNoIncludeExcludes 0.287
testIncludeArtifactItemOverride 0.101
testUnpackIncludesManyFiles 0.099
testExcludeArtifactItemOverride 0.081
testUnpackExcludesAllFiles 0.088
testUnpackIncludesAllFiles 0.094
testIncludeArtifactItemMultipleMarker 0.12
testUnpackIncludesSingleFile 0.099
testUnpackExcludesSingleFile 0.096
testIncludeArtifactItemMultipleExecutions 0.21
testUnpackExcludesManyFiles 0.091

TestTreeMojo

测试无效 0.655

跳过测试

testSkipUnpackDependencies 0.038
testSkipAnalyzeOnly 0.049
testSkipBuildClasspath 0.05
testSkipResolvePlugins 0.045
测试跳过复制 0.045
测试跳过列表 0.041
测试跳过树 0.041
testSkipPurgeLocalRepository 0.041
testSkipResolve 0.044
测试跳过解包 0.04
testSkipAnalyzeDepMgt 0.041
testSkipGo离线 0.043
testSkipSources 0.041
测试跳过分析报告 0.16
testSkipCopyDependencies 0.052
测试跳过分析 0.04
testSkipAnalyzeDuplicate 0.044
测试跳过属性 0.051
测试跳过获取 0.043

测试目标文件过滤器

testDestFileStripVersion 0.002
测试GettersSetters 0
testDestFileOverwriteIfNewer 0.003
testDestFileSnapshot 0.001
testDestFileSubPerType 0.002
testDestFileRelease 0.001
testDestFileStripClassifier 0.002
testDestFileSubPerArtifact 0.001

TestTreeMojo_ContainsVersion

testWhenRecommendedVersionIsNullAndNoRestrictions 0.015

AbstractDependencyMojoTest

testNewResolveArtifactProjectBuildingRequestRemoteRepositoriesSize 0.021
testNewResolvePluginProjectBuildingRequestRemoteRepositoriesSize 0.002
testNewResolveArtifactProjectBuildingRequestRemoteRepositoriesContents 0.001
testNewResolvePluginProjectBuildingRequestRemoteRepositoriesContents 0.001

ResolveDependenciesMojoTest

testDependencyStatusEmptySet 0.049
testDependencyStatusLogNullFiles 0.059
testOptionalDependencyFormatting 0.057
testDependencyStatusLog 0.072

TestUnpackMojo

testArtifactResolutionException 0.158
testGetArtifactItems 0.113
测试跳过 0.096
testUnpackToLocation 0.111
testNoArtifactItems 0.067
testUnpackToLocationWhereLocationCannotBeCreatedThrowsException 0.086
testArtifactNotFound 0.066
testMissingVersionNotFound 0.06
testMissingVersionFromDependenciesWithClassifier 0.074
testUnpackDontOverWriteSnapshots 0.182
testUnpackOverWriteReleases 0.189
testUnpackDontOverWriteReleases 0.191
testMissingVersionFromDependencies 0.082
测试UnpackOverWriteIfNewer 0.082
testMissingVersionFromDependencyMgt 0.089
测试解包文件 0.101
testUnpackOverWriteSnapshot 0.184
testMissingVersionFromDependencyMgtWithClassifier 0.102

TestSourcesMarkerFileHandler

testSetMarkerResolved 0.001
测试两个标记 0.001
testMarkerFileResolvedSetter 0.001
testMarkerTimeStampResolved 0.002
测试标记文件 0.003
testNullParentResolved 0.001
testNullParent 0.001
testMarkerFileException 0.001
testSetMarkerUnresolved 0.002
testMarkerTimeStampUnResolved 0.002

测试列表类Mojo

testListClassesTransitive 0.947
testListClassesNotTransitive 0.864

TestBuildClasspathMojo

测试路径 0.052
测试环境 0.057

TestCopyDependenciesMojo2

testCopyDependenciesMojoIncludeCompileScope 0.058
testCopyDependenciesMojoIncludeprovidedScope 0.072
testSubPerArtifact 0.062
testSubPerArtifactRemoveVersion 0.054
testCopyDependenciesMojoIncludesystemScope 0.047
testCopyDependenciesMojoIncludeRuntimeScope 0.051
testSubPerArtifactAndScope 0.056
testCopyDependenciesMojoIncludeTestScope 0.05
testSubPerArtifactAndType 0.065
测试存储库布局 0.099
testSubPerArtifactAndTypeRemoveVersion 0.055

TestCopyDependenciesMojo

testDontOverWriteSnap 0.061
testExcludeSystemScope 0.07
测试条分类器 0.065
测试DontOverWriteRelease 0.268
testArtifactResolutionException 0.061
testIncludeGroupId 0.062
测试包含分类器 0.059
测试条版本 0.055
testExcludeCompileScope 0.053
测试魔力 0.054
testExcludeMultipleGroupIds 0.061
testIncludeArtifactId 0.054
测试CDMType 0.058
testExcludeProvidedScope 0.063
测试CDM分类器 0.069
测试包含类型 0.061
testPrependGroupId 0.061
测试复制文件 0.053
testOverWriteSnap 0.052
testExcludeTestScope 0.05
testUseBaseVersion 0.06
testExcludeRuntimeScope 0.06
测试排除类型 0.059
testCopyPom 0.061
testNoTransitive 0.054
测试排除分类器 0.061
测试OverWriteRelease 0.057
testSubPerType 0.063
testExcludeArtifactId 0.062
testExcludeGroupId 0.062
testGetDependencies 0.063
测试CDMClassifierType 0.067

TestUnpackDependenciesMojo

testExcludeSystemScope 0.316
testArtifactResolutionException 0.122
testIncludeGroupId 0.139
testIncludeRuntimeScope 0.14
testExcludeCompileScope 0.124
测试魔力 0.123
testSubPerArtifact 0.158
testSubPerArtifactRemoveVersion 0.156
testIncludeArtifactId 0.115
测试CDMType 0.192
testExcludeProvidedScope 0.146
测试CDM分类器 0.167
测试包含类型 0.15
testArtifactNotFound 0.121
testExcludeTestScope 0.12
testSubPerArtifactAndType 0.171
测试包含系统范围 0.146
testIncludeTestScope 0.135
testExcludeRuntimeScope 0.134
测试排除类型 0.134
testNoTransitive 0.148
testIncludeCompileScope 0.132
测试包含提供的范围 0.126
testSubPerType 0.134
testSubPerArtifactAndTypeRemoveVersion 0.193
testExcludeArtifactId 0.182
testExcludeGroupId 0.137
测试CDMClassifierType 0.238

测试分析深度管理

测试添加排除 0.002
测试魔力 0.001
testGetMismatch 0.001
testGetExclusionErrors 0
testGetManagementKey 0.001

TestIncludeExcludeUnpackDependenciesMojo

testNoIncludeExcludes 0.192
testUnpackIncludesManyFiles 0.101
testUnpackExcludesAllFiles 0.092
testUnpackIncludesAllFiles 0.119
testUnpackIncludesSingleFile 0.097
testUnpackExcludesSingleFile 0.108
testUnpackExcludesManyFiles 0.106

测试属性Mojo

测试集属性 0.053

测试依赖工具

testFileNameClassifierWithFile 0
测试目录名称来源 0.001
testTestJar 0
测试目录名称 0
testFileNameUseBaseVersion 0
测试文件名 0
测试目录名称2 0
测试分词器 0
测试文件名分类器 0

TestResolveMojo

测试解决测试环境 0.058
测试静音 0.059

测试GetMojo

testRemoteRepositories 1.877
testParseRepository 0.057
testRemoteRepositoriesAuthentication 0.298
测试传递 0.354

TestAnalyzeDuplicateMojo

测试重复2 0.043
测试重复 0.053

TestResolveMarkerFileFilter

测试解析文件 0

ExcludeReactorProjectsDependencyFilterTest

testRejectWithLogging 0.08
测试接受 0.059
测试拒绝 0.053

TestUnpackDependenciesMojo2

testDontOverWriteSnap 1.322
测试DontOverWriteRelease 1.224
testOverWriteSnap 1.248
测试OverWriteRelease 1.244
测试OverWriteIfNewer 1.181

排除反应堆项目ArtifactFilterTest

testFilterWithLogging 0.048
测试过滤器 0.067

TestCopyMojo

testArtifactResolutionException 0.062
testGetArtifactItems 0.074
testMojoDefaults 0.065
testSetArtifactWithoutClassifier 0.052
testCopyFileNoOverwrite 0.067
测试跳过 0.055
testCopyOverWriteReleases 0.056
testCopyStripClassifierSetInMojo 0.062
testNoArtifactItems 0.049
testArtifactNotFound 0.05
testCopyStripVersionSetInMojo 0.066
testCopyOverWriteIfNewer 0.056
testCopyOverWriteSnapshot 0.048
testMissingVersionNotFound 0.049
testCopyDontOverWriteReleases 0.259
testNonClassifierStrip 0.05
测试集工件 0.048
测试复制文件 0.056
testNonClassifierNoStrip 0.051
testCopyToLocation 0.067
testCopyDontOverWriteSnapshots 0.262
testMissingVersionFromDependenciesWithClassifier 0.06
testMissingVersionFromDependencies 0.058
testSetArtifactWithoutPackaging 0.041
testCopyFileWithBaseVersion 0.059
testMissingVersionFromDependencyMgt 0.052
testCopyFileWithOverideLocalRepo 0.061
testMissingVersionFromDependencyMgtLooseMatch 0.056
testMissingVersionFromDependencyMgtWithClassifier 0.057
testMissingVersionFromDependenciesLooseMatch 0.049

测试收集魔力

测试收集测试环境 0.071
testCollectTestEnvironment_excludeTransitive 0.064
测试静音 0.054

测试工件项

testArtifactItem构造函数 0.054
testArtifactItemDefaultType 0.072

TestClassifierTypeTranslator

测试空类型 0.064
testEmptyType 0.069
测试GetterSetter 0.054
测试分类器和类型 0.051
testEmptyClassifier 0.059
testNullClassifier 0.055

测试静默日志

测试日志 0
测试记录器 0

TestUnpackMarkerFileHandler

测试包含排除标记 0.068
测试GetterSetter 0.067
测试标记文件 0.065
测试标记时间戳 0.052
测试集标记 0.053
测试排除标记 0.058
testNullParent 0.053
testMarkerFileException 0.053
测试包括标记 0.053

TestDefaultMarkerFileHandler

测试GetterSetter 0
测试标记文件 0
测试标记时间戳 0.002
测试集标记 0.002
testNullParent 0.001
testMarkerFileException 0.001

测试依赖状态集

testDependencyStatusSettersGetters 0.043
testDependencyStatus构造函数 0.058

测试标记文件过滤器

测试GettersSetters 0
测试标记释放 0
测试标记文件 0
测试标记时间戳 0.002
测试标记快照 0.002