Flutter Engine
The Flutter Engine
Classes | Namespaces | Functions
isolate_reload_test.cc File Reference
#include <array>
#include "include/dart_api.h"
#include "include/dart_tools_api.h"
#include "platform/assert.h"
#include "vm/debugger_api_impl_test.h"
#include "vm/globals.h"
#include "vm/isolate.h"
#include "vm/kernel_loader.h"
#include "vm/lockers.h"
#include "vm/thread_barrier.h"
#include "vm/thread_pool.h"
#include "vm/unit_test.h"

Go to the source code of this file.

Classes

class  dart::CidCountingVisitor
 

Namespaces

namespace  dart
 

Functions

int64_t dart::SimpleInvoke (Dart_Handle lib, const char *method)
 
const char * dart::SimpleInvokeStr (Dart_Handle lib, const char *method)
 
Dart_Handle dart::SimpleInvokeError (Dart_Handle lib, const char *method)
 
 dart::TEST_CASE (IsolateReload_FunctionReplacement)
 
 dart::TEST_CASE (IsolateReload_IncrementalCompile)
 
 dart::TEST_CASE (IsolateReload_KernelIncrementalCompile)
 
 dart::TEST_CASE (IsolateReload_KernelIncrementalCompileAppAndLib)
 
 dart::TEST_CASE (IsolateReload_KernelIncrementalCompileGenerics)
 
 dart::TEST_CASE (IsolateReload_KernelIncrementalCompileBaseClass)
 
 dart::TEST_CASE (IsolateReload_BadClass)
 
 dart::TEST_CASE (IsolateReload_StaticValuePreserved)
 
 dart::TEST_CASE (IsolateReload_SavedClosure)
 
 dart::TEST_CASE (IsolateReload_TopLevelFieldAdded)
 
 dart::TEST_CASE (IsolateReload_ClassFieldAdded)
 
 dart::TEST_CASE (IsolateReload_ClassFieldAdded2)
 
 dart::TEST_CASE (IsolateReload_ClassFieldRemoved)
 
 dart::TEST_CASE (IsolateReload_ClassAdded)
 
 dart::TEST_CASE (IsolateReload_ClassRemoved)
 
 dart::TEST_CASE (IsolateReload_LibraryImportAdded)
 
 dart::TEST_CASE (IsolateReload_LibraryImportRemoved)
 
 dart::TEST_CASE (IsolateReload_LibraryDebuggable)
 
 dart::TEST_CASE (IsolateReload_ImplicitConstructorChanged)
 
 dart::TEST_CASE (IsolateReload_ConstructorChanged)
 
 dart::TEST_CASE (IsolateReload_SuperClassChanged)
 
 dart::TEST_CASE (IsolateReload_Generics)
 
 dart::TEST_CASE (IsolateReload_TypeIdentity)
 
 dart::TEST_CASE (IsolateReload_TypeIdentityGeneric)
 
 dart::TEST_CASE (IsolateReload_TypeIdentityParameter)
 
 dart::TEST_CASE (IsolateReload_MixinChanged)
 
 dart::TEST_CASE (IsolateReload_ComplexInheritanceChange)
 
 dart::TEST_CASE (IsolateReload_LiveStack)
 
 dart::TEST_CASE (IsolateReload_LibraryLookup)
 
 dart::TEST_CASE (IsolateReload_LibraryHide)
 
 dart::TEST_CASE (IsolateReload_LibraryShow)
 
 dart::TEST_CASE (IsolateReload_SmiFastPathStubs)
 
 dart::TEST_CASE (IsolateReload_ImportedMixinFunction)
 
 dart::TEST_CASE (IsolateReload_TopLevelParseError)
 
 dart::TEST_CASE (IsolateReload_PendingUnqualifiedCall_StaticToInstance)
 
 dart::TEST_CASE (IsolateReload_PendingUnqualifiedCall_InstanceToStatic)
 
 dart::TEST_CASE (IsolateReload_PendingConstructorCall_AbstractToConcrete)
 
 dart::TEST_CASE (IsolateReload_PendingConstructorCall_ConcreteToAbstract)
 
 dart::TEST_CASE (IsolateReload_PendingStaticCall_DefinedToNSM)
 
 dart::TEST_CASE (IsolateReload_PendingStaticCall_NSMToDefined)
 
 dart::TEST_CASE (IsolateReload_PendingSuperCall)
 
 dart::TEST_CASE (IsolateReload_TearOff_Instance_Equality)
 
 dart::TEST_CASE (IsolateReload_TearOff_Parameter_Count_Mismatch)
 
 dart::TEST_CASE (IsolateReload_TearOff_Remove)
 
 dart::TEST_CASE (IsolateReload_TearOff_Class_Identity)
 
 dart::TEST_CASE (IsolateReload_TearOff_Library_Identity)
 
 dart::TEST_CASE (IsolateReload_TearOff_List_Set)
 
 dart::TEST_CASE (IsolateReload_TearOff_AddArguments)
 
 dart::TEST_CASE (IsolateReload_TearOff_AddArguments2)
 
 dart::TEST_CASE (IsolateReload_EnumEquality)
 
 dart::TEST_CASE (IsolateReload_EnumIdentical)
 
 dart::TEST_CASE (IsolateReload_EnumReorderIdentical)
 
 dart::TEST_CASE (IsolateReload_EnumAddition)
 
 dart::TEST_CASE (IsolateReload_EnumToNotEnum)
 
 dart::TEST_CASE (IsolateReload_NotEnumToEnum)
 
 dart::TEST_CASE (IsolateReload_EnumDelete)
 
 dart::TEST_CASE (IsolateReload_EnumIdentityReload)
 
 dart::TEST_CASE (IsolateReload_EnumShapeChange)
 
 dart::TEST_CASE (IsolateReload_EnumShapeChangeAdd)
 
 dart::TEST_CASE (IsolateReload_EnumShapeChangeRemove)
 
 dart::TEST_CASE (IsolateReload_EnumReferentShapeChangeAdd)
 
 dart::TEST_CASE (IsolateReload_ConstantIdentical)
 
 dart::TEST_CASE (IsolateReload_CallDeleted_TopLevelFunction)
 
 dart::TEST_CASE (IsolateReload_CallDeleted_TopLevelFunctionArityChange)
 
 dart::TEST_CASE (IsolateReload_CallDeleted_TopLevelAddTypeArguments)
 
 dart::TEST_CASE (IsolateReload_CallDeleted_TopLevelRemoveTypeArguments)
 
 dart::TEST_CASE (IsolateReload_CallDeleted_TopLevelMissingPassingTypeArguments)
 
 dart::TEST_CASE (IsolateReload_CallDeleted_TopLevelFunctionEvaluationOrder)
 
 dart::TEST_CASE (IsolateReload_CallDeleted_TopLevelFunctionLibraryDeleted)
 
 dart::TEST_CASE (IsolateReload_CallDeleted_TopLevelGetter)
 
 dart::TEST_CASE (IsolateReload_CallDeleted_TopLevelSetter)
 
 dart::TEST_CASE (IsolateReload_CallDeleted_TopLevelSetterEvaluationOrder)
 
 dart::TEST_CASE (IsolateReload_CallDeleted_ClassFunction)
 
 dart::TEST_CASE (IsolateReload_CallDeleted_ClassFunctionArityChange)
 
 dart::TEST_CASE (IsolateReload_CallDeleted_ClassFunctionEvaluationOrder)
 
 dart::TEST_CASE (IsolateReload_CallDeleted_ClassGetter)
 
 dart::TEST_CASE (IsolateReload_CallDeleted_ClassSetter)
 
 dart::TEST_CASE (IsolateReload_CallDeleted_ClassSetterEvaluationOrder)
 
 dart::TEST_CASE (IsolateReload_CallDeleted_ClassGenerativeConstructor)
 
 dart::TEST_CASE (IsolateReload_CallDeleted_ClassGenerativeConstructorArityChange)
 
 dart::TEST_CASE (IsolateReload_CallDeleted_ClassGenerativeConstructorClassDeleted)
 
 dart::TEST_CASE (IsolateReload_CallDeleted_ClassFactoryConstructor)
 
 dart::TEST_CASE (IsolateReload_CallDeleted_ClassFactoryConstructorArityChange)
 
 dart::TEST_CASE (IsolateReload_CallDeleted_ClassFactoryConstructorClassDeleted)
 
 dart::TEST_CASE (IsolateReload_CallDeleted_SuperFunction)
 
 dart::TEST_CASE (IsolateReload_CallDeleted_SuperFunctionArityChange)
 
 dart::TEST_CASE (IsolateReload_CallDeleted_SuperGetter)
 
 dart::TEST_CASE (IsolateReload_CallDeleted_SuperSetter)
 
 dart::TEST_CASE (IsolateReload_CallDeleted_SuperFieldGetter)
 
 dart::TEST_CASE (IsolateReload_CallDeleted_SuperFieldSetter)
 
 dart::TEST_CASE (IsolateReload_EnumValuesToString)
 
 dart::ISOLATE_UNIT_TEST_CASE (IsolateReload_DirectSubclasses_Success)
 
 dart::ISOLATE_UNIT_TEST_CASE (IsolateReload_DirectSubclasses_GhostSubclass)
 
 dart::ISOLATE_UNIT_TEST_CASE (IsolateReload_DirectSubclasses_Failure)
 
 dart::TEST_CASE (IsolateReload_ChangeInstanceFormat0)
 
 dart::TEST_CASE (IsolateReload_ChangeInstanceFormat1)
 
 dart::TEST_CASE (IsolateReload_ChangeInstanceFormat2)
 
 dart::TEST_CASE (IsolateReload_ChangeInstanceFormat3)
 
 dart::TEST_CASE (IsolateReload_ChangeInstanceFormat4)
 
 dart::TEST_CASE (IsolateReload_ChangeInstanceFormat5)
 
 dart::TEST_CASE (IsolateReload_ChangeInstanceFormat6)
 
 dart::TEST_CASE (IsolateReload_ChangeInstanceFormat7)
 
 dart::TEST_CASE (IsolateReload_ChangeInstanceFormat8)
 
 dart::TEST_CASE (IsolateReload_ChangeInstanceFormat9)
 
 dart::TEST_CASE (IsolateReload_ShapeChangeMutualReference)
 
 dart::TEST_CASE (IsolateReload_ShapeChangeRetainsHash)
 
 dart::TEST_CASE (IsolateReload_ShapeChangeRetainsHash_Const)
 
 dart::TEST_CASE (IsolateReload_ShapeChange_Const_AddSlot)
 
 dart::TEST_CASE (IsolateReload_ShapeChange_Const_RemoveSlot)
 
 dart::TEST_CASE (IsolateReload_DeeplyImmutableChange)
 
 dart::TEST_CASE (IsolateReload_DeeplyImmutableChange_2)
 
 dart::TEST_CASE (IsolateReload_DeeplyImmutableChange_MultiLib)
 
 dart::TEST_CASE (IsolateReload_DeeplyImmutableChange_TypeBound)
 
 dart::TEST_CASE (IsolateReload_ConstToNonConstClass)
 
 dart::TEST_CASE (IsolateReload_ConstToNonConstClass_Empty)
 
 dart::TEST_CASE (IsolateReload_StaticTearOffRetainsHash)
 
