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

Unified Diff: mojo/public/cpp/bindings/tests/validation_util.h

Issue 2250183003: Make the fuchsia mojo/public repo the source of truth. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 4 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
Index: mojo/public/cpp/bindings/tests/validation_util.h
diff --git a/mojo/public/cpp/bindings/tests/validation_util.h b/mojo/public/cpp/bindings/tests/validation_util.h
deleted file mode 100644
index 5e23a5f0ca31b2d2ec3e82fe53433ae2cce02cf0..0000000000000000000000000000000000000000
--- a/mojo/public/cpp/bindings/tests/validation_util.h
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright 2016 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.
-
-// This file contains utility functions for reading and parsing validation data
-// files.
-
-#ifndef MOJO_PUBLIC_CPP_BINDINGS_TESTS_VALIDATION_UTIL_H_
-#define MOJO_PUBLIC_CPP_BINDINGS_TESTS_VALIDATION_UTIL_H_
-
-#include <stddef.h>
-#include <stdint.h>
-
-#include <string>
-#include <vector>
-
-namespace mojo {
-namespace test {
-namespace validation_util {
-
-// Given |test_name|, which is the filename of a test file (excluding the
-// extension), reads in and parses the binary test data (stored in |data|), the
-// number of expected handles (stored in |num_handles|), and the expected
-// validation string (stored in |expected|).
-bool ReadTestCase(const std::string& test_name,
- std::vector<uint8_t>* data,
- size_t* num_handles,
- std::string* expected);
-
-// Gets a list of matching tests with prefix |prefix|; these list of tests are
-// file names of the tests, without the '.data' extension.
-std::vector<std::string> GetMatchingTests(const std::string& prefix);
-
-} // namespace validation_util
-} // namespace test
-} // namespace mojo
-
-#endif // MOJO_PUBLIC_CPP_BINDINGS_TESTS_VALIDATION_UTIL_H_
« no previous file with comments | « mojo/public/cpp/bindings/tests/validation_unittest.cc ('k') | mojo/public/cpp/bindings/tests/validation_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698