| 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
|
|
|