| Index: test/cctest/test-cpu-profiler.cc
|
| diff --git a/test/cctest/test-cpu-profiler.cc b/test/cctest/test-cpu-profiler.cc
|
| index 4708f506d28eb8b39de57f01c1c7224a5feac868..580a8de767833803844a772a541b4b5e510193e3 100644
|
| --- a/test/cctest/test-cpu-profiler.cc
|
| +++ b/test/cctest/test-cpu-profiler.cc
|
| @@ -396,26 +396,6 @@ TEST(DeleteCpuProfile) {
|
| }
|
|
|
|
|
| -TEST(GetProfilerWhenIsolateIsNotInitialized) {
|
| - v8::Isolate* isolate = v8::Isolate::GetCurrent();
|
| - CHECK(i::Isolate::Current()->IsDefaultIsolate());
|
| - CHECK(!i::Isolate::Current()->IsInitialized());
|
| - CHECK_EQ(NULL, isolate->GetCpuProfiler());
|
| - {
|
| - v8::Isolate::Scope isolateScope(isolate);
|
| - LocalContext env;
|
| - v8::HandleScope scope(isolate);
|
| - CHECK_NE(NULL, isolate->GetCpuProfiler());
|
| - isolate->GetCpuProfiler()->StartCpuProfiling(v8::String::New("Test"));
|
| - isolate->GetCpuProfiler()->StopCpuProfiling(v8::String::New("Test"));
|
| - }
|
| - CHECK(i::Isolate::Current()->IsInitialized());
|
| - CHECK_NE(NULL, isolate->GetCpuProfiler());
|
| - isolate->Dispose();
|
| - CHECK_EQ(NULL, isolate->GetCpuProfiler());
|
| -}
|
| -
|
| -
|
| TEST(ProfileStartEndTime) {
|
| LocalContext env;
|
| v8::HandleScope scope(env->GetIsolate());
|
|
|