1 // Copyright (c) 2011 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.
6 * Class for testing the unit_test framework.
8 * @extends {testing.Test}
10 function FrameworkUnitTest() {}
12 FrameworkUnitTest.prototype = {
13 __proto__: testing.Test.prototype,
16 TEST_F('FrameworkUnitTest', 'ExpectTrueOk', function() {
20 TEST_F('FrameworkUnitTest', 'AssertTrueOk', function() {
25 * Failing version of FrameworkUnitTest.
27 * @extends {FrameworkUnitTest}
29 function FrameworkUnitTestFail() {}
31 FrameworkUnitTestFail.prototype = {
32 __proto__: FrameworkUnitTest.prototype,
38 TEST_F('FrameworkUnitTestFail', 'ExpectFailFails', function() {
42 TEST_F('FrameworkUnitTestFail', 'AssertFailFails', function() {