Flutter Engine
The Flutter Engine
Classes | Namespaces | Macros | Functions | Variables
unit_test.cc File Reference
#include "vm/unit_test.h"
#include <stdio.h>
#include "bin/builtin.h"
#include "bin/dartutils.h"
#include "bin/isolate_data.h"
#include "platform/globals.h"
#include "platform/uri.h"
#include "vm/compiler/assembler/assembler.h"
#include "vm/compiler/assembler/disassembler.h"
#include "vm/compiler/jit/compiler.h"
#include "vm/dart_api_impl.h"
#include "vm/isolate_reload.h"
#include "vm/kernel_isolate.h"
#include "vm/parser.h"
#include "vm/symbols.h"
#include "vm/thread.h"
#include "vm/virtual_memory.h"

Go to the source code of this file.

Classes

struct  dart::TestLibEntry
 
struct  dart::NativeEntries
 

Namespaces

namespace  dart
 

Macros

#define RELOAD_NATIVE_LIST(V)
 

Functions

 dart::DECLARE_FLAG (bool, gc_during_reload)
 
 dart::DECLARE_FLAG (bool, force_evacuation)
 
void dart::SetupCoreLibrariesForUnitTest ()
 
static const char * dart::IsolateReloadTestLibUri ()
 
 dart::RELOAD_NATIVE_LIST (DECLARE_FUNCTION)
 
static Dart_NativeFunction dart::IsolateReloadTestNativeResolver (Dart_Handle name, int argument_count, bool *auto_setup_scope)
 
void FUNCTION_NAME() dart::Test_Reload (Dart_NativeArguments native_args)
 
void FUNCTION_NAME() dart::Test_CollectNewSpace (Dart_NativeArguments native_args)
 
void FUNCTION_NAME() dart::Test_CollectOldSpace (Dart_NativeArguments native_args)
 
static void dart::LoadIsolateReloadTestLibIfNeeded (const char *script)
 
static Dart_Handle dart::LibraryTagHandler (Dart_LibraryTag tag, Dart_Handle library, Dart_Handle url)
 
static intptr_t dart::BuildSourceFilesArray (Dart_SourceFile **sourcefiles, const char *script, const char *script_url=RESOLVED_USER_TEST_URI)
 
static void dart::MallocFinalizer (void *isolate_callback_data, void *peer)
 
void dart::ElideJSONSubstring (const char *prefix, const char *in, char *out, const char *postfix)
 
void dart::StripTokenPositions (char *buffer)
 

Variables

const uint8_t kPlatformStrongDill []
 
intptr_t kPlatformStrongDillSize
 
const uint8_t * dart::platform_strong_dill = kPlatformStrongDill
 
const intptr_t dart::platform_strong_dill_size = kPlatformStrongDillSize
 
static MallocGrowableArray< TestLibEntry > * dart::test_libs_ = nullptr
 
static const char * dart::kIsolateReloadTestLibSource
 
static struct dart::NativeEntries dart::ReloadEntries [] = {RELOAD_NATIVE_LIST(REGISTER_FUNCTION)}
 

Macro Definition Documentation

◆ RELOAD_NATIVE_LIST

#define RELOAD_NATIVE_LIST (   V)
Value:
V(Test_Reload, 0) \
void FUNCTION_NAME() Test_CollectNewSpace(Dart_NativeArguments native_args)
Definition: unit_test.cc:274
void FUNCTION_NAME() Test_Reload(Dart_NativeArguments native_args)
Definition: unit_test.cc:266
void FUNCTION_NAME() Test_CollectOldSpace(Dart_NativeArguments native_args)
Definition: unit_test.cc:279
#define V(name)
Definition: raw_object.h:125

Definition at line 232 of file unit_test.cc.

Variable Documentation

◆ kPlatformStrongDill

const uint8_t kPlatformStrongDill[]
extern

◆ kPlatformStrongDillSize

intptr_t kPlatformStrongDillSize
extern