Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
com.sun.javatest.TestFilter

Packages that use TestFilter
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
`class` | `AllTestsFilter` Basic filter which accepts all tests presented to it.
`class` | `CompositeFilter` A filter which uses one or more filters to implement its accept method.
`class` | `ExcludeListFilter` A test filter that filters out tests that appear in an `ExcludeList`.
`class` | `InitialUrlFilter` Filters tests based on a set of initial files or URLs.
`class` | `KeywordsFilter` A test filter that filters tests according to the keywords on a test description.
`class` | `LastRunFilter` This filter designed to show only the results from the last test run.
`class` | `ObservableTestFilter` An extension to the basic test filter which provides observer capabilities.
`class` | `ParameterFilter` This filter knows how to deal with the the Parameters interface to get the necessary filtering effect.
`class` | `StatusFilter` A test filter that filters tests according to their prior execution status.

Methods in com.sun.javatest that return TestFilter
`TestFilter` | `TestSuite.createTestFilter(TestEnvironment filterEnv)` Create a test suite specific filter to be used to filter the tests to be selected for a test run.
`TestFilter` | `InterviewParameters.getExcludeListFilter()`
`TestFilter` | `Parameters.getExcludeListFilter()` Get a filter which will filter tests according to the result of getExcludeList().
`TestFilter` | `BasicParameters.getExcludeListFilter()`
`TestFilter` | `InterviewParameters.getExcludeTableFilter()` Deprecated. Use getExcludeListFilter().
`TestFilter[]` | `TestResultTable.TreeIterator.getFilters()` Find out what the effective filters are.
`TestFilter[]` | `InterviewParameters.getFilters()`
`TestFilter[]` | `Parameters.getFilters()` Get an array of the non-null filters returned from getExcludeListFilter, getKeywordsFilter, getPriorStatusFilter, and getRelevantTestFilter.
`TestFilter[]` | `CompositeFilter.getFilters()` Return the filters being used internally by this composite.
`TestFilter[]` | `BasicParameters.getFilters()`
`TestFilter` | `InterviewParameters.getKeywordsFilter()`
`TestFilter` | `Parameters.getKeywordsFilter()` Get a filter which will filter tests according to the result of getKeywords().
`TestFilter` | `BasicParameters.getKeywordsFilter()`
`TestFilter` | `InterviewParameters.getPriorStatusFilter()`
`TestFilter` | `Parameters.getPriorStatusFilter()` Get a filter which will filter tests according to the result of getPriorStatusValus().
`TestFilter` | `BasicParameters.getPriorStatusFilter()`
`TestFilter` | `InterviewParameters.getRelevantTestFilter()`
`TestFilter` | `Parameters.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` | `BasicParameters.getRelevantTestFilter()`
`TestFilter[]` | `ParameterFilter.getTestFilters()` Gets the set of filters that the parameters have supplied.

Methods in com.sun.javatest with parameters of type TestFilter
`java.util.Enumeration` | `TestResultTable.elements(java.io.File[] tests, TestFilter[] filters)` Same as getIterator() with the same args.
`java.util.Enumeration` | `TestResultTable.elements(java.lang.String[] urls, TestFilter[] filters)` This method is the same as getIterator() with the same params.
`java.util.Enumeration` | `TestResultTable.elements(java.lang.String url, TestFilter[] filters)` Get an enumarator capable of producing a filtered view of the test suite.
`java.util.Enumeration` | `TestResultTable.elements(TestFilter[] filters)` Same description as getIterator() method with same args.
`static java.util.Enumeration` | `TestResultTable.elements(TestResultTable.TreeNode node, TestFilter filter)` Same description as getIterator() method with same args.
`static java.util.Enumeration` | `TestResultTable.elements(TestResultTable.TreeNode node, TestFilter[] filters)` Same description as getIterator() method with same args.
`static boolean` | `CompositeFilter.equals(TestFilter[] array1, TestFilter[] array2)` Check if two arrays are equal, using set-equality.
`static boolean` | `CompositeFilter.equals(TestFilter[] array1, TestFilter[] array2)` Check if two arrays are equal, using set-equality.
`TestResultTable.TreeIterator` | `TestResultTable.getIterator(java.io.File[] tests, TestFilter[] filters)` Get an iterator capable of producing a filtered view of the test suite.
`TestResultTable.TreeIterator` | `TestResultTable.getIterator(java.lang.String[] paths, TestFilter[] filters)` Get an iterator capable of producing a filtered view of the test suite.
`TestResultTable.TreeIterator` | `TestResultTable.getIterator(TestFilter[] filters)` List all the tests in the tree subject to the given filters.
`static TestResultTable.TreeIterator` | `TestResultTable.getIterator(TestResultTable.TreeNode node, TestFilter filter)` Get an iterator capable of producing a filtered view of the test suite.
`static TestResultTable.TreeIterator` | `TestResultTable.getIterator(TestResultTable.TreeNode node, TestFilter[] filters)` Get an iterator capable of producing a filtered view of the test suite.
`void` | `TestFinderQueue.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.
`void` | `TestFinder.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. This functionality is no longer supported. Methods on TestResultTable should yield similar results.
`void` | `TestFilter.Observer.rejected(TestDescription d, TestFilter rejector)` Notification methodcalled when a test has been rejected.
`void` | `TestFinderQueue.setFilters(TestFilter[] filters)` Set an array of filters that will be used to filter the tests read by the test finder.

Constructors in com.sun.javatest with parameters of type TestFilter
`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

Methods in com.sun.javatest.exec that return TestFilter
`protected TestFilter` | `BasicSession.findFilter(java.lang.String name)` Supposed to be overriden when extra filters added
`TestFilter` | `BasicSession.getTestFilter(java.lang.String name)`

Methods in com.sun.javatest.exec that return types with arguments of type TestFilter
`protected java.util.List<TestFilter>` | `ET_FilterHandler.getUsersFilters()` Subclasses may override this method to insert filters like TemplateFilter

Methods in com.sun.javatest.exec with parameters of type TestFilter
`void` | `FilterConfig.Observer.filterAdded(TestFilter f)`
`void` | `FilterConfig.Observer.filterRemoved(TestFilter f)` Removing the active filter will result in an exception.
`void` | `FilterConfig.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
`TestFilter` | `ExcludeListInterview.getExcludeFilter()` Get a test filter generated from the exclude list files in the interview.
`TestFilter` | `KeywordsInterview.getKeywordFilter()` Get a test filter based on the keyword expression in the interview.
`TestFilter` | `PriorStatusInterview.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
`TestFilter` | `CustomReport.ReportEnviroment.getFilter()` Returns TestFilter object associated with this report session
`TestFilter` | `Report.Settings.getTestFilter()`

Methods in com.sun.javatest.report with parameters of type TestFilter
`abstract java.io.File` | `CustomReport.createReport(java.lang.String args, java.io.File rootDir, InterviewParameters ip, TestFilter filter)` Write a report without the context of a GUI.
`void` | `Report.Settings.setFilter(TestFilter f)`

Constructors in com.sun.javatest.report with parameters of type TestFilter
`CustomReport.ReportEnviroment(InterviewParameters ipa, TestFilter f)`
`Report(InterviewParameters params, java.io.File dir, TestFilter tf)` Deprecated. It is expected that you call writeReport() if you use this constructor.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

Copyright (c) 1996, 2010, Oracle and/or its affiliates. All rights reserved.