static bool dart::NothingModifiedCallback (const char *url, int64_t since)
 
 dart::TEST_CASE (IsolateReload_NoLibsModified)
 
static bool dart::MainModifiedCallback (const char *url, int64_t since)
 
 dart::TEST_CASE (IsolateReload_MainLibModified)
 
static bool dart::ImportModifiedCallback (const char *url, int64_t since)
 
 dart::TEST_CASE (IsolateReload_ImportedLibModified)
 
 dart::TEST_CASE (IsolateReload_PrefixImportedLibModified)
 
static bool dart::ExportModifiedCallback (const char *url, int64_t since)
 
 dart::TEST_CASE (IsolateReload_ExportedLibModified)
 
 dart::TEST_CASE (IsolateReload_SimpleConstFieldUpdate)
 
 dart::TEST_CASE (IsolateReload_ConstFieldUpdate)
 
 dart::TEST_CASE (IsolateReload_RunNewFieldInitializers)
 
 dart::TEST_CASE (IsolateReload_RunNewFieldInitializersReferenceStaticField)
 
 dart::TEST_CASE (IsolateReload_RunNewFieldInitializersLazy)
 
 dart::TEST_CASE (IsolateReload_RunNewFieldInitializersLazyConst)
 
 dart::TEST_CASE (IsolateReload_RunNewFieldInitializersLazyTransitive)
 
 dart::TEST_CASE (IsolateReload_RunNewFieldInitializersThrows)
 
 dart::TEST_CASE (IsolateReload_RunNewFieldInitializersCyclicInitialization)
 
 dart::TEST_CASE (IsolateReload_RunNewFieldInitializersSyntaxError)
 
 dart::TEST_CASE (IsolateReload_RunNewFieldInitializersSyntaxError2)
 
 dart::TEST_CASE (IsolateReload_RunNewFieldInitializersSyntaxError3)
 
 dart::TEST_CASE (IsolateReload_RunNewFieldInitializersSuperClass)
 
 dart::TEST_CASE (IsolateReload_RunNewFieldInitializersWithConsts)
 
 dart::TEST_CASE (IsolateReload_RunNewFieldInitializersWithGenerics)
 
 dart::TEST_CASE (IsolateReload_AddNewStaticField)
 
 dart::TEST_CASE (IsolateReload_StaticFieldInitialValueDoesnotChange)
 
 dart::TEST_CASE (IsolateReload_DeleteStaticField)
 
