summaryrefslogtreecommitdiffstats
path: root/third_party/libwebrtc/build/android/pylib/base/output_manager_test_case.py
blob: 0d83f082f84b416a5bc0669eb8d4ee2cbcc22805 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Copyright 2017 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.


import os.path
import unittest


class OutputManagerTestCase(unittest.TestCase):

  def assertUsableTempFile(self, archived_tempfile):
    self.assertTrue(bool(archived_tempfile.name))
    self.assertTrue(os.path.exists(archived_tempfile.name))
    self.assertTrue(os.path.isfile(archived_tempfile.name))