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

Unified Diff: runtime/vm/dart_api_impl_test.cc

Issue 1660063002: Remove many features when building product mode (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 10 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 | « runtime/vm/dart_api_impl.cc ('k') | runtime/vm/dart_entry.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/dart_api_impl_test.cc
diff --git a/runtime/vm/dart_api_impl_test.cc b/runtime/vm/dart_api_impl_test.cc
index 9feeea4f995accda741e989c0e9a2aeb5380dff9..a35bf9916aa35500208aefdd898b0c30795fd750 100644
--- a/runtime/vm/dart_api_impl_test.cc
+++ b/runtime/vm/dart_api_impl_test.cc
@@ -23,6 +23,8 @@ DECLARE_FLAG(int, optimization_counter_threshold);
DECLARE_FLAG(bool, verify_acquired_data);
DECLARE_FLAG(bool, ignore_patch_signature_mismatch);
+#ifndef PRODUCT
+
TEST_CASE(ErrorHandleBasics) {
const char* kScriptChars =
"void testMain() {\n"
@@ -396,6 +398,9 @@ TEST_CASE(CurrentStacktraceInfo) {
}
+#endif // !PRODUCT
+
+
TEST_CASE(ErrorHandleTypes) {
const String& compile_message = String::Handle(String::New("CompileError"));
const String& fatal_message = String::Handle(String::New("FatalError"));
@@ -6027,6 +6032,10 @@ TEST_CASE(LibraryName) {
EXPECT_STREQ("library1_name", cstr);
}
+
+#ifndef PRODUCT
+
+
TEST_CASE(LibraryId) {
const char* kLibrary1Chars =
"library library1_name;";
@@ -6064,6 +6073,9 @@ TEST_CASE(LibraryId) {
}
+#endif // !PRODUCT
+
+
TEST_CASE(LibraryUrl) {
const char* kLibrary1Chars =
"library library1_name;";
@@ -9166,6 +9178,9 @@ TEST_CASE(StringFromExternalTypedData) {
}
+#ifndef PRODUCT
+
+
TEST_CASE(Timeline_Dart_TimelineDuration) {
Isolate* isolate = Isolate::Current();
// Grab embedder stream.
@@ -9751,4 +9766,6 @@ TEST_CASE(Timeline_Dart_GlobalTimelineGetTrace_Threaded) {
EXPECT_SUBSTRING("\"function\":\"::_bar\"", buffer);
}
+#endif // !PRODUCT
+
} // namespace dart
« no previous file with comments | « runtime/vm/dart_api_impl.cc ('k') | runtime/vm/dart_entry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698