Public Member Functions
gtest_filter_unittest.GTestFilterUnitTest Class Reference

List of all members.

Public Member Functions

def AdjustForParameterizedTests
def AdjustForParameterizedTests
def AssertPartitionIsValid
def AssertPartitionIsValid
def AssertSetEqual
def AssertSetEqual
def RunAndVerify
def RunAndVerify
def RunAndVerifyAllowingDisabled
def RunAndVerifyAllowingDisabled
def RunAndVerifyWithSharding
def RunAndVerifyWithSharding
def setUp
def setUp
def testBadFilter
def testBadFilter
def testDefaultBehavior
def testDefaultBehavior
def testDefaultBehaviorWithShards
def testDefaultBehaviorWithShards
def testEmptyFilter
def testEmptyFilter
def testFilterByTest
def testFilterByTest
def testFilterByTestCase
def testFilterByTestCase
def testFilterDisabledTests
def testFilterDisabledTests
def testFilterWithoutDot
def testFilterWithoutDot
def testFlagOverridesEnvVar
def testFlagOverridesEnvVar
def testFullName
def testFullName
def testNegativeFilters
def testNegativeFilters
def testShardingWorksWithDeathTests
def testShardingWorksWithDeathTests
def testShardStatusFileIsCreated
def testShardStatusFileIsCreated
def testShardStatusFileIsCreatedWithListTests
def testShardStatusFileIsCreatedWithListTests
def testThreePatterns
def testThreePatterns
def testTwoPatterns
def testTwoPatterns
def testUniversalFilters
def testUniversalFilters
def testWildcardInTestCaseName
def testWildcardInTestCaseName
def testWildcardInTestName
def testWildcardInTestName

Detailed Description

Tests the env variable or the command line flag to filter tests.

Definition at line 225 of file gmock/gtest/test/gtest_filter_unittest.py.


Member Function Documentation

Adjust tests_to_run in case value parameterized tests are disabled.

Definition at line 248 of file gmock/gtest/test/gtest_filter_unittest.py.

Adjust tests_to_run in case value parameterized tests are disabled.

Definition at line 248 of file gtest/test/gtest_filter_unittest.py.

def gtest_filter_unittest.GTestFilterUnitTest.AssertPartitionIsValid (   self,
  set_var,
  list_of_sets 
)
Asserts that list_of_sets is a valid partition of set_var.

Definition at line 239 of file gmock/gtest/test/gtest_filter_unittest.py.

def gtest_filter_unittest.GTestFilterUnitTest.AssertPartitionIsValid (   self,
  set_var,
  list_of_sets 
)
Asserts that list_of_sets is a valid partition of set_var.

Definition at line 239 of file gtest/test/gtest_filter_unittest.py.

Asserts that two sets are equal.

Definition at line 230 of file gmock/gtest/test/gtest_filter_unittest.py.

Asserts that two sets are equal.

Definition at line 230 of file gtest/test/gtest_filter_unittest.py.

def gtest_filter_unittest.GTestFilterUnitTest.RunAndVerify (   self,
  gtest_filter,
  tests_to_run 
)
Checks that the binary runs correct set of tests for a given filter.

Definition at line 257 of file gmock/gtest/test/gtest_filter_unittest.py.

def gtest_filter_unittest.GTestFilterUnitTest.RunAndVerify (   self,
  gtest_filter,
  tests_to_run 
)
Checks that the binary runs correct set of tests for a given filter.

Definition at line 257 of file gtest/test/gtest_filter_unittest.py.

def gtest_filter_unittest.GTestFilterUnitTest.RunAndVerifyAllowingDisabled (   self,
  gtest_filter,
  tests_to_run 
)
Checks that the binary runs correct set of tests for the given filter.

Runs gtest_filter_unittest_ with the given filter, and enables
disabled tests. Verifies that the right set of tests were run.

Args:
  gtest_filter: A filter to apply to the tests.
  tests_to_run: A set of tests expected to run.

Definition at line 325 of file gtest/test/gtest_filter_unittest.py.

def gtest_filter_unittest.GTestFilterUnitTest.RunAndVerifyAllowingDisabled (   self,
  gtest_filter,
  tests_to_run 
)
Checks that the binary runs correct set of tests for the given filter.

Runs gtest_filter_unittest_ with the given filter, and enables
disabled tests. Verifies that the right set of tests were run.

Args:
  gtest_filter: A filter to apply to the tests.
  tests_to_run: A set of tests expected to run.

Definition at line 325 of file gmock/gtest/test/gtest_filter_unittest.py.

def gtest_filter_unittest.GTestFilterUnitTest.RunAndVerifyWithSharding (   self,
  gtest_filter,
  total_shards,
  tests_to_run,
  args = None,
  check_exit_0 = False 
)
Checks that binary runs correct tests for the given filter and shard.

Runs all shards of gtest_filter_unittest_ with the given filter, and
verifies that the right set of tests were run. The union of tests run
on each shard should be identical to tests_to_run, without duplicates.

Args:
  gtest_filter: A filter to apply to the tests.
  total_shards: A total number of shards to split test run into.
  tests_to_run: A set of tests expected to run.
  args   :      Arguments to pass to the to the test binary.
  check_exit_0: When set to a true value, make sure that all shards
            return 0.

Definition at line 287 of file gmock/gtest/test/gtest_filter_unittest.py.

def gtest_filter_unittest.GTestFilterUnitTest.RunAndVerifyWithSharding (   self,
  gtest_filter,
  total_shards,
  tests_to_run,
  args = None,
  check_exit_0 = False 
)
Checks that binary runs correct tests for the given filter and shard.

