chromium/v8/test/unittests/parser/scanner-unittest.cc

// Copyright 2016 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// Tests v8::internal::Scanner. Note that presently most unit tests for the
// Scanner are in parsing-unittest.cc, rather than here.

#include "src/parsing/scanner.h"

#include "src/handles/handles-inl.h"
#include "src/objects/objects-inl.h"
#include "src/parsing/parse-info.h"
#include "src/parsing/scanner-character-streams.h"
#include "test/unittests/test-utils.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace v8 {
namespace internal {

class ScannerTest : public TestWithIsolate {};
namespace {

const char src_simple[] =;

}  // anonymous namespace

// CHECK_TOK checks token equality, but by checking for equality of the token
// names. That should have the same result, but has much nicer error messaages.
#define CHECK_TOK(a, b)

TEST_F(ScannerTest, Bookmarks) {}

TEST_F(ScannerTest, AllThePushbacks) {}

TEST_F(ScannerTest, PeekAheadAheadAwaitUsingDeclaration) {}

TEST_F(ScannerTest, PeekAheadAheadAwaitExpression) {}

}  // namespace internal
}  // namespace v8