static void dart::TestReloadWithFieldChange (const char *prefix, const char *suffix, const char *verify, const char *from_type, const char *from_init, const char *to_type, const char *to_init)
 
 dart::TEST_CASE (IsolateReload_ExistingFieldChangesType)
 
 dart::TEST_CASE (IsolateReload_ExistingFieldChangesTypeWithOtherUnboxedFields)
 
 dart::TEST_CASE (IsolateReload_ExistingFieldUnboxedToBoxed)
 
 dart::TEST_CASE (IsolateReload_ExistingFieldBoxedToUnboxed)
 
 dart::TEST_CASE (IsolateReload_ExistingFieldUnboxedToUnboxed)
 
 dart::TEST_CASE (IsolateReload_ExistingStaticFieldChangesType)
 
 dart::TEST_CASE (IsolateReload_ExistingFieldChangesTypeIndirect)
 
 dart::TEST_CASE (IsolateReload_ExistingStaticFieldChangesTypeIndirect)
 
 dart::TEST_CASE (IsolateReload_ExistingFieldChangesTypeIndirectGeneric)
 
 dart::TEST_CASE (IsolateReload_ExistingStaticFieldChangesTypeIndirectGeneric)
 
 dart::TEST_CASE (IsolateReload_ExistingFieldChangesTypeIndirectFunction)
 
 dart::TEST_CASE (IsolateReload_ExistingStaticFieldChangesTypeIndirectFunction)
 
 dart::TEST_CASE (IsolateReload_TypedefToNotTypedef)
 
 dart::TEST_CASE (IsolateReload_NotTypedefToTypedef)
 
 dart::TEST_CASE (IsolateReload_TypedefAddParameter)
 
 dart::TEST_CASE (IsolateReload_PatchStaticInitializerWithClosure)
 
 dart::TEST_CASE (IsolateReload_StaticTargetArityChange)
 
 dart::TEST_CASE (IsolateReload_SuperGetterReboundToMethod)
 
 dart::TEST_CASE (IsolateReload_RegressB179030011)
 
 dart::TEST_CASE (IsolateReload_GenericConstructorTearOff)
 
 dart::TEST_CASE (IsolateReload_ImplicitGetterWithLoadGuard)
 
 dart::TEST_CASE (IsolateReload_EnumInMainLibraryModified)
 
 dart::TEST_CASE (IsolateReload_KeepPragma1)
 
 dart::TEST_CASE (IsolateReload_EnumWithSet)
 
 dart::TEST_CASE (IsolateReload_KeepPragma2)
 
 dart::TEST_CASE (IsolateReload_KeepPragma3)