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

Side by Side Diff: third_party/WebKit/Source/platform/testing/UnitTestHelpers.h

Issue 2920383004: Reland of Moves mojo_js_integration_tests into blink. (Closed)
Patch Set: Created 3 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 45
46 void EnterRunLoop(); 46 void EnterRunLoop();
47 void ExitRunLoop(); 47 void ExitRunLoop();
48 48
49 void YieldCurrentThread(); 49 void YieldCurrentThread();
50 50
51 // Returns Blink top directory as an absolute path, e.g. 51 // Returns Blink top directory as an absolute path, e.g.
52 // /src/third_party/WebKit. 52 // /src/third_party/WebKit.
53 String BlinkRootDir(); 53 String BlinkRootDir();
54 54
55 // Returns directory containing the current executable as absolute path.
56 String ExecutableDir();
57
55 // Returns test data absolute path for webkit_unit_tests, i.e. 58 // Returns test data absolute path for webkit_unit_tests, i.e.
56 // <blinkRootDir>/Source/web/tests/data/<relativePath>. 59 // <blinkRootDir>/Source/web/tests/data/<relativePath>.
57 // It returns the top web test directory if |relativePath| was not specified. 60 // It returns the top web test directory if |relativePath| was not specified.
58 String WebTestDataPath(const String& relative_path = String()); 61 String WebTestDataPath(const String& relative_path = String());
59 62
60 // Returns test data absolute path for blink_platform_unittests, i.e. 63 // Returns test data absolute path for blink_platform_unittests, i.e.
61 // <blinkRootDir>/Source/platform/testing/data/<relativePath>. 64 // <blinkRootDir>/Source/platform/testing/data/<relativePath>.
62 // It returns the top platform test directory if |relativePath| was not 65 // It returns the top platform test directory if |relativePath| was not
63 // specified. 66 // specified.
64 String PlatformTestDataPath(const String& relative_path = String()); 67 String PlatformTestDataPath(const String& relative_path = String());
65 68
66 PassRefPtr<SharedBuffer> ReadFromFile(const String& path); 69 PassRefPtr<SharedBuffer> ReadFromFile(const String& path);
67 70
68 } // namespace testing 71 } // namespace testing
69 } // namespace blink 72 } // namespace blink
70 73
71 #endif 74 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/mojo/tests/OWNERS ('k') | third_party/WebKit/Source/platform/testing/UnitTestHelpers.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698