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

Unified Diff: trunk/src/ppapi/tests/test_compositor.h

Issue 342323006: Revert 278728 "[PPAPI] Add browser tests for compositor API" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 6 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « trunk/src/ppapi/proxy/compositor_resource.cc ('k') | trunk/src/ppapi/tests/test_compositor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/ppapi/tests/test_compositor.h
===================================================================
--- trunk/src/ppapi/tests/test_compositor.h (revision 278764)
+++ trunk/src/ppapi/tests/test_compositor.h (working copy)
@@ -1,52 +0,0 @@
-// Copyright (c) 2014 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.
-
-#ifndef PAPPI_TESTS_TEST_COMPOSITOR_H_
-#define PAPPI_TESTS_TEST_COMPOSITOR_H_
-
-#include <set>
-#include <string>
-
-#include "ppapi/cpp/compositor.h"
-#include "ppapi/cpp/compositor_layer.h"
-#include "ppapi/cpp/graphics_3d.h"
-#include "ppapi/lib/gl/include/GLES2/gl2.h"
-#include "ppapi/tests/test_case.h"
-
-class TestCompositor : public TestCase {
- public:
- TestCompositor(TestingInstance* instance) : TestCase(instance) {}
-
- // TestCase implementation.
- virtual bool Init();
- virtual void RunTests(const std::string& filter);
-
- private:
- // Various tests.
- std::string TestRelease();
- std::string TestReleaseWithoutCommit();
- std::string TestCommitTwoTimesWithoutChange();
- std::string TestGeneral();
-
- std::string TestReleaseUnbound();
- std::string TestReleaseWithoutCommitUnbound();
- std::string TestCommitTwoTimesWithoutChangeUnbound();
- std::string TestGeneralUnbound();
-
- std::string TestBindUnbind();
-
- std::string TestReleaseInternal(bool bind);
- std::string TestReleaseWithoutCommitInternal(bool bind);
- std::string TestCommitTwoTimesWithoutChangeInternal(bool bind);
- std::string TestGeneralInternal(bool bind);
-
- // Helper functions
- std::string CreateTexture(uint32_t* texture);
- std::string ReleaseTexture(uint32_t texture);
- std::string CreateImage(pp::ImageData* image);
- std::string SetColorLayer(pp::CompositorLayer layer, int32_t result);
-
-};
-
-#endif // PAPPI_TESTS_TEST_COMPOSItor_H_
« no previous file with comments | « trunk/src/ppapi/proxy/compositor_resource.cc ('k') | trunk/src/ppapi/tests/test_compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698