Home
last modified time | relevance | path

Searched +full:test +full:- +full:book (Results 1 – 25 of 182) sorted by relevance

12345678

/third_party/typescript/tests/baselines/reference/
DobjectLiteralExcessProperties.types2 interface Book {
12 var b1: Book = { forword: "oops" };
13 >b1 : Book
18 var b2: Book | string = { foreward: "nope" };
19 >b2 : string | Book
24 var b3: Book | (Book[]) = [{ foreword: "hello" }, { forwards: "back" }];
25 >b3 : Book | Book[]
34 var b4: Book & Cover = { foreword: "hi", colour: "blue" };
35 >b4 : Book & Cover
42 var b5: Book & Cover = { foreward: "hi", color: "blue" };
[all …]
DobjectLiteralExcessProperties.js2 interface Book {
10 var b1: Book = { forword: "oops" };
12 var b2: Book | string = { foreward: "nope" };
14 var b3: Book | (Book[]) = [{ foreword: "hello" }, { forwards: "back" }];
16 var b4: Book & Cover = { foreword: "hi", colour: "blue" };
18 var b5: Book & Cover = { foreward: "hi", color: "blue" };
20 var b6: Book & Cover = { foreword: "hi", color: "blue", price: 10.99 };
22 var b7: Book & number = { foreword: "hi", price: 10.99 };
26 var b9: Book | Book[] = { forewarned: "still no" };
38 function test<T extends IFoo>() {
[all …]
DobjectLiteralExcessProperties.symbols2 interface Book {
3 >Book : Symbol(Book, Decl(objectLiteralExcessProperties.ts, 0, 0))
6 >foreword : Symbol(Book.foreword, Decl(objectLiteralExcessProperties.ts, 0, 16))
16 var b1: Book = { forword: "oops" };
18 >Book : Symbol(Book, Decl(objectLiteralExcessProperties.ts, 0, 0))
21 var b2: Book | string = { foreward: "nope" };
23 >Book : Symbol(Book, Decl(objectLiteralExcessProperties.ts, 0, 0))
26 var b3: Book | (Book[]) = [{ foreword: "hello" }, { forwards: "back" }];
28 >Book : Symbol(Book, Decl(objectLiteralExcessProperties.ts, 0, 0))
29 >Book : Symbol(Book, Decl(objectLiteralExcessProperties.ts, 0, 0))
[all …]
DobjectLiteralExcessProperties.errors.txt1 …essProperties.ts(9,18): error TS2322: Type '{ forword: string; }' is not assignable to type 'Book'.
2 …Object literal may only specify known properties, but 'forword' does not exist in type 'Book'. Did…
3 …es.ts(11,27): error TS2322: Type '{ foreward: string; }' is not assignable to type 'string | Book'.
4 …Object literal may only specify known properties, but 'foreward' does not exist in type 'Book'. Di…
5 …sProperties.ts(13,53): error TS2322: Type '{ forwards: string; }' is not assignable to type 'Book'.
6 Object literal may only specify known properties, and 'forwards' does not exist in type 'Book'.
7 …rror TS2322: Type '{ foreword: string; colour: string; }' is not assignable to type 'Book & Cover'.
8 …Object literal may only specify known properties, but 'colour' does not exist in type 'Book & Cove…
9 …error TS2322: Type '{ foreward: string; color: string; }' is not assignable to type 'Book & Cover'.
10 …Object literal may only specify known properties, but 'foreward' does not exist in type 'Book & Co…
[all …]
/third_party/typescript/tests/cases/compiler/
DobjectLiteralExcessProperties.ts1 interface Book { interface
9 var b1: Book = { forword: "oops" };
11 var b2: Book | string = { foreward: "nope" };
13 var b3: Book | (Book[]) = [{ foreword: "hello" }, { forwards: "back" }];
15 var b4: Book & Cover = { foreword: "hi", colour: "blue" };
17 var b5: Book & Cover = { foreward: "hi", color: "blue" };
19 var b6: Book & Cover = { foreword: "hi", color: "blue", price: 10.99 };
21 var b7: Book & number = { foreword: "hi", price: 10.99 };
25 var b9: Book | Book[] = { forewarned: "still no" };
37 function test<T extends IFoo>() { function
[all …]
/third_party/rust/crates/bindgen/.github/workflows/
Ddeploy-book.yml1 name: Deploy book
6 - main
9 deploy-book:
10 runs-on: ubuntu-latest
12 - uses: actions/checkout@v3
14 persist-credentials: false
16 - name: Install stable
17 uses: actions-rs/toolchain@v1
23 - name: Test book
25 …curl -L https://github.com/rust-lang/mdBook/releases/download/v0.4.5/mdbook-v0.4.5-x86_64-unknown-
[all …]
Dbindgen.yml6 - main
9 - main
12 rustfmt-clippy:
13 runs-on: ubuntu-latest
16 - uses: actions/checkout@v3
18 - name: Install stable
19 uses: actions-rs/toolchain@v1
22 # TODO: Should ideally be stable, but we use some nightly-only
28 - name: Run rustfmt
29 uses: actions-rs/cargo@v1
[all …]
/third_party/protobuf/src/google/protobuf/util/internal/testdata/
Dbooks.proto1 // Protocol Buffers - Google's data interchange format
3 // https://developers.google.com/protocol-buffers/
45 // A book
46 message Book { message
75 // Useful for testing JSON snake/camel-case conversions.
78 // Used to test type not found in type info. Messages defined in other files
79 // are not added when adding Book to type info.
82 // Used to test invalid value inside of primitive repeated fields.
88 // A publisher of a book, tests required fields.
93 // An author of a book
[all …]
/third_party/protobuf/src/google/protobuf/util/internal/
Dprotostream_objectwriter_test.cc1 // Protocol Buffers - Google's data interchange format
3 // https://developers.google.com/protocol-buffers/
72 using proto_util_converter::testing::Book;
92 return std::string(kTypeServiceBaseUrl) + "/" + descriptor->full_name(); in GetTypeUrl()
141 std::unique_ptr<char[]> buffer(output_->GetBuffer(&nbytes)); in CheckOutput()
150 message->ParsePartialFromIstream(&istream); in CheckOutput()
153 EXPECT_EQ(expected.DebugString(), message->DebugString()); in CheckOutput()
157 void CheckOutput(const Message& expected) { CheckOutput(expected, -1); } in CheckOutput()
177 : BaseProtoStreamObjectWriterTest(Book::descriptor()) {} in ProtoStreamObjectWriterTest()
179 void ResetProtoWriter() { ResetTypeInfo(Book::descriptor()); } in ResetProtoWriter()
[all …]
/third_party/unity/extras/fixture/
Dreadme.md3 This Framework is an optional add-on to Unity.
5 This framework adds the concepts of test groups and gives finer control of your tests over the comm…
7 … is primarily supplied for those working through James Grenning's book on Embedded Test Driven Dev…
13 This is to make it simple for those trying to follow along with James' book.
20 By default the test executables produced by Unity Fixtures run all tests once, but the behavior can…
21 Run the test executable with the `--help` flag for more information.
23 …he end of the help message, typically to point to project-specific or company-specific unit test d…
26 #define UNITY_CUSTOM_HELP_MSG "If any test fails see https://example.com/troubleshooting"
/third_party/mindspore/mindspore-src/source/tests/ut/python/dataset/
Dtest_datasets_amazon_review.py1 # Copyright 2021-2022 Huawei Technologies Co., Ltd
7 # http://www.apache.org/licenses/LICENSE-2.0
31 Feature: Test AmazonReviewPolarity Dataset.
36 data = ds.AmazonReviewDataset(POLARITY_DIR, usage='test', shuffle=False)
46 Feature: Test AmazonReviewFull Dataset.
51 data = ds.AmazonReviewDataset(FULL_DIR, usage='test', shuffle=False)
61 Feature: Test get the AmazonReview Dataset.
65 data = ds.AmazonReviewDataset(FULL_DIR, usage='test', shuffle=False)
72 "4", "delightful", "a funny book!",
78 Feature: Test AmazonReviewPolarity Dataset(usage=all).
[all …]
Dtest_text_wordpiece_tokenizer.py1 # Copyright 2020-2022 Huawei Technologies Co., Ltd
7 # http://www.apache.org/licenses/LICENSE-2.0
26 "book", "cholera", "era", "favor", "##ite", "my", "is", "love", "dur", "##ing", "the"
39 …expect_str=[['my'], ['favor', '##ite'], ['book'], ['is'], ['love'], ['dur', '##ing'], ['the'], ['c…
48 …expect_str=[['my'], ['favor', '##ite'], ['book'], ['is'], ['love'], ['dur', '##ing'], ['the'], ['c…
58 …expect_str=[['my'], ['[UNK]'], ['book'], ['is'], ['love'], ['[UNK]'], ['the'], ['[UNK]'], ['era'],…
86 …['my'], ['favor', '##ite'], ['book'], ['is'], ['love'], ['dur', '##ing'], ['the'], ['cholera'], ['…
103 dataset = dataset.skip(first - 1)
105 dataset = dataset.take(last - first + 1)
123 dataset = dataset.skip(first - 1)
[all …]
/third_party/mindspore/mindspore-src/source/tests/ut/cpp/dataset/
Dc_api_dataset_amazon_review_test.cc2 * Copyright 2021-2022 Huawei Technologies Co., Ltd
8 * http://www.apache.org/licenses/LICENSE-2.0
32 MS_LOG(INFO) << "Doing MindDataTestPipeline-TestAmazonReviewPolarityDatasetBasic."; in TEST_F()
37 std::shared_ptr<Dataset> ds = AmazonReview(dataset_dir, "test", 0, ShuffleMode::kFalse); in TEST_F()
42 std::shared_ptr<Iterator> iter = ds->CreateIterator(); in TEST_F()
47 ASSERT_OK(iter->GetNextRow(&row)); in TEST_F()
51 {"2", "Book", "I would read it again lol."} in TEST_F()
61 ASSERT_OK(de_text->GetItemAt(&sv, {})); in TEST_F()
65 ASSERT_OK(iter->GetNextRow(&row)); in TEST_F()
73 iter->Stop(); in TEST_F()
[all …]
/third_party/rust/crates/bindgen/
DREADME_zh.md22 /* automatically generated by rust-bindgen 0.99.9 */
51 │ ├── LICENSE -> ../LICENSE
56 ├── bindgen-cli
59 │ ├── LICENSE -> ../LICENSE
62 ├── bindgen-integration
68 ├── bindgen-tests
73 ├── book
74 │ ├── book.toml
80 │ ├── assert-no-diff.bat
81 │ ├── no-includes.sh
[all …]
/third_party/rust/crates/nom/.github/
DPULL_REQUEST_TEMPLATE.md1 <!--
15 - related issue number (I need some context to understand a PR with a lot of
17 - a test case reproducing the issue. You can write it in [issues.rs](https://github.com/Geal/nom/bl…
18 - if adding a new combinator, please add code documentation and some unit tests
24 checked by [rustfmt][https://github.com/rust-lang-nursery/rustfmt].
33 [rebase your PR on main](https://git-scm.com/book/en/v2/Git-Branching-Rebasing).
39 [squash the commits](https://git-scm.com/book/en/v2/Git-Tools-Rewriting-History)
41 -->
/third_party/skia/third_party/externals/angle2/samples/stencil_operations/
DStencilOperations.cpp3 // Use of this source code is governed by a BSD-style license that can be
8 // Book: OpenGL(R) ES 2.0 Programming Guide
10 // ISBN-10: 0321502795
11 // ISBN-13: 9780321502797
12 // Publisher: Addison-Wesley Professional
14 // http://www.opengles-book.com
75 -0.75f, 0.25f, 0.50f, // Quad #0 in draw()
76 -0.25f, 0.25f, 0.50f, -0.25f, 0.75f, 0.50f, -0.75f, 0.75f, 0.50f, in draw()
79 -0.75f, -0.75f, 0.50f, // Quad #2 in draw()
80 -0.25f, -0.75f, 0.50f, -0.25f, -0.25f, 0.50f, -0.75f, -0.25f, 0.50f, in draw()
[all …]
/third_party/python/Lib/test/
Dtest_cmd.py2 Test script for the 'cmd' module
12 from test import support
19 Test for the function parseline():
36 Test for the function onecmd():
42 >>> mycmd.onecmd("test")
43 *** Unknown syntax: test
45 Test for the function emptyline():
47 *** Unknown syntax: test
49 Test for the function default():
53 Test for the function completedefault():
[all …]
/third_party/pulseaudio/sonic/
DREADME9 experience of listening to an audio book on an Android phone.
19 Performance test:
22 file encoded at 16-bit 11.KHz), but with the output writing disabled. The
/third_party/skia/third_party/externals/swiftshader/
DREADME.md3 …icense](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licens…
6 ------------
8 SwiftShader is a high-performance CPU-based implementation of the Vulkan graphics API<sup>1</sup><s…
13 --------
24 cmake --build . --parallel
26 ./vk-unittests
33-us/cpp/build/cmake-projects-in-visual-studio?view=vs-2019#ide-integration) in the Solution Explor…
37 -----
39 The SwiftShader libraries act as drop-in replacements for graphics drivers.
41 …as the executable. On Linux, the `LD_LIBRARY_PATH` environment variable or `-rpath` linker option …
[all …]
/third_party/cJSON/tests/unity/docs/
DUnityGettingStartedGuide.md1 # Unity - Getting Started
9 Unity is a unit test framework. The goal has been to keep it small and
10 functional. The core Unity test framework is three files: a single C file and a
69 - `src` - This is the code you care about! This folder contains a C file and two
71 - `docs` - You're reading this document, so it's possible you have found your way
74 - `examples` - This contains a few examples of using Unity.
75 - `extras` - These are optional add ons to Unity that are not part of the core
76 project. If you've reached us through James Grenning's book, you're going to
78 - `test` - This is how Unity and its scripts are all tested. If you're just using
82 - `auto` - Here you will find helpful Ruby scripts for simplifying your test
[all …]
/third_party/json/tests/src/
Dunit-udt.cpp6 // SPDX-FileCopyrightText: 2013-2023 Niels Lohmann <https://nlohmann.me>
7 // SPDX-License-Identifier: MIT
11 // disable -Wnoexcept due to class Evil
13 DOCTEST_GCC_SUPPRESS_WARNING("-Wnoexcept")
18 using namespace nlohmann::literals; // NOLINT(google-build-using-namespace)
196 // TODO(nlohmann) test exceptions in from_json()
197 c = it->second; in from_json()
240 const udt::contact_book book{{"C++"}, {cpp_programmer, {senior_programmer, addr}}}; variable
242 SECTION("conversion to json via free-functions")
253 json(book) ==
[all …]
/third_party/flatbuffers/tests/ts/
DJavaScriptUnionVectorTest.js5 import { BookReader, BookReaderT } from './union_vector/book-reader.js'
108 console.log('FlatBuffers union vector test: completed successfully');
/third_party/skia/modules/sksg/include/
DSkSGRenderNode.h4 * Use of this source code is governed by a BSD-style license that can be
34 // Perform a front-to-back hit-test, and return the RenderNode located at |point|.
35 // Normally, hit-testing stops at leaf Draw nodes.
61 // Returns true if the paint overrides require a layer when applied to non-atomic draws.
81 that.fRestoreCount = -1;
87 const RenderContext* operator->() const { return &fCtx; }
89 // Add (cumulative) paint overrides to a render node sub-DAG.
96 // Force content isolation for a node sub-DAG by applying the RenderContext
107 // stack-only
130 * various book-keeping, and provides a controlled extension point.
/third_party/unity/docs/
DUnityGettingStartedGuide.md1 # Unity - Getting Started
10 Unity is a unit test framework.
12 The core Unity test framework is three files: a single C file and a couple header files.
15 Unity was designed to be cross-platform.
59 - `src` - This is the code you care about! This folder contains a C file and two header files.
61 - `docs` - You're reading this document, so it's possible you have found your way into this folder …
63 - `examples` - This contains a few examples of using Unity.
64 - `extras` - These are optional add ons to Unity that are not part of the core project.
65 If you've reached us through James Grenning's book, you're going to want to look here.
66 - `test` - This is how Unity and its scripts are all tested.
[all …]
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/asciidoctor-chunker/
DREADME.md1 # asciidoctor-chunker
3 …[npm version](https://badge.fury.io/js/asciidoctor-chunker.svg)](https://badge.fury.io/js/asciidoc…
4 …://github.com/wshito/asciidoctor-chunker/actions/workflows/node.js.yml/badge.svg)](https://github.…
5 [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licen…
7-page) HTML from Asciidoctor's single HTML file with the support of fine-tuned splits by chapters,…
11 - 2021/8/3 [Ver 1.0.4](https://github.com/wshito/asciidoctor-chunker/releases) Added the keyboard s…
12 - 2021/6/25 [Ver 1.0.3](https://github.com/wshito/asciidoctor-chunker/releases) Fixed the security …
13 - 2021/5/9 [Ver 1.0.2](https://github.com/wshito/asciidoctor-chunker/releases) The toc item for the…
14 - 2021/3/17 [Ver 1.0.1](https://github.com/wshito/asciidoctor-chunker/releases) The script contains…
15 - 2021/2/27 [Ver 1.0.0 Released!](https://github.com/wshito/asciidoctor-chunker/releases)
[all …]

12345678