Home | History | Annotate | Download | only in policy_NotificationsBlockedForUrls
      1 # Copyright 2017 The Chromium OS Authors. All rights reserved.
      2 # Use of this source code is governed by a BSD-style license that can be
      3 # found in the LICENSE file.
      4 
      5 AUTHOR = 'krishnargv'
      6 NAME = 'policy_NotificationsBlockedForUrls'
      7 TIME = 'SHORT'
      8 TEST_CATEGORY = 'General'
      9 TEST_CLASS = 'enterprise'
     10 TEST_TYPE = 'client'
     11 
     12 DOC = '''
     13 Verify effect of NotificationsBlockedForUrls policy on Chrome OS behavior.
     14 
     15 This test verifies the effect of the NotificationsBlockedForUrls user policy on
     16 Chrome OS client behavior, when DefaultNotificationSetting=1 (i.e., allow
     17 notifications). It exercises all valid policy values across three test cases:
     18 SiteBlocked_Block, SiteAllowed_Show, and NotSet_Show.
     19 
     20 This default control file allows CloudDPC E2E tests to run any test case
     21 defined in this test via command-line.
     22 '''
     23 
     24 args_dict = utils.args_to_dict(args)
     25 
     26 job.run_test('policy_NotificationsAllowedForUrls', **args_dict)
     27