Skip to content

Commit

Permalink
Added Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelstaib committed Feb 25, 2024
1 parent 8461c1d commit 7518e65
Show file tree
Hide file tree
Showing 30 changed files with 1,066 additions and 0 deletions.
639 changes: 639 additions & 0 deletions src/HotChocolate/Core/test/Types.Tests/Resolvers/IsSelectedTests.cs

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# IsSelected_Attribute_1_Not_Selected

```json
{
"data": {
"user_Attribute_1": {
"name": "a"
}
},
"extensions": {
"isSelected": false
}
}
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# IsSelected_Attribute_1_Selected

```json
{
"data": {
"user_Attribute_1": {
"name": "a",
"email": "b"
}
},
"extensions": {
"isSelected": true
}
}
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# IsSelected_Attribute_2_Not_Selected

```json
{
"data": {
"user_Attribute_2": {
"name": "a"
}
},
"extensions": {
"isSelected": false
}
}
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# IsSelected_Attribute_2_Selected_1

```json
{
"data": {
"user_Attribute_2": {
"name": "a",
"email": "b"
}
},
"extensions": {
"isSelected": true
}
}
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# IsSelected_Attribute_2_Selected_2

```json
{
"data": {
"user_Attribute_2": {
"name": "a",
"password": "c"
}
},
"extensions": {
"isSelected": true
}
}
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# IsSelected_Attribute_3_Not_Selected

```json
{
"data": {
"user_Attribute_3": {
"name": "a"
}
},
"extensions": {
"isSelected": false
}
}
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# IsSelected_Attribute_3_Selected_1

```json
{
"data": {
"user_Attribute_3": {
"name": "a",
"email": "b"
}
},
"extensions": {
"isSelected": true
}
}
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# IsSelected_Attribute_3_Selected_2

```json
{
"data": {
"user_Attribute_3": {
"name": "a",
"password": "c"
}
},
"extensions": {
"isSelected": true
}
}
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# IsSelected_Attribute_3_Selected_3

```json
{
"data": {
"user_Attribute_3": {
"name": "a",
"phoneNumber": "d"
}
},
"extensions": {
"isSelected": true
}
}
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# IsSelected_Attribute_4_Not_Selected

```json
{
"data": {
"user_Attribute_4": {
"name": "a"
}
},
"extensions": {
"isSelected": false
}
}
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# IsSelected_Attribute_4_Selected_1

```json
{
"data": {
"user_Attribute_4": {
"name": "a",
"email": "b"
}
},
"extensions": {
"isSelected": true
}
}
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# IsSelected_Attribute_4_Selected_2

```json
{
"data": {
"user_Attribute_4": {
"name": "a",
"password": "c"
}
},
"extensions": {
"isSelected": true
}
}
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# IsSelected_Attribute_4_Selected_3

```json
{
"data": {
"user_Attribute_4": {
"name": "a",
"phoneNumber": "d"
}
},
"extensions": {
"isSelected": true
}
}
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# IsSelected_Attribute_4_Selected_4

```json
{
"data": {
"user_Attribute_4": {
"name": "a",
"address": "e"
}
},
"extensions": {
"isSelected": true
}
}
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# IsSelected_Context_1_Not_Selected

```json
{
"data": {
"user_Context_1": {
"name": "a"
}
},
"extensions": {
"isSelected": false
}
}
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# IsSelected_Context_1_Selected

```json
{
"data": {
"user_Context_1": {
"name": "a",
"email": "b"
}
},
"extensions": {
"isSelected": true
}
}
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# IsSelected_Context_2_Not_Selected

```json
{
"data": {
"user_Context_2": {
"name": "a"
}
},
"extensions": {
"isSelected": false
}
}
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# IsSelected_Context_2_Selected_1

```json
{
"data": {
"user_Context_2": {
"name": "a",
"email": "b"
}
},
"extensions": {
"isSelected": true
}
}
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# IsSelected_Context_2_Selected_2

```json
{
"data": {
"user_Context_2": {
"name": "a",
"password": "c"
}
},
"extensions": {
"isSelected": true
}
}
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# IsSelected_Context_3_Not_Selected

```json
{
"data": {
"user_Context_3": {
"name": "a"
}
},
"extensions": {
"isSelected": false
}
}
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# IsSelected_Context_3_Selected_1

```json
{
"data": {
"user_Context_3": {
"name": "a",
"email": "b"
}
},
"extensions": {
"isSelected": true
}
}
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# IsSelected_Context_3_Selected_2

```json
{
"data": {
"user_Context_3": {
"name": "a",
"password": "c"
}
},
"extensions": {
"isSelected": true
}
}
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# IsSelected_Context_3_Selected_3

```json
{
"data": {
"user_Context_3": {
"name": "a",
"phoneNumber": "d"
}
},
"extensions": {
"isSelected": true
}
}
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# IsSelected_Context_4_Not_Selected

```json
{
"data": {
"user_Context_4": {
"name": "a"
}
},
"extensions": {
"isSelected": false
}
}
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# IsSelected_Context_4_Selected_1

```json
{
"data": {
"user_Context_4": {
"name": "a",
"email": "b"
}
},
"extensions": {
"isSelected": true
}
}
```
Loading

0 comments on commit 7518e65

Please sign in to comment.