Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(487)

Side by Side Diff: third_party/WebKit/Source/bindings/scripts/idl_definitions_test.py

Issue 2581613002: Use real IDL types in unit test stubs. (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 # Copyright 2016 The Chromium 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 # pylint: disable=import-error,print-statement,relative-import
6
7 """Unit tests for idl_definitions.py."""
8
9 import unittest
10
11 from idl_definitions import IdlAttribute
12
13
14 class IdlAttributeTest(unittest.TestCase):
15
16 def test_no_params(self):
17 try:
18 IdlAttribute()
19 except Exception as exception: # pylint: disable=broad-except
20 self.fail('Creating an IdlAttribute with no parameters raised'
21 'an exception: {}.'.format(exception))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698