docstr: Tests using aliases in specifying --gtest_color.
docstr_tok: ["Tests","using","aliases","in","specifying","--","gtest_color","."]
code: def testAliasesOfYesAndNo(self):
      """Tests using aliases in specifying --gtest_color."""
  
      self.assertTrue(UsesColor("dumb", None, "true"))
      self.assertTrue(UsesColor("dumb", None, "YES"))
      self.assertTrue(UsesColor("dumb", None, "T"))
      self.assertTrue(UsesColor("dumb", None, "1"))
  
      self.assertTrue(not UsesColor("xterm", None, "f"))
      self.assertTrue(not UsesColor("xterm", None, "false"))
      self.assertTrue(not UsesColor("xterm", None, "0"))
      self.assertTrue(not UsesColor("xterm", None, "unknown"))
  
file_path: googletest/googletest/test/googletest-color-test.py
imports: import os
  from googletest.test import gtest_test_utils
label_desc: Use image node_id 5 for calling the GTestColorTest obj's underlying member method code with example usage: obj.testAliasesOfYesAndNo() without return types