"mock object" meaning in All languages combined

See mock object on Wiktionary

Noun [English]

Forms: mock objects [plural]
Head templates: {{en-noun}} mock object (plural mock objects)
  1. (object-oriented programming) An object that mimics the behavior of a real object in a controlled way, often used as part of unit testing. Wikipedia link: mock object Categories (topical): Object-oriented programming Synonyms: mock Translations (Translations): valeolio (Finnish), mock-olio (Finnish), mock [masculine] (French), Mock-Objekt [neuter] (German)
    Sense id: en-mock_object-en-noun-VL0-qbUx Categories (other): English entries with incorrect language header

Inflected forms

Download JSON data for mock object meaning in All languages combined (2.0kB)

{
  "forms": [
    {
      "form": "mock objects",
      "tags": [
        "plural"
      ]
    }
  ],
  "head_templates": [
    {
      "args": {},
      "expansion": "mock object (plural mock objects)",
      "name": "en-noun"
    }
  ],
  "lang": "English",
  "lang_code": "en",
  "pos": "noun",
  "senses": [
    {
      "categories": [
        {
          "kind": "other",
          "name": "English entries with incorrect language header",
          "parents": [
            "Entries with incorrect language header",
            "Entry maintenance"
          ],
          "source": "w"
        },
        {
          "kind": "topical",
          "langcode": "en",
          "name": "Object-oriented programming",
          "orig": "en:Object-oriented programming",
          "parents": [
            "Programming",
            "Computing",
            "Software engineering",
            "Technology",
            "Computer science",
            "Engineering",
            "Software",
            "All topics",
            "Sciences",
            "Applied sciences",
            "Media",
            "Fundamental",
            "Communication"
          ],
          "source": "w"
        }
      ],
      "examples": [
        {
          "text": "Coordinate term: stub"
        },
        {
          "ref": "2020, Cătălin Tudose, JUnit in Action, 3rd edition, Simon and Schuster, page 139",
          "text": "Mock objects (mocks, for short) are perfectly suited for testing a portion of code logic in isolation from the rest of the code.",
          "type": "quotation"
        }
      ],
      "glosses": [
        "An object that mimics the behavior of a real object in a controlled way, often used as part of unit testing."
      ],
      "id": "en-mock_object-en-noun-VL0-qbUx",
      "links": [
        [
          "object-oriented programming",
          "object-oriented programming"
        ],
        [
          "object",
          "object"
        ],
        [
          "mimic",
          "mimic"
        ],
        [
          "unit testing",
          "unit testing"
        ]
      ],
      "qualifier": "object-oriented programming",
      "raw_glosses": [
        "(object-oriented programming) An object that mimics the behavior of a real object in a controlled way, often used as part of unit testing."
      ],
      "synonyms": [
        {
          "word": "mock"
        }
      ],
      "translations": [
        {
          "code": "fi",
          "lang": "Finnish",
          "sense": "Translations",
          "word": "valeolio"
        },
        {
          "code": "fi",
          "lang": "Finnish",
          "sense": "Translations",
          "word": "mock-olio"
        },
        {
          "code": "fr",
          "lang": "French",
          "sense": "Translations",
          "tags": [
            "masculine"
          ],
          "word": "mock"
        },
        {
          "code": "de",
          "lang": "German",
          "sense": "Translations",
          "tags": [
            "neuter"
          ],
          "word": "Mock-Objekt"
        }
      ],
      "wikipedia": [
        "mock object"
      ]
    }
  ],
  "word": "mock object"
}
{
  "forms": [
    {
      "form": "mock objects",
      "tags": [
        "plural"
      ]
    }
  ],
  "head_templates": [
    {
      "args": {},
      "expansion": "mock object (plural mock objects)",
      "name": "en-noun"
    }
  ],
  "lang": "English",
  "lang_code": "en",
  "pos": "noun",
  "senses": [
    {
      "categories": [
        "English countable nouns",
        "English entries with incorrect language header",
        "English lemmas",
        "English multiword terms",
        "English nouns",
        "English terms with quotations",
        "Translation table header lacks gloss",
        "en:Object-oriented programming"
      ],
      "examples": [
        {
          "text": "Coordinate term: stub"
        },
        {
          "ref": "2020, Cătălin Tudose, JUnit in Action, 3rd edition, Simon and Schuster, page 139",
          "text": "Mock objects (mocks, for short) are perfectly suited for testing a portion of code logic in isolation from the rest of the code.",
          "type": "quotation"
        }
      ],
      "glosses": [
        "An object that mimics the behavior of a real object in a controlled way, often used as part of unit testing."
      ],
      "links": [
        [
          "object-oriented programming",
          "object-oriented programming"
        ],
        [
          "object",
          "object"
        ],
        [
          "mimic",
          "mimic"
        ],
        [
          "unit testing",
          "unit testing"
        ]
      ],
      "qualifier": "object-oriented programming",
      "raw_glosses": [
        "(object-oriented programming) An object that mimics the behavior of a real object in a controlled way, often used as part of unit testing."
      ],
      "synonyms": [
        {
          "word": "mock"
        }
      ],
      "wikipedia": [
        "mock object"
      ]
    }
  ],
  "translations": [
    {
      "code": "fi",
      "lang": "Finnish",
      "sense": "Translations",
      "word": "valeolio"
    },
    {
      "code": "fi",
      "lang": "Finnish",
      "sense": "Translations",
      "word": "mock-olio"
    },
    {
      "code": "fr",
      "lang": "French",
      "sense": "Translations",
      "tags": [
        "masculine"
      ],
      "word": "mock"
    },
    {
      "code": "de",
      "lang": "German",
      "sense": "Translations",
      "tags": [
        "neuter"
      ],
      "word": "Mock-Objekt"
    }
  ],
  "word": "mock object"
}

This page is a part of the kaikki.org machine-readable All languages combined dictionary. This dictionary is based on structured data extracted on 2024-05-10 from the enwiktionary dump dated 2024-05-02 using wiktextract (a644e18 and edd475d). The data shown on this site has been post-processed and various details (e.g., extra categories) removed, some information disambiguated, and additional data merged from other sources. See the raw data download page for the unprocessed wiktextract data.

If you use this data in academic research, please cite Tatu Ylonen: Wiktextract: Wiktionary as Machine-Readable Structured Data, Proceedings of the 13th Conference on Language Resources and Evaluation (LREC), pp. 1317-1325, Marseille, 20-25 June 2022. Linking to the relevant page(s) under https://kaikki.org would also be greatly appreciated.