| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 | 29 |
| 30 #include "FrameTestHelpers.h" | 30 #include "FrameTestHelpers.h" |
| 31 #include "WebFrame.h" | 31 #include "WebFrame.h" |
| 32 #include "WebFrameImpl.h" | 32 #include "WebFrameImpl.h" |
| 33 #include "WebView.h" | 33 #include "WebView.h" |
| 34 #include "core/dom/Document.h" | 34 #include "core/dom/Document.h" |
| 35 #include "core/frame/Frame.h" | 35 #include "core/frame/Frame.h" |
| 36 | 36 |
| 37 #include <gtest/gtest.h> | 37 #include <gtest/gtest.h> |
| 38 | 38 |
| 39 using namespace WebKit; | 39 using namespace blink; |
| 40 | 40 |
| 41 namespace WebCore { | 41 namespace WebCore { |
| 42 | 42 |
| 43 namespace { | 43 namespace { |
| 44 | 44 |
| 45 class RenderTableCellDeathTest : public testing::Test { | 45 class RenderTableCellDeathTest : public testing::Test { |
| 46 protected: | 46 protected: |
| 47 static void SetUpTestCase() | 47 static void SetUpTestCase() |
| 48 { | 48 { |
| 49 // It's unfortunate that we have to get the whole browser stack to test
one RenderObject | 49 // It's unfortunate that we have to get the whole browser stack to test
one RenderObject |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 TEST_F(RenderTableCellDeathTest, CrashIfSettingUnsetColumnIndex) | 106 TEST_F(RenderTableCellDeathTest, CrashIfSettingUnsetColumnIndex) |
| 107 { | 107 { |
| 108 ASSERT_DEATH(m_cell->setCol(unsetColumnIndex), ""); | 108 ASSERT_DEATH(m_cell->setCol(unsetColumnIndex), ""); |
| 109 } | 109 } |
| 110 | 110 |
| 111 #endif | 111 #endif |
| 112 | 112 |
| 113 } | 113 } |
| 114 | 114 |
| 115 } // namespace WebCore | 115 } // namespace WebCore |
| OLD | NEW |