message: Switch FixedLengthRecordDatasetTest to use TF combinations
diff: @@ -20,17 +20,18 @@ from __future__ import print_function
  import gzip
  import os
  import zlib
  +from absl.testing import parameterized
  from tensorflow.python.data.kernel_tests import test_base
  from tensorflow.python.data.ops import readers
  +from tensorflow.python.framework import combinations
  from tensorflow.python.framework import errors
  -from tensorflow.python.framework import test_util
  from tensorflow.python.platform import test
  from tensorflow.python.util import compat
  -@test_util.run_all_in_graph_and_eager_modes
  -class FixedLengthRecordDatasetTest(test_base.DatasetTestBase):
  +class FixedLengthRecordDatasetTest(test_base.DatasetTestBase,
  + parameterized.TestCase):
  def setUp(self):
  super(FixedLengthRecordDatasetTest, self).setUp()
  @@ -126,15 +127,19 @@ class FixedLengthRecordDatasetTest(test_base.DatasetTestBase):
  with self.assertRaises(errors.OutOfRangeError):
  self.evaluate(get_next())
  + @combinations.generate(test_base.default_test_combinations())
  def testFixedLengthRecordDatasetNoCompression(self):
  self._testFixedLengthRecordDataset()
  + @combinations.generate(test_base.default_test_combinations())
  def testFixedLengthRecordDatasetGzipCompression(self):
  self._testFixedLengthRecordDataset(compression_type="GZIP")
  + @combinations.generate(test_base.default_test_combinations())
  def testFixedLengthRecordDatasetZlibCompression(self):
  self._testFixedLengthRecordDataset(compression_type="ZLIB")
  + @combinations.generate(test_base.default_test_combinations())
  def testFixedLengthRecordDatasetBuffering(self):
  test_filenames = self._createFiles()
  dataset = readers.FixedLengthRecordDataset(
  @@ -149,6 +154,7 @@ class FixedLengthRecordDatasetTest(test_base.DatasetTestBase):
  [self._record(j, i) for i in range(self._num_records)])
  self.assertDatasetProduces(dataset, expected_output=expected_output)
  + @combinations.generate(test_base.default_test_combinations())
  def testFixedLengthRecordDatasetParallelRead(self):
  test_filenames = self._createFiles()
  dataset = readers.FixedLengthRecordDataset(
  @@ -165,6 +171,7 @@ class FixedLengthRecordDatasetTest(test_base.DatasetTestBase):
  self.assertDatasetProduces(dataset, expected_output=expected_output,
  assert_items_equal=True)
  + @combinations.generate(test_base.default_test_combinations())
  def testFixedLengthRecordDatasetWrongSize(self):
  test_filenames = self._createFiles()
  dataset = readers.FixedLengthRecordDataset(
  