File tree Expand file tree Collapse file tree 8 files changed +103
-9
lines changed
main/java/graphql/annotations
test/java/graphql/annotations Expand file tree Collapse file tree 8 files changed +103
-9
lines changed Original file line number Diff line number Diff line change 1+ /**
2+ * Copyright 2016 Yurii Rashkovskii
3+ *
4+ * Licensed under the Apache License, Version 2.0 (the "License");
5+ * you may not use this file except in compliance with the License.
6+ * You may obtain a copy of the License at
7+ *
8+ * http://www.apache.org/licenses/LICENSE-2.0
9+ *
10+ * Unless required by applicable law or agreed to in writing, software
11+ * distributed under the License is distributed on an "AS IS" BASIS,
12+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ * See the License for the specific language governing permissions and
14+ */
115package graphql .annotations .directives .creation ;
216
317import graphql .introspection .Introspection ;
Original file line number Diff line number Diff line change 11/**
22 * Copyright 2016 Yurii Rashkovskii
3- * <p>
3+ *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
66 * You may obtain a copy of the License at
7- * <p>
8- * http://www.apache.org/licenses/LICENSE-2.0
9- * <p>
7+ *
8+ * http://www.apache.org/licenses/LICENSE-2.0
9+ *
1010 * Unless required by applicable law or agreed to in writing, software
1111 * distributed under the License is distributed on an "AS IS" BASIS,
1212 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Original file line number Diff line number Diff line change 1+ /**
2+ * Copyright 2016 Yurii Rashkovskii
3+ *
4+ * Licensed under the Apache License, Version 2.0 (the "License");
5+ * you may not use this file except in compliance with the License.
6+ * You may obtain a copy of the License at
7+ *
8+ * http://www.apache.org/licenses/LICENSE-2.0
9+ *
10+ * Unless required by applicable law or agreed to in writing, software
11+ * distributed under the License is distributed on an "AS IS" BASIS,
12+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ * See the License for the specific language governing permissions and
14+ */
115package graphql .annotations .processor .directives ;
216
317import graphql .annotations .annotationTypes .GraphQLDescription ;
Original file line number Diff line number Diff line change 1+ /**
2+ * Copyright 2016 Yurii Rashkovskii
3+ *
4+ * Licensed under the Apache License, Version 2.0 (the "License");
5+ * you may not use this file except in compliance with the License.
6+ * You may obtain a copy of the License at
7+ *
8+ * http://www.apache.org/licenses/LICENSE-2.0
9+ *
10+ * Unless required by applicable law or agreed to in writing, software
11+ * distributed under the License is distributed on an "AS IS" BASIS,
12+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ * See the License for the specific language governing permissions and
14+ */
115package graphql .annotations .processor .directives ;
216
317import graphql .annotations .processor .ProcessingElementsContainer ;
Original file line number Diff line number Diff line change 1+ /**
2+ * Copyright 2016 Yurii Rashkovskii
3+ *
4+ * Licensed under the Apache License, Version 2.0 (the "License");
5+ * you may not use this file except in compliance with the License.
6+ * You may obtain a copy of the License at
7+ *
8+ * http://www.apache.org/licenses/LICENSE-2.0
9+ *
10+ * Unless required by applicable law or agreed to in writing, software
11+ * distributed under the License is distributed on an "AS IS" BASIS,
12+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ * See the License for the specific language governing permissions and
14+ */
115package graphql .annotations .processor .directives ;
216
317import graphql .annotations .directives .creation .DirectiveLocations ;
418import graphql .annotations .processor .exceptions .GraphQLAnnotationsException ;
519import graphql .introspection .Introspection ;
6- import graphql .schema .GraphQLArgument ;
720import graphql .schema .GraphQLDirective ;
821
9- import java .lang .reflect .Field ;
1022import java .util .Arrays ;
1123
1224import static graphql .schema .GraphQLDirective .newDirective ;
Original file line number Diff line number Diff line change 1+ /**
2+ * Copyright 2016 Yurii Rashkovskii
3+ *
4+ * Licensed under the Apache License, Version 2.0 (the "License");
5+ * you may not use this file except in compliance with the License.
6+ * You may obtain a copy of the License at
7+ *
8+ * http://www.apache.org/licenses/LICENSE-2.0
9+ *
10+ * Unless required by applicable law or agreed to in writing, software
11+ * distributed under the License is distributed on an "AS IS" BASIS,
12+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ * See the License for the specific language governing permissions and
14+ */
115package graphql .annotations ;
216
317import graphql .annotations .annotationTypes .GraphQLDescription ;
1125
1226import static graphql .Scalars .GraphQLBoolean ;
1327import static graphql .Scalars .GraphQLString ;
14- import static org .testng .AssertJUnit .assertEquals ;
15- import static org .testng .AssertJUnit .assertNotNull ;
16- import static org .testng .AssertJUnit .assertNull ;
28+ import static org .testng .AssertJUnit .*;
1729import static org .testng .internal .junit .ArrayAsserts .assertArrayEquals ;
1830
1931public class GraphQLDirectiveCreationTest {
Original file line number Diff line number Diff line change 1+ /**
2+ * Copyright 2016 Yurii Rashkovskii
3+ *
4+ * Licensed under the Apache License, Version 2.0 (the "License");
5+ * you may not use this file except in compliance with the License.
6+ * You may obtain a copy of the License at
7+ *
8+ * http://www.apache.org/licenses/LICENSE-2.0
9+ *
10+ * Unless required by applicable law or agreed to in writing, software
11+ * distributed under the License is distributed on an "AS IS" BASIS,
12+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ * See the License for the specific language governing permissions and
14+ */
115package graphql .annotations .directives .creation ;
216
317import graphql .annotations .annotationTypes .GraphQLDescription ;
Original file line number Diff line number Diff line change 1+ /**
2+ * Copyright 2016 Yurii Rashkovskii
3+ *
4+ * Licensed under the Apache License, Version 2.0 (the "License");
5+ * you may not use this file except in compliance with the License.
6+ * You may obtain a copy of the License at
7+ *
8+ * http://www.apache.org/licenses/LICENSE-2.0
9+ *
10+ * Unless required by applicable law or agreed to in writing, software
11+ * distributed under the License is distributed on an "AS IS" BASIS,
12+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ * See the License for the specific language governing permissions and
14+ */
115package graphql .annotations .directives .creation ;
216
317import graphql .annotations .annotationTypes .GraphQLDescription ;
You can’t perform that action at this time.
0 commit comments