<commit_before>#!/usr/bin/python
# Copyright (c) 2011 The Native Client 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 pyauto_nacl  # Must be imported before pyauto
import pyauto
import nacl_utils
import random

class NaClTest(pyauto.PyUITest):
  """Tests for NaCl."""
  nexes = ['basic_object.html',
           'earth_c.html',
           'earth_cc.html',
           'ppapi_core.html',
           'ppapi_example_audio.html#mute',
           'ppapi_file_system.html',
           'ppapi_geturl.html',
           'ppapi_progress_events.html',
           # TODO(nfullagar): graphics 2d appears to lock up while waiting
           # for the replace contents flush callback. Enable this test when
           # we've figured out why this occurs and the problem is fixed.
           # 'ppapi_ppb_graphics2d.html',
           'srpc_basic.html',
           'srpc_hw.html',
           # TODO(nfullagar): enable this test when it works on trybots.
           # 'srpc_hw_fd.html',
           'srpc_nrd_xfer.html',
           'srpc_plugin.html',<commit_msg>Disable basic_object.html and srpc_nrd_xfer.html until we find out why they flake on Linux 32 bit.<commit_after>#!/usr/bin/python
# Copyright (c) 2011 The Native Client 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 pyauto_nacl  # Must be imported before pyauto
import pyauto
import nacl_utils
import random

class NaClTest(pyauto.PyUITest):
  """Tests for NaCl."""
  nexes = [# TODO(cstefansen): Figure out why multiple nexes in a page flakes
           # on Linux 32 bit (issue 1851); then uncomment the following line
           # (and similar line below)
           # 'basic_object.html',
           'earth_c.html',
           'earth_cc.html',
           'ppapi_core.html',
           'ppapi_example_audio.html#mute',
           'ppapi_file_system.html',
           'ppapi_geturl.html',
           'ppapi_progress_events.html',
           # TODO(nfullagar): graphics 2d appears to lock up while waiting
           # for the replace contents flush callback. Enable this test when
           # we've figured out why this occurs and the problem is fixed.
           # 'ppapi_ppb_graphics2d.html',
           'srpc_basic.html',
           'srpc_hw.html',
           # TODO(nfullagar): enable this test when it works on trybots.
           # 'srpc_hw_fd.html',
           # TODO(cstefansen): Figure out why multiple nexes in a page flakes
           # on Linux 32 bit (issue 1851); then uncomment the following line.
           # 'srpc_nrd_xfer.html',
           'srpc_plugin.html',
{'fraction_non_alphanumeric': 0.08597785977859779, 'fraction_numerical': 0.00959409594095941, 'mean_word_length': 2.427307206068268, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7469109', 'n_tokens_mistral': 840, 'n_tokens_neox': 783, 'n_words': 263}