Logo Search packages:      
Sourcecode: chromium-browser version File versions  Download package


// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "base/basictypes.h"
#include "base/file_path.h"
#include "base/platform_thread.h"
#include "net/base/net_util.h"
#include "chrome/test/ui/ui_test.h"

typedef UITest ImagesTest;

TEST_F(ImagesTest, AnimatedGIFs) {
  FilePath test_file(test_data_directory_);
  test_file = test_file.AppendASCII("animated-gifs.html");

  // Let the GIFs fully animate.

  std::wstring page_title = L"animated gif test";
  EXPECT_EQ(page_title, GetActiveTabTitle());

  // UI test framework will check if this crashed.

Generated by  Doxygen 1.6.0   Back to index