Runs all shards of gtest_filter_unittest_ with the given filter, and
verifies that the right set of tests were run. The union of tests run
on each shard should be identical to tests_to_run, without duplicates.

Args:
  gtest_filter: A filter to apply to the tests.
  total_shards: A total number of shards to split test run into.
  tests_to_run: A set of tests expected to run.
  args   :      Arguments to pass to the to the test binary.
  check_exit_0: When set to a true value, make sure that all shards
            return 0.

Definition at line 287 of file gtest/test/gtest_filter_unittest.py.

Sets up test case.

Determines whether value-parameterized tests are enabled in the binary and
sets the flags accordingly.

Definition at line 346 of file gtest/test/gtest_filter_unittest.py.

Sets up test case.

Determines whether value-parameterized tests are enabled in the binary and
sets the flags accordingly.

Definition at line 346 of file gmock/gtest/test/gtest_filter_unittest.py.

Tests a filter that matches nothing.

Definition at line 379 of file gtest/test/gtest_filter_unittest.py.

Tests a filter that matches nothing.

Definition at line 379 of file gmock/gtest/test/gtest_filter_unittest.py.

Tests the behavior of not specifying the filter.

Definition at line 358 of file gmock/gtest/test/gtest_filter_unittest.py.

Tests the behavior of not specifying the filter.

Definition at line 358 of file gtest/test/gtest_filter_unittest.py.

Tests the behavior without the filter, with sharding enabled.

Definition at line 363 of file gtest/test/gtest_filter_unittest.py.

Tests the behavior without the filter, with sharding enabled.

Definition at line 363 of file gmock/gtest/test/gtest_filter_unittest.py.

Tests an empty filter.

Definition at line 372 of file gtest/test/gtest_filter_unittest.py.

Tests an empty filter.

Definition at line 372 of file gmock/gtest/test/gtest_filter_unittest.py.

Tests filtering by test name.

Definition at line 411 of file gtest/test/gtest_filter_unittest.py.

Tests filtering by test name.

Definition at line 411 of file gmock/gtest/test/gtest_filter_unittest.py.

Tests filtering by test case name.

Definition at line 401 of file gtest/test/gtest_filter_unittest.py.

Tests filtering by test case name.

Definition at line 401 of file gmock/gtest/test/gtest_filter_unittest.py.

Select only the disabled tests to run.

Definition at line 416 of file gmock/gtest/test/gtest_filter_unittest.py.

Select only the disabled tests to run.

Definition at line 416 of file gtest/test/gtest_filter_unittest.py.

Tests a filter that has no '.' in it.

Definition at line 458 of file gmock/gtest/test/gtest_filter_unittest.py.

Tests a filter that has no '.' in it.

Definition at line 458 of file gtest/test/gtest_filter_unittest.py.

Tests that the filter flag overrides the filtering env. variable.

Definition at line 563 of file gmock/gtest/test/gtest_filter_unittest.py.

Tests that the filter flag overrides the filtering env. variable.

Definition at line 563 of file gtest/test/gtest_filter_unittest.py.

Tests filtering by full name.

Definition at line 385 of file gtest/test/gtest_filter_unittest.py.

Tests filtering by full name.

Definition at line 385 of file gmock/gtest/test/gtest_filter_unittest.py.

Definition at line 511 of file gtest/test/gtest_filter_unittest.py.

Definition at line 511 of file gmock/gtest/test/gtest_filter_unittest.py.

Tests integration with death tests and sharding.

Definition at line 611 of file gmock/gtest/test/gtest_filter_unittest.py.

Tests integration with death tests and sharding.

Definition at line 611 of file gtest/test/gtest_filter_unittest.py.

Tests that the shard file is created if specified in the environment.

Definition at line 573 of file gtest/test/gtest_filter_unittest.py.

Tests that the shard file is created if specified in the environment.

Definition at line 573 of file gmock/gtest/test/gtest_filter_unittest.py.

Tests that the shard file is created with the "list_tests" flag.

Definition at line 587 of file gmock/gtest/test/gtest_filter_unittest.py.

Tests that the shard file is created with the "list_tests" flag.

Definition at line 587 of file gtest/test/gtest_filter_unittest.py.

Tests filters that consist of three patterns.

Definition at line 482 of file gtest/test/gtest_filter_unittest.py.

Tests filters that consist of three patterns.

Definition at line 482 of file gmock/gtest/test/gtest_filter_unittest.py.

Tests filters that consist of two patterns.

Definition at line 469 of file gtest/test/gtest_filter_unittest.py.

Tests filters that consist of two patterns.

Definition at line 469 of file gmock/gtest/test/gtest_filter_unittest.py.

Tests filters that match everything.

Definition at line 392 of file gmock/gtest/test/gtest_filter_unittest.py.

Tests filters that match everything.

Definition at line 392 of file gtest/test/gtest_filter_unittest.py.

Tests using wildcard in the test case name.

Definition at line 441 of file gmock/gtest/test/gtest_filter_unittest.py.

Tests using wildcard in the test case name.

Definition at line 441 of file gtest/test/gtest_filter_unittest.py.

Tests using wildcard in the test name.

Definition at line 453 of file gtest/test/gtest_filter_unittest.py.

Tests using wildcard in the test name.

Definition at line 453 of file gmock/gtest/test/gtest_filter_unittest.py.


The documentation for this class was generated from the following files:


ros_opcua_impl_freeopcua
Author(s): Denis Štogl
autogenerated on Sat Jun 8 2019 18:24:59