Content deleted Content added
add move disputes |
add some vandalism tests |
||
Line 100:
--------------------------------------------------------------------------------
function suite:
self:assertCategoryEquals('Wikipedia pages move-protected due to dispute', 'move', 'full', 0, 'dispute', nil)
end
Line 132:
end
--------------------------------------------------------------------------------
-- Categories: edit-semi-vandalism
--------------------------------------------------------------------------------
function suite:testCategory_edit_semi_user_vandalism_all()
self:assertCategoryEquals('Wikipedia semi-protected user and user talk pages', 'edit', 'semi', 2, 'vandalism', nil)
end
function suite:testCategory_edit_semi_usertalk_vandalism_all()
self:assertCategoryEquals('Wikipedia semi-protected user and user talk pages', 'edit', 'semi', 3, 'vandalism', nil)
end
function suite:testCategory_edit_semi_file_vandalism_all()
self:assertCategoryEquals('Semi-protected images', 'edit', 'semi', 6, 'vandalism', nil)
end
function suite:testCategory_edit_semi_wikipedia_vandalism_all()
self:assertCategoryEquals('Semi-protected project pages', 'edit', 'semi', 4, 'vandalism', nil)
end
function suite:testCategory_edit_semi_help_vandalism_all()
self:assertCategoryEquals('Semi-protected project pages', 'edit', 'semi', 12, 'vandalism', nil)
end
function suite:testCategory_edit_semi_portal_vandalism_all()
self:assertCategoryEquals('Semi-protected portals', 'edit', 'semi', 100, 'vandalism', nil)
end
function suite:testCategory_edit_semi_template_vandalism_all()
self:assertCategoryEquals('Wikipedia semi-protected templates', 'edit', 'semi', 10, 'vandalism', nil)
end
function suite:testCategory_edit_semi_talk_vandalism_all()
self:assertCategoryEquals('Semi-protected talk pages', 'edit', 'semi', 1, 'vandalism', nil)
end
function suite:testCategory_edit_semi_main_vandalism_all()
self:assertCategoryEquals('Wikipedia pages semi-protected against vandalism', 'edit', 'semi', 0, 'vandalism', nil)
end
return suite
|