Uses of Class
com.sun.javatest.TestFilter
-
Packages that use TestFilter Package Description com.sun.javatest This package provides facilities for reading, executing and monitoring tests.com.sun.javatest.exec The Test Manager Tool provides a GUI for opening, browsing, configuring, and running tests and test suites, and for browsing the results.com.sun.javatest.interview This package provides a configuration interview for legacy test suites which do not provide their own interview, and also provides sub-interviews which may be used to build a custom interview with standard questions for the standard sections.com.sun.javatest.report This package provides API for generating reports about test runs. -
-
Uses of TestFilter in com.sun.javatest
Subclasses of TestFilter in com.sun.javatest Modifier and Type Class Description classAllTestsFilterBasic filter which accepts all tests presented to it.classCompositeFilterA filter which uses one or more filters to implement its accept method.classExcludeListFilterA test filter that filters out tests that appear in anExcludeList.classInitialUrlFilterFilters tests based on a set of initial files or URLs.classKeywordsFilterA test filter that filters tests according to the keywords on a test description.classLastRunFilterThis filter designed to show only the results from the last test run.classObservableTestFilterAn extension to the basic test filter which provides observer capabilities.classParameterFilterThis filter knows how to deal with the the Parameters interface to get the necessary filtering effect.classStatusFilterA test filter that filters tests according to their prior execution status.Methods in com.sun.javatest that return TestFilter Modifier and Type Method Description TestFilterTestSuite. createTestFilter(TestEnvironment filterEnv)Create a test suite specific filter to be used to filter the tests to be selected for a test run.TestFilterBasicParameters. getExcludeListFilter()TestFilterInterviewParameters. getExcludeListFilter()TestFilterParameters. getExcludeListFilter()Get a filter which will filter tests according to the result of getExcludeList().TestFilterInterviewParameters. getExcludeTableFilter()Deprecated.Use getExcludeListFilter().TestFilter[]BasicParameters. getFilters()TestFilter[]CompositeFilter. getFilters()Return the filters being used internally by this composite.TestFilter[]InterviewParameters. getFilters()TestFilter[]Parameters. getFilters()Get an array of the non-null filters returned from getExcludeListFilter, getKeywordsFilter, getPriorStatusFilter, and getRelevantTestFilter.TestFilter[]TestResultTable.TreeIterator. getFilters()Find out what the effective filters are.TestFilterBasicParameters. getKeywordsFilter()TestFilterInterviewParameters. getKeywordsFilter()TestFilterParameters. getKeywordsFilter()Get a filter which will filter tests according to the result of getKeywords().TestFilterBasicParameters. getPriorStatusFilter()TestFilterInterviewParameters. getPriorStatusFilter()TestFilterParameters. getPriorStatusFilter()Get a filter which will filter tests according to the result of getPriorStatusValus().TestFilterBasicParameters. getRelevantTestFilter()TestFilterInterviewParameters. getRelevantTestFilter()TestFilterParameters. getRelevantTestFilter()Get a test-suite specific filter which will filter tests according to test-suite-specific criteria, as perhaps determined by a configuration interview.TestFilter[]ParameterFilter. getTestFilters()Gets the set of filters that the parameters have supplied.Methods in com.sun.javatest that return types with arguments of type TestFilter Modifier and Type Method Description java.util.HashMap<TestFilter,java.util.ArrayList<TestDescription>>TestResultTable.TreeIterator. getFilterStats()Find out which filters rejected which tests.Methods in com.sun.javatest with parameters of type TestFilter Modifier and Type Method Description java.util.Enumeration<TestResult>TestResultTable. elements(TestFilter... filters)Same description as getIterator() method with same args.static java.util.Enumeration<TestResult>TestResultTable. elements(TestResultTable.TreeNode node, TestFilter filter)Same description as getIterator() method with same args.static java.util.Enumeration<TestResult>TestResultTable. elements(TestResultTable.TreeNode node, TestFilter... filters)Same description as getIterator() method with same args.java.util.Enumeration<TestResult>TestResultTable. elements(java.io.File[] tests, TestFilter... filters)Same as getIterator() with the same args.java.util.Enumeration<TestResult>TestResultTable. elements(java.lang.String[] urls, TestFilter... filters)This method is the same as getIterator() with the same params.java.util.Enumeration<TestResult>TestResultTable. elements(java.lang.String url, TestFilter... filters)Get an enumerator capable of producing a filtered view of the test suite.static booleanCompositeFilter. equals(TestFilter[] array1, TestFilter... array2)Check if two arrays are equal, using set-equality.TestResultTable.TreeIteratorTestResultTable. getIterator(TestFilter... filters)List all the tests in the tree subject to the given filters.static TestResultTable.TreeIteratorTestResultTable. getIterator(TestResultTable.TreeNode node, TestFilter filter)Get an iterator capable of producing a filtered view of the test suite.static TestResultTable.TreeIteratorTestResultTable. getIterator(TestResultTable.TreeNode node, TestFilter... filters)Get an iterator capable of producing a filtered view of the test suite.TestResultTable.TreeIteratorTestResultTable. getIterator(java.io.File[] tests, TestFilter... filters)Get an iterator capable of producing a filtered view of the test suite.TestResultTable.TreeIteratorTestResultTable. getIterator(java.lang.String[] paths, TestFilter... filters)Get an iterator capable of producing a filtered view of the test suite.voidTestFinderQueue.Observer. ignored(TestDescription td, TestFilter f)A test description which was previously found, has been rejected by a test filter, and so has not been put in the queue of tests to be executed.voidTestFinder. init(java.lang.String[] args, java.io.File testSuiteRoot, java.io.File[] tests, TestFilter[] filters, TestEnvironment env)Deprecated.Use one of the other init() methods.voidTestFilter.Observer. rejected(TestDescription d, TestFilter rejector)Notification method called when a test has been rejected.voidTestFinderQueue. setFilters(TestFilter... filters)Set an array of filters that will be used to filter the tests read by the test finder.Method parameters in com.sun.javatest with type arguments of type TestFilter Modifier and Type Method Description voidHarness. notifyOfTheFinalStats(java.util.Map<TestFilter,java.util.List<TestDescription>> filterStats, int... stats)Informs all the observers of the final stats gathered after the test rundefault voidHarness.Observer. notifyOfTheFinalStats(java.util.Map<TestFilter,java.util.List<TestDescription>> filterStats, int... stats)Is called when final test run stats are available for evaluation.Constructors in com.sun.javatest with parameters of type TestFilter Constructor Description CompositeFilter(TestFilter... filters)Construct an unnamed filter composed of the given filters.CompositeFilter(TestFilter[] filters, I18NResourceBundle bundle, java.lang.String prefix)This is the preferred constructor which creates a filter composed of the given filters, with descriptive string from a resource bundle. -
Uses of TestFilter in com.sun.javatest.exec
Fields in com.sun.javatest.exec with type parameters of type TestFilter Modifier and Type Field Description protected java.util.Vector<TestFilter>ET_FilterHandler. allFiltersMethods in com.sun.javatest.exec that return TestFilter Modifier and Type Method Description protected TestFilterBasicSession. findFilter(java.lang.String name)Supposed to be overridden when extra filters addedTestFilterBasicSession. getTestFilter(java.lang.String name)Methods in com.sun.javatest.exec that return types with arguments of type TestFilter Modifier and Type Method Description protected java.util.List<TestFilter>ET_FilterHandler. getUsersFilters()Subclasses may override this method to insert filters like TemplateFilterMethods in com.sun.javatest.exec with parameters of type TestFilter Modifier and Type Method Description voidFilterConfig.Observer. filterAdded(TestFilter f)voidFilterConfig.Observer. filterRemoved(TestFilter f)Removing the active filter will result in an exception.voidFilterConfig.Observer. filterUpdated(TestFilter f)The state of the given filter has changed. -
Uses of TestFilter in com.sun.javatest.interview
Methods in com.sun.javatest.interview that return TestFilter Modifier and Type Method Description TestFilterExcludeListInterview. getExcludeFilter()Get a test filter generated from the exclude list files in the interview.TestFilterKeywordsInterview. getKeywordFilter()Get a test filter based on the keyword expression in the interview.TestFilterPriorStatusInterview. getStatusFilter()Get a test filter generated from the status test values in the interview. -
Uses of TestFilter in com.sun.javatest.report
Methods in com.sun.javatest.report that return TestFilter Modifier and Type Method Description TestFilterReportSettings. getTestFilter()Methods in com.sun.javatest.report with parameters of type TestFilter Modifier and Type Method Description abstract java.io.FileCustomReport. createReport(java.lang.String args, java.io.File rootDir, InterviewParameters ip, TestFilter filter)Write a report without the context of a GUI.voidReport.Settings. setFilter(TestFilter testFilter)Deprecated.voidReportSettings. setFilter(TestFilter f)Constructors in com.sun.javatest.report with parameters of type TestFilter Constructor Description Report(InterviewParameters params, java.io.File dir, TestFilter tf)Deprecated.It is expected that you call writeReport() if you use this constructor.
-