summaryrefslogtreecommitdiff
path: root/test/AnnotationTest.thrift
Commit message (Collapse)AuthorAgeFilesLines
* THRIFT-5588 Remove slist/senum from IDLJens Geyer2022-06-061-8/+0
| | | | | | Patch: Jens Geyer This closes #2615
* THRIFT-5261 Support for deprecated methods (via annotation)Jens Geyer2020-08-051-0/+8
| | | | | | | Client: Delphi Patch: Jens Geyer This closes #2213
* Revert "THRIFT-4951: Remove senum from tests"Jens Geyer2019-10-101-0/+8
| | | | | | This reverts commit df8ef4b489e2b84ac6dbbf895be32d6fb2415c81. The contributor confuses "deprecated" with "unsupported". Unless the feature as a whole is also removed, so essentially nothing is left to be tested. Regardless whether a particular feature is deprecated or not, removing a working test for it is NOT helpful. The only "achievement" of such efforts would be that the test coverage goes down, which is clearly not in our intention and only opens room for bugs and issues.
* THRIFT-4951: Remove senum from testspengzhouhu2019-10-091-8/+0
| | | | | Senum are unsupported since 0.9.1. This closes #1868.
* THRIFT-4060 add better support in the cpp generator for custom ostream ↵James E. King, III2017-02-131-0/+9
| | | | | | | | operators on structures Client: C++ This closes #1172
* THRIFT-2768: Whitespace FixupJens Geyer2014-10-031-1/+1
| | | | | | | Client: General (Makefile.am, *.thrift) Patch: Jens Geyer DocTest.thrift has NOT been changed, the trailing whitespaces are part of the test case.
* THRIFT-2499 Compiler: allow annotations without "= value"Jens Geyer2014-05-021-0/+1
| | | | | | | | | | | | | | | | | Client: compiler general Patch: Dave Watson This closes #87 commit 078ce57e816eeb3697acf6f2c50e09526da73d3b Author: Dave Watson <davejwatson@fb.com> Date: 2014-03-21T19:42:31Z [thrift] Compiler: allow annotations without "= value" Summary: (foo) is the same as (foo = 1), for brevity Test: AnnotationTest.thrift still compiles
* THRIFT-1651 Support annotations on all elementsRoger Meier2012-09-171-1/+29
| | | | | | | | Patch: Benjy Weinberger git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1386848 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-564. Support arbitrary annotations on struct fieldsDavid Reiss2010-03-051-2/+2
| | | | | | | | | | | | | | | This is subtly different from a type annotation, since some bits of metadata only make sense in the context of a single structure field, like whether the field is required, or whether the C++ code should use a pointer for it. This change doesn't define any meaningful annotations. It just sets up the parsing infrastructure. I have no idea if $10 will work with older versions of yacc. It seems to work fine with bison. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@919325 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-413. Suppport for annotations on base typesDavid Reiss2009-07-271-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@798219 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-387. Add license headers to a bunch of filesDavid Reiss2009-03-301-0/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@760189 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-121. Support arbitrary type annotationsDavid Reiss2008-12-101-0/+12
Adds syntax for attaching arbitrary key/value pairs to types. These annotations can be accessed by individual generators to alter the code they produce. This version supports annotations on container types and structures. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@724954 13f79535-47bb-0310-9956-ffa450edef68