class_docstr: Unit test for Google Test's XML output functionality.
class_docstr_tok: ["Unit","test","for","Google","Test","'s","XML","output","functionality","."]
docstr: Verifies XML output when run using multiple shards.
  
  Runs a test program that executes only one shard and verifies that tests
  from other shards do not show up in the XML output.
docstr_tok: ["Verifies","XML","output","when","run","using","multiple","shards",".","Runs","a","test","program","that","executes","only","one","shard","and","verifies","that","tests","from","other","shards","do","not","show","up","in","the","XML","output","."]
code: def testShardedTestXmlOutput(self):
      """Verifies XML output when run using multiple shards.
  
      Runs a test program that executes only one shard and verifies that tests
      from other shards do not show up in the XML output.
      """
  
      self._TestXmlOutput(
          GTEST_PROGRAM_NAME,
          EXPECTED_SHARDED_TEST_XML,
          0,
          extra_env={
              SHARD_INDEX_ENV_VAR: "0",
              TOTAL_SHARDS_ENV_VAR: "10",
          },
      )
  
file_path: googletest/googletest/test/gtest_xml_output_unittest.py
imports: import datetime
  import errno
  import os
  import re
  import sys
  from xml.dom import minidom, Node
  from googletest.test import gtest_test_utils
  from googletest.test import gtest_xml_test_utils
label_desc: Use image node_id 6 for calling the GTestXMLOutputUnitTest obj's underlying member method code with example usage: obj.testShardedTestXmlOutput() without return types