001package org.w3.ldp.paging.testsuite.tests; 002 003import java.util.ArrayList; 004import java.util.List; 005 006import org.apache.commons.cli.Options; 007import org.apache.log4j.Level; 008import org.apache.log4j.Logger; 009import org.testng.xml.XmlClass; 010import org.w3.ldp.testsuite.LdpTestSuite; 011 012public class RunPagingTest { 013 014 private static Options options = new Options(); 015 016 public static void main(String[] args){ 017 Logger.getRootLogger().setLevel(Level.OFF); 018 019 options.addOptionGroup(LdpTestSuite.addCommonOptions()); 020 options.addOptionGroup(LdpTestSuite.addEarlOptions()); 021 022 // Add classes we want to test 023 final List<XmlClass> classes = new ArrayList<>(); 024 classes.add(new XmlClass( "org.w3.ldp.paging.testsuite.tests.PagingTest")); 025 026 LdpTestSuite.executeTestSuite(args, options, "paging", classes); 027 } 028 029}