-
Notifications
You must be signed in to change notification settings - Fork 190
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tests: Support testing the USGen privacy module (#3722)
* Add functional tests for GPP USNat v2
- Loading branch information
1 parent
190a070
commit f3cd04d
Showing
5 changed files
with
309 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,5 +8,6 @@ class AccountGppConfig { | |
|
||
PrivacyModule code | ||
Boolean enabled | ||
Integer skipRate | ||
GppModuleConfig config | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
src/test/groovy/org/prebid/server/functional/model/response/auction/And.groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,18 @@ | ||
package org.prebid.server.functional.model.response.auction | ||
|
||
import com.fasterxml.jackson.databind.PropertyNamingStrategies | ||
import com.fasterxml.jackson.databind.annotation.JsonNaming | ||
import groovy.transform.EqualsAndHashCode | ||
import groovy.transform.ToString | ||
import org.prebid.server.functional.model.request.auction.PrivacyModule | ||
|
||
@ToString(includeNames = true, ignoreNulls = true) | ||
@EqualsAndHashCode | ||
@JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy) | ||
class And { | ||
|
||
List<String> and | ||
PrivacyModule privacyModule | ||
Boolean skipped | ||
RuleResult result | ||
} |
6 changes: 6 additions & 0 deletions
6
src/test/groovy/org/prebid/server/functional/model/response/auction/RuleResult.groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package org.prebid.server.functional.model.response.auction | ||
|
||
enum RuleResult { | ||
|
||
ALLOW, DISALLOW, ABSTAIN | ||
} |
Oops, something went wrong.