@@ -64,84 +64,84 @@ void beforeEach() {
64
64
}
65
65
66
66
@ Test // DATAMONGO-1808
67
- public void bitsAllClearWithBitPositions () {
67
+ void bitsAllClearWithBitPositions () {
68
68
69
69
assertThat (ops .find (query (where ("value" ).bits ().allClear (Arrays .asList (1 , 5 ))), DocumentWithBitmask .class ))
70
70
.containsExactlyInAnyOrder (TWENTY_INT , TWENTY_FLOAT );
71
71
}
72
72
73
73
@ Test // DATAMONGO-1808
74
- public void bitsAllClearWithNumericBitmask () {
74
+ void bitsAllClearWithNumericBitmask () {
75
75
76
76
assertThat (ops .find (query (where ("value" ).bits ().allClear (35 )), DocumentWithBitmask .class ))
77
77
.containsExactlyInAnyOrder (TWENTY_INT , TWENTY_FLOAT );
78
78
}
79
79
80
80
@ Test // DATAMONGO-1808
81
- public void bitsAllClearWithStringBitmask () {
81
+ void bitsAllClearWithStringBitmask () {
82
82
83
83
assertThat (ops .find (query (where ("value" ).bits ().allClear ("ID==" )), DocumentWithBitmask .class ))
84
84
.containsExactlyInAnyOrder (TWENTY_INT , TWENTY_FLOAT );
85
85
}
86
86
87
87
@ Test // DATAMONGO-1808
88
- public void bitsAllSetWithBitPositions () {
88
+ void bitsAllSetWithBitPositions () {
89
89
90
90
assertThat (ops .find (query (where ("value" ).bits ().allSet (Arrays .asList (1 , 5 ))), DocumentWithBitmask .class ))
91
91
.containsExactlyInAnyOrder (FIFTY_FOUR , ONE_HUNDRED_TWO );
92
92
}
93
93
94
94
@ Test // DATAMONGO-1808
95
- public void bitsAllSetWithNumericBitmask () {
95
+ void bitsAllSetWithNumericBitmask () {
96
96
97
97
assertThat (ops .find (query (where ("value" ).bits ().allSet (50 )), DocumentWithBitmask .class ))
98
98
.containsExactlyInAnyOrder (FIFTY_FOUR );
99
99
}
100
100
101
101
@ Test // DATAMONGO-1808
102
- public void bitsAllSetWithStringBitmask () {
102
+ void bitsAllSetWithStringBitmask () {
103
103
104
104
assertThat (ops .find (query (where ("value" ).bits ().allSet ("MC==" )), DocumentWithBitmask .class ))
105
105
.containsExactlyInAnyOrder (FIFTY_FOUR );
106
106
}
107
107
108
108
@ Test // DATAMONGO-1808
109
- public void bitsAnyClearWithBitPositions () {
109
+ void bitsAnyClearWithBitPositions () {
110
110
111
111
assertThat (ops .find (query (where ("value" ).bits ().anyClear (Arrays .asList (1 , 5 ))), DocumentWithBitmask .class ))
112
112
.containsExactlyInAnyOrder (TWENTY_INT , TWENTY_FLOAT );
113
113
}
114
114
115
115
@ Test // DATAMONGO-1808
116
- public void bitsAnyClearWithNumericBitmask () {
116
+ void bitsAnyClearWithNumericBitmask () {
117
117
118
118
assertThat (ops .find (query (where ("value" ).bits ().anyClear (35 )), DocumentWithBitmask .class ))
119
119
.containsExactlyInAnyOrder (FIFTY_FOUR , TWENTY_INT , TWENTY_FLOAT , ONE_HUNDRED_TWO );
120
120
}
121
121
122
122
@ Test // DATAMONGO-1808
123
- public void bitsAnyClearWithStringBitmask () {
123
+ void bitsAnyClearWithStringBitmask () {
124
124
125
125
assertThat (ops .find (query (where ("value" ).bits ().anyClear ("MC==" )), DocumentWithBitmask .class ))
126
126
.containsExactlyInAnyOrder (TWENTY_INT , TWENTY_FLOAT , ONE_HUNDRED_TWO );
127
127
}
128
128
129
129
@ Test // DATAMONGO-1808
130
- public void bitsAnySetWithBitPositions () {
130
+ void bitsAnySetWithBitPositions () {
131
131
132
132
assertThat (ops .find (query (where ("value" ).bits ().anySet (Arrays .asList (1 , 5 ))), DocumentWithBitmask .class ))
133
133
.containsExactlyInAnyOrder (FIFTY_FOUR , ONE_HUNDRED_TWO );
134
134
}
135
135
136
136
@ Test // DATAMONGO-1808
137
- public void bitsAnySetWithNumericBitmask () {
137
+ void bitsAnySetWithNumericBitmask () {
138
138
139
139
assertThat (ops .find (query (where ("value" ).bits ().anySet (35 )), DocumentWithBitmask .class ))
140
140
.containsExactlyInAnyOrder (FIFTY_FOUR , ONE_HUNDRED_TWO );
141
141
}
142
142
143
143
@ Test // DATAMONGO-1808
144
- public void bitsAnySetWithStringBitmask () {
144
+ void bitsAnySetWithStringBitmask () {
145
145
146
146
assertThat (ops .find (query (where ("value" ).bits ().anySet ("MC==" )), DocumentWithBitmask .class ))
147
147
.containsExactlyInAnyOrder (FIFTY_FOUR , TWENTY_INT , TWENTY_FLOAT , ONE_HUNDRED_TWO );
0 commit comments