diff --git a/src/main/java/it/smartphonecombo/uecapabilityparser/cli/Clikt.kt b/src/main/java/it/smartphonecombo/uecapabilityparser/cli/Clikt.kt index 4ad6c693..38a30cb1 100644 --- a/src/main/java/it/smartphonecombo/uecapabilityparser/cli/Clikt.kt +++ b/src/main/java/it/smartphonecombo/uecapabilityparser/cli/Clikt.kt @@ -112,11 +112,16 @@ object Cli : CliktCommand(name = "cli") { private val debug by option("-d", "--debug", help = HelpMessage.DEBUG).flag() + private val suppressAnnoyingMessage by + option("--suppress-annoying-messages", help = HelpMessage.ANNOYING_MESSAGE_OPTION).flag() + private lateinit var jsonFormat: Json override fun help(context: Context) = "Starts ue capability parser in cli mode" override fun run() { + if (!suppressAnnoyingMessage) echo(HelpMessage.ANNOYING_MESSAGE) + // Set debug if (debug) Config["debug"] = debug.toString() @@ -264,9 +269,14 @@ object Server : CliktCommand(name = "server") { private val debug by option("-d", "--debug", help = HelpMessage.DEBUG).flag() + private val suppressAnnoyingMessage by + option("--suppress-annoying-messages", help = HelpMessage.ANNOYING_MESSAGE_OPTION).flag() + override fun help(context: Context) = "Starts ue capability parser in server mode" override fun run() { + if (!suppressAnnoyingMessage) echo(HelpMessage.ANNOYING_MESSAGE) + // Set debug if (debug) Config["debug"] = debug.toString() Config["maxRequestSize"] = maxRequestSize.toString() diff --git a/src/main/java/it/smartphonecombo/uecapabilityparser/cli/HelpMessage.kt b/src/main/java/it/smartphonecombo/uecapabilityparser/cli/HelpMessage.kt index fc5d5aed..ab0bd3d2 100644 --- a/src/main/java/it/smartphonecombo/uecapabilityparser/cli/HelpMessage.kt +++ b/src/main/java/it/smartphonecombo/uecapabilityparser/cli/HelpMessage.kt @@ -58,4 +58,16 @@ object HelpMessage { const val CUSTOM_JS = "Inject custom js in Web UI" const val LIBRARY_CACHE = "Number of items to cache, each items occupies ~4-80KB of RAM. 0 = disabled, -1 = unlimited." + const val ANNOYING_MESSAGE_OPTION = "Don't ask to support the project" + val ANNOYING_MESSAGE = + """ + ---------------------------------------------------- + | Found UE Capability Parser useful? | + | Support its development! | + | More info on GitHub: | + | https://github.com/handymenny/uecapabilityparser | + ---------------------------------------------------- + + """ + .trimIndent() } diff --git a/src/test/java/it/smartphonecombo/uecapabilityparser/cli/CliCsvNewOutputTest.kt b/src/test/java/it/smartphonecombo/uecapabilityparser/cli/CliCsvNewOutputTest.kt index 303f7195..b5af9e61 100644 --- a/src/test/java/it/smartphonecombo/uecapabilityparser/cli/CliCsvNewOutputTest.kt +++ b/src/test/java/it/smartphonecombo/uecapabilityparser/cli/CliCsvNewOutputTest.kt @@ -19,6 +19,7 @@ internal class CliCsvNewOutputTest { "-", "--new-csv-format", "true", + "--suppress-annoying-messages", oracleFilename = "carrierPolicy.csv", ) } @@ -34,6 +35,7 @@ internal class CliCsvNewOutputTest { "-", "--new-csv-format", "true", + "--suppress-annoying-messages", oracleFilename = "0xB0CD.csv", ) } @@ -49,6 +51,7 @@ internal class CliCsvNewOutputTest { "-", "--new-csv-format", "true", + "--suppress-annoying-messages", oracleFilename = "mtkLte.csv", ) } @@ -64,6 +67,7 @@ internal class CliCsvNewOutputTest { "-", "--new-csv-format", "true", + "--suppress-annoying-messages", oracleFilename = "nvItem.csv", ) } @@ -79,6 +83,7 @@ internal class CliCsvNewOutputTest { "-", "--new-csv-format", "true", + "--suppress-annoying-messages", oracleFilename = "qctModemCap.csv", ) } @@ -94,6 +99,7 @@ internal class CliCsvNewOutputTest { "-", "--new-csv-format", "true", + "--suppress-annoying-messages", oracleFilename = "wiresharkEutra.csv", ) } @@ -109,6 +115,7 @@ internal class CliCsvNewOutputTest { "-", "--new-csv-format", "true", + "--suppress-annoying-messages", oracleFilename = "nsgEutra.csv", ) } @@ -124,6 +131,7 @@ internal class CliCsvNewOutputTest { "-", "--new-csv-format", "true", + "--suppress-annoying-messages", oracleFilename = "temsEutra.csv", ) } @@ -139,6 +147,7 @@ internal class CliCsvNewOutputTest { "-", "--new-csv-format", "true", + "--suppress-annoying-messages", oracleFilename = "amarisoftEutra.csv", ) } @@ -156,6 +165,7 @@ internal class CliCsvNewOutputTest { "-", "--new-csv-format", "true", + "--suppress-annoying-messages", oracleFilename = "ueCapHexEutra.csv", ) } @@ -175,6 +185,7 @@ internal class CliCsvNewOutputTest { "-", "--new-csv-format", "true", + "--suppress-annoying-messages", oracleFilename = "0xB826-0xB0CD.csv", ) } @@ -188,6 +199,7 @@ internal class CliCsvNewOutputTest { "SHLTE", "-c", "-", + "--suppress-annoying-messages", oracleFilename = "shannonLteUeCap.csv", ) } diff --git a/src/test/java/it/smartphonecombo/uecapabilityparser/cli/CliCsvOutputTest.kt b/src/test/java/it/smartphonecombo/uecapabilityparser/cli/CliCsvOutputTest.kt index 65ce0dd6..465113cf 100644 --- a/src/test/java/it/smartphonecombo/uecapabilityparser/cli/CliCsvOutputTest.kt +++ b/src/test/java/it/smartphonecombo/uecapabilityparser/cli/CliCsvOutputTest.kt @@ -19,13 +19,23 @@ internal class CliCsvOutputTest { "C", "-c", "-", + "--suppress-annoying-messages", oracleFilename = "carrierPolicy.csv", ) } @Test fun test0xB0CD() { - test("-i", "$path/input/0xB0CD.txt", "-t", "Q", "-c", "-", oracleFilename = "0xB0CD.csv") + test( + "-i", + "$path/input/0xB0CD.txt", + "-t", + "Q", + "-c", + "-", + "--suppress-annoying-messages", + oracleFilename = "0xB0CD.csv", + ) } @Test @@ -37,23 +47,51 @@ internal class CliCsvOutputTest { "QLTE", "-c", "-", + "--suppress-annoying-messages", oracleFilename = "0xB0CDMultiHex.csv", ) } @Test fun testMtkLte() { - test("-i", "$path/input/mtkLte.txt", "-t", "M", "-c", "-", oracleFilename = "mtkLte.csv") + test( + "-i", + "$path/input/mtkLte.txt", + "-t", + "M", + "-c", + "-", + "--suppress-annoying-messages", + oracleFilename = "mtkLte.csv", + ) } @Test fun testNvItem() { - test("-i", "$path/input/nvItem.bin", "-t", "E", "-c", "-", oracleFilename = "nvItem.csv") + test( + "-i", + "$path/input/nvItem.bin", + "-t", + "E", + "-c", + "-", + "--suppress-annoying-messages", + oracleFilename = "nvItem.csv", + ) } @Test fun test0xB826() { - test("-i", "$path/input/0xB826.hex", "-t", "QNR", "-c", "-", oracleFilename = "0xB826.csv") + test( + "-i", + "$path/input/0xB826.hex", + "-t", + "QNR", + "-c", + "-", + "--suppress-annoying-messages", + oracleFilename = "0xB826.csv", + ) } @Test @@ -65,6 +103,7 @@ internal class CliCsvOutputTest { "QNR", "-c", "-", + "--suppress-annoying-messages", oracleFilename = "0xB826Multi.csv", ) } @@ -78,6 +117,7 @@ internal class CliCsvOutputTest { "QNR", "-c", "-", + "--suppress-annoying-messages", oracleFilename = "0xB826MultiV14.csv", ) } @@ -91,6 +131,7 @@ internal class CliCsvOutputTest { "QNR", "-c", "-", + "--suppress-annoying-messages", oracleFilename = "0xB826MultiScat.csv", ) } @@ -104,6 +145,7 @@ internal class CliCsvOutputTest { "QNR", "-c", "-", + "--suppress-annoying-messages", oracleFilename = "0xB826MultiScat0x9801.csv", ) } @@ -117,6 +159,7 @@ internal class CliCsvOutputTest { "CNR", "-c", "-", + "--suppress-annoying-messages", oracleFilename = "nrCapPrune.csv", ) } @@ -130,6 +173,7 @@ internal class CliCsvOutputTest { "RF", "-c", "-", + "--suppress-annoying-messages", oracleFilename = "qctModemCap.csv", ) } @@ -143,6 +187,7 @@ internal class CliCsvOutputTest { "SHNR", "-c", "-", + "--suppress-annoying-messages", oracleFilename = "shannonNrUeCap.csv", ) } @@ -156,6 +201,7 @@ internal class CliCsvOutputTest { "W", "-c", "-", + "--suppress-annoying-messages", oracleFilename = "wiresharkEutra.csv", ) } @@ -169,6 +215,7 @@ internal class CliCsvOutputTest { "W", "-c", "-", + "--suppress-annoying-messages", oracleFilename = "wiresharkNr.csv", ) } @@ -182,6 +229,7 @@ internal class CliCsvOutputTest { "W", "-c", "-", + "--suppress-annoying-messages", oracleFilename = "wiresharkMrdc.csv", ) } @@ -195,6 +243,7 @@ internal class CliCsvOutputTest { "W", "-c", "-", + "--suppress-annoying-messages", oracleFilename = "wiresharkMrdcSplit.csv", ) } @@ -208,18 +257,37 @@ internal class CliCsvOutputTest { "N", "-c", "-", + "--suppress-annoying-messages", oracleFilename = "nsgEutra.csv", ) } @Test fun testNsgNr() { - test("-i", "$path/input/nsgNr.txt", "-t", "N", "-c", "-", oracleFilename = "nsgNr.csv") + test( + "-i", + "$path/input/nsgNr.txt", + "-t", + "N", + "-c", + "-", + "--suppress-annoying-messages", + oracleFilename = "nsgNr.csv", + ) } @Test fun testNsgMrdc() { - test("-i", "$path/input/nsgMrdc.txt", "-t", "N", "-c", "-", oracleFilename = "nsgMrdc.csv") + test( + "-i", + "$path/input/nsgMrdc.txt", + "-t", + "N", + "-c", + "-", + "--suppress-annoying-messages", + oracleFilename = "nsgMrdc.csv", + ) } @Test @@ -231,13 +299,23 @@ internal class CliCsvOutputTest { "N", "-c", "-", + "--suppress-annoying-messages", oracleFilename = "nsgMrdcSplit.csv", ) } @Test fun testNsgSul() { - test("-i", "$path/input/nsgSul.txt", "-t", "N", "-c", "-", oracleFilename = "nsgSul.csv") + test( + "-i", + "$path/input/nsgSul.txt", + "-t", + "N", + "-c", + "-", + "--suppress-annoying-messages", + oracleFilename = "nsgSul.csv", + ) } @Test @@ -249,6 +327,7 @@ internal class CliCsvOutputTest { "O", "-c", "-", + "--suppress-annoying-messages", oracleFilename = "osixMrdc.csv", ) } @@ -264,6 +343,7 @@ internal class CliCsvOutputTest { "LTE", "-c", "-", + "--suppress-annoying-messages", oracleFilename = "ueCapHexEutra.csv", ) } @@ -279,6 +359,7 @@ internal class CliCsvOutputTest { "NR", "-c", "-", + "--suppress-annoying-messages", oracleFilename = "ueCapHexNr.csv", ) } @@ -294,6 +375,7 @@ internal class CliCsvOutputTest { "LTE,NR,ENDC", "-c", "-", + "--suppress-annoying-messages", oracleFilename = "ueCapHexMrdcSplit.csv", ) } @@ -309,6 +391,7 @@ internal class CliCsvOutputTest { "H", "-c", "-", + "--suppress-annoying-messages", oracleFilename = "ueCapHexSegmented.csv", ) } @@ -322,6 +405,7 @@ internal class CliCsvOutputTest { "QC", "-c", "-", + "--suppress-annoying-messages", oracleFilename = "qcatMrdc.csv", ) } @@ -335,6 +419,7 @@ internal class CliCsvOutputTest { "QC", "-c", "-", + "--suppress-annoying-messages", oracleFilename = "qcatNrdc.csv", ) } @@ -348,6 +433,7 @@ internal class CliCsvOutputTest { "T", "-c", "-", + "--suppress-annoying-messages", oracleFilename = "temsEutra.csv", ) } @@ -361,6 +447,7 @@ internal class CliCsvOutputTest { "T", "-c", "-", + "--suppress-annoying-messages", oracleFilename = "temsMrdcSplit.csv", ) } @@ -374,6 +461,7 @@ internal class CliCsvOutputTest { "A", "-c", "-", + "--suppress-annoying-messages", oracleFilename = "amarisoftEutra.csv", ) } @@ -387,13 +475,23 @@ internal class CliCsvOutputTest { "A", "-c", "-", + "--suppress-annoying-messages", oracleFilename = "amarisoftNr.csv", ) } @Test fun testPcap() { - test("-i", "$path/input/pcap.pcap", "-t", "P", "-c", "-", oracleFilename = "pcap.txt") + test( + "-i", + "$path/input/pcap.pcap", + "-t", + "P", + "-c", + "-", + "--suppress-annoying-messages", + oracleFilename = "pcap.txt", + ) } @Test @@ -405,6 +503,7 @@ internal class CliCsvOutputTest { "P", "-c", "-", + "--suppress-annoying-messages", oracleFilename = "segmented.txt", ) } @@ -422,6 +521,7 @@ internal class CliCsvOutputTest { "Q", "-c", "-", + "--suppress-annoying-messages", oracleFilename = "0xB826-0xB0CD.csv", ) } @@ -448,6 +548,7 @@ internal class CliCsvOutputTest { "QMDL", "-c", "-", + "--suppress-annoying-messages", oracleFilename = "scat.csv", ) } @@ -465,6 +566,7 @@ internal class CliCsvOutputTest { "NSG", "-c", "-", + "--suppress-annoying-messages", oracleFilename = "nsgJson.txt", ) } diff --git a/src/test/java/it/smartphonecombo/uecapabilityparser/cli/CliDebugOutputTest.kt b/src/test/java/it/smartphonecombo/uecapabilityparser/cli/CliDebugOutputTest.kt index 2fdded88..eb78670a 100644 --- a/src/test/java/it/smartphonecombo/uecapabilityparser/cli/CliDebugOutputTest.kt +++ b/src/test/java/it/smartphonecombo/uecapabilityparser/cli/CliDebugOutputTest.kt @@ -25,6 +25,7 @@ internal class CliDebugOutputTest { "-t", "QLTE", "-d", + "--suppress-annoying-messages", oracleFilename = "0xB0CDMultiHex.txt", ) } @@ -37,6 +38,7 @@ internal class CliDebugOutputTest { "-t", "QNR", "--debug", + "--suppress-annoying-messages", oracleFilename = "0xB826Multi.txt", ) } @@ -49,6 +51,7 @@ internal class CliDebugOutputTest { "-t", "W", "-d", + "--suppress-annoying-messages", oracleFilename = "wiresharkMrdc.txt", ) } diff --git a/src/test/java/it/smartphonecombo/uecapabilityparser/cli/CliJsonOutputTest.kt b/src/test/java/it/smartphonecombo/uecapabilityparser/cli/CliJsonOutputTest.kt index 2f1f719b..54470bf1 100644 --- a/src/test/java/it/smartphonecombo/uecapabilityparser/cli/CliJsonOutputTest.kt +++ b/src/test/java/it/smartphonecombo/uecapabilityparser/cli/CliJsonOutputTest.kt @@ -22,6 +22,7 @@ internal class CliJsonOutputTest { "-j", "-", "--json-pretty-print", + "--suppress-annoying-messages", oracleFilename = "carrierPolicy.json", ) } @@ -36,6 +37,7 @@ internal class CliJsonOutputTest { "-j", "-", "--json-pretty-print", + "--suppress-annoying-messages", oracleFilename = "0xB0CD.json", ) } @@ -50,6 +52,7 @@ internal class CliJsonOutputTest { "-j", "-", "--json-pretty-print", + "--suppress-annoying-messages", oracleFilename = "0xB0CDMultiHex.json", ) } @@ -64,6 +67,7 @@ internal class CliJsonOutputTest { "-j", "-", "--json-pretty-print", + "--suppress-annoying-messages", oracleFilename = "mtkLte.json", ) } @@ -78,6 +82,7 @@ internal class CliJsonOutputTest { "-j", "-", "--json-pretty-print", + "--suppress-annoying-messages", oracleFilename = "nvItem.json", ) } @@ -92,6 +97,7 @@ internal class CliJsonOutputTest { "-j", "-", "--json-pretty-print", + "--suppress-annoying-messages", oracleFilename = "0xB826.json", ) } @@ -106,6 +112,7 @@ internal class CliJsonOutputTest { "-j", "-", "--json-pretty-print", + "--suppress-annoying-messages", oracleFilename = "0xB826Multi.json", ) } @@ -120,6 +127,7 @@ internal class CliJsonOutputTest { "-j", "-", "--json-pretty-print", + "--suppress-annoying-messages", oracleFilename = "0xB826MultiV14.json", ) } @@ -134,6 +142,7 @@ internal class CliJsonOutputTest { "-j", "-", "--json-pretty-print", + "--suppress-annoying-messages", oracleFilename = "0xB826MultiScat.json", ) } @@ -148,6 +157,7 @@ internal class CliJsonOutputTest { "-j", "-", "--json-pretty-print", + "--suppress-annoying-messages", oracleFilename = "0xB826Multi0x9801.json", ) } @@ -162,6 +172,7 @@ internal class CliJsonOutputTest { "-j", "-", "--json-pretty-print", + "--suppress-annoying-messages", oracleFilename = "nrCapPrune.json", ) } @@ -176,6 +187,7 @@ internal class CliJsonOutputTest { "-j", "-", "--json-pretty-print", + "--suppress-annoying-messages", oracleFilename = "qctModemCap.json", ) } @@ -190,6 +202,7 @@ internal class CliJsonOutputTest { "-j", "-", "--json-pretty-print", + "--suppress-annoying-messages", oracleFilename = "shannonNrUeCap.json", ) } @@ -204,6 +217,7 @@ internal class CliJsonOutputTest { "-j", "-", "--json-pretty-print", + "--suppress-annoying-messages", oracleFilename = "shannonLteUeCap.json", ) } @@ -218,6 +232,7 @@ internal class CliJsonOutputTest { "-j", "-", "--json-pretty-print", + "--suppress-annoying-messages", oracleFilename = "wiresharkEutra.json", ) } @@ -232,6 +247,7 @@ internal class CliJsonOutputTest { "-j", "-", "--json-pretty-print", + "--suppress-annoying-messages", oracleFilename = "wiresharkNr.json", ) } @@ -246,6 +262,7 @@ internal class CliJsonOutputTest { "-j", "-", "--json-pretty-print", + "--suppress-annoying-messages", oracleFilename = "wiresharkMrdc.json", ) } @@ -259,6 +276,7 @@ internal class CliJsonOutputTest { "W", "-j", "-", + "--suppress-annoying-messages", oracleFilename = "wiresharkMrdcSplit.json", ) } @@ -273,6 +291,7 @@ internal class CliJsonOutputTest { "-j", "-", "--json-pretty-print", + "--suppress-annoying-messages", oracleFilename = "nsgEutra.json", ) } @@ -287,6 +306,7 @@ internal class CliJsonOutputTest { "-j", "-", "--json-pretty-print", + "--suppress-annoying-messages", oracleFilename = "nsgNr.json", ) } @@ -301,6 +321,7 @@ internal class CliJsonOutputTest { "-j", "-", "--json-pretty-print", + "--suppress-annoying-messages", oracleFilename = "nsgMrdc.json", ) } @@ -314,6 +335,7 @@ internal class CliJsonOutputTest { "N", "-j", "-", + "--suppress-annoying-messages", oracleFilename = "nsgMrdcSplit.json", ) } @@ -328,6 +350,7 @@ internal class CliJsonOutputTest { "-j", "-", "--json-pretty-print", + "--suppress-annoying-messages", oracleFilename = "nsgSul.json", ) } @@ -342,6 +365,7 @@ internal class CliJsonOutputTest { "-j", "-", "--json-pretty-print", + "--suppress-annoying-messages", oracleFilename = "osixMrdc.json", ) } @@ -358,6 +382,7 @@ internal class CliJsonOutputTest { "-j", "-", "--json-pretty-print", + "--suppress-annoying-messages", oracleFilename = "ueCapHexEutra.json", ) } @@ -374,6 +399,7 @@ internal class CliJsonOutputTest { "-j", "-", "--json-pretty-print", + "--suppress-annoying-messages", oracleFilename = "ueCapHexNr.json", ) } @@ -389,6 +415,7 @@ internal class CliJsonOutputTest { "H", "-j", "-", + "--suppress-annoying-messages", oracleFilename = "ueCapHexMrdcSplit.json", ) } @@ -405,6 +432,7 @@ internal class CliJsonOutputTest { "-j", "-", "--json-pretty-print", + "--suppress-annoying-messages", oracleFilename = "ueCapHexSegmented.json", ) } @@ -419,6 +447,7 @@ internal class CliJsonOutputTest { "-j", "-", "--json-pretty-print", + "--suppress-annoying-messages", oracleFilename = "qcatMrdc.json", ) } @@ -433,6 +462,7 @@ internal class CliJsonOutputTest { "-j", "-", "--json-pretty-print", + "--suppress-annoying-messages", oracleFilename = "qcatNrdc.json", ) } @@ -447,6 +477,7 @@ internal class CliJsonOutputTest { "-j", "-", "--json-pretty-print", + "--suppress-annoying-messages", oracleFilename = "temsEutra.json", ) } @@ -461,6 +492,7 @@ internal class CliJsonOutputTest { "-j", "-", "--json-pretty-print", + "--suppress-annoying-messages", oracleFilename = "temsMrdcSplit.json", ) } @@ -475,6 +507,7 @@ internal class CliJsonOutputTest { "-j", "-", "--json-pretty-print", + "--suppress-annoying-messages", oracleFilename = "amarisoftEutra.json", ) } @@ -489,6 +522,7 @@ internal class CliJsonOutputTest { "-j", "-", "--json-pretty-print", + "--suppress-annoying-messages", oracleFilename = "amarisoftNr.json", ) } diff --git a/src/test/java/it/smartphonecombo/uecapabilityparser/cli/CliMultiJsonOutputTest.kt b/src/test/java/it/smartphonecombo/uecapabilityparser/cli/CliMultiJsonOutputTest.kt index f8306237..747b5151 100644 --- a/src/test/java/it/smartphonecombo/uecapabilityparser/cli/CliMultiJsonOutputTest.kt +++ b/src/test/java/it/smartphonecombo/uecapabilityparser/cli/CliMultiJsonOutputTest.kt @@ -24,6 +24,7 @@ internal class CliMultiJsonOutputTest { "-j", "-", "--json-pretty-print", + "--suppress-annoying-messages", oracleFilename = "pcap.json", ) } @@ -38,6 +39,7 @@ internal class CliMultiJsonOutputTest { "-j", "-", "--json-pretty-print", + "--suppress-annoying-messages", oracleFilename = "segmented.json", ) } @@ -55,6 +57,7 @@ internal class CliMultiJsonOutputTest { "Q", "-j", "-", + "--suppress-annoying-messages", oracleFilename = "0xB826-0xB0CD.json", ) } @@ -81,6 +84,7 @@ internal class CliMultiJsonOutputTest { "QMDL", "-j", "-", + "--suppress-annoying-messages", oracleFilename = "scat.json", ) } @@ -98,6 +102,7 @@ internal class CliMultiJsonOutputTest { "NSG", "-j", "-", + "--suppress-annoying-messages", oracleFilename = "nsgJson.json", ) } diff --git a/src/test/java/it/smartphonecombo/uecapabilityparser/cli/CliUeLogOutputTest.kt b/src/test/java/it/smartphonecombo/uecapabilityparser/cli/CliUeLogOutputTest.kt index 0d8e71e2..e36b751d 100644 --- a/src/test/java/it/smartphonecombo/uecapabilityparser/cli/CliUeLogOutputTest.kt +++ b/src/test/java/it/smartphonecombo/uecapabilityparser/cli/CliUeLogOutputTest.kt @@ -19,6 +19,7 @@ internal class CliUeLogOutputTest { "-l", "-", "--json-pretty-print", + "--suppress-annoying-messages", oracleFilename = "wiresharkEutra.json", ) } @@ -33,6 +34,7 @@ internal class CliUeLogOutputTest { "-l", "-", "--json-pretty-print", + "--suppress-annoying-messages", oracleFilename = "wiresharkNr.json", ) } @@ -47,6 +49,7 @@ internal class CliUeLogOutputTest { "-l", "-", "--json-pretty-print", + "--suppress-annoying-messages", oracleFilename = "wiresharkMrdc.json", ) } @@ -61,6 +64,7 @@ internal class CliUeLogOutputTest { "-l", "-", "--json-pretty-print", + "--suppress-annoying-messages", oracleFilename = "wiresharkMrdcSplit.json", ) } @@ -75,6 +79,7 @@ internal class CliUeLogOutputTest { "-l", "-", "--json-pretty-print", + "--suppress-annoying-messages", oracleFilename = "nsgEutra.json", ) } @@ -89,6 +94,7 @@ internal class CliUeLogOutputTest { "-l", "-", "--json-pretty-print", + "--suppress-annoying-messages", oracleFilename = "nsgNr.json", ) } @@ -103,6 +109,7 @@ internal class CliUeLogOutputTest { "-l", "-", "--json-pretty-print", + "--suppress-annoying-messages", oracleFilename = "nsgMrdc.json", ) } @@ -117,6 +124,7 @@ internal class CliUeLogOutputTest { "-l", "-", "--json-pretty-print", + "--suppress-annoying-messages", oracleFilename = "nsgMrdcSplit.json", ) } @@ -131,6 +139,7 @@ internal class CliUeLogOutputTest { "-l", "-", "--json-pretty-print", + "--suppress-annoying-messages", oracleFilename = "nsgSul.json", ) } @@ -145,6 +154,7 @@ internal class CliUeLogOutputTest { "-l", "-", "--json-pretty-print", + "--suppress-annoying-messages", oracleFilename = "osixMrdc.json", ) } @@ -161,6 +171,7 @@ internal class CliUeLogOutputTest { "-l", "-", "--json-pretty-print", + "--suppress-annoying-messages", oracleFilename = "ueCapHexEutra.json", ) } @@ -177,6 +188,7 @@ internal class CliUeLogOutputTest { "-l", "-", "--json-pretty-print", + "--suppress-annoying-messages", oracleFilename = "ueCapHexNr.json", ) } @@ -193,6 +205,7 @@ internal class CliUeLogOutputTest { "-l", "-", "--json-pretty-print", + "--suppress-annoying-messages", oracleFilename = "ueCapHexMrdcSplit.json", ) } @@ -209,6 +222,7 @@ internal class CliUeLogOutputTest { "-l", "-", "--json-pretty-print", + "--suppress-annoying-messages", oracleFilename = "ueCapHexSegmented.json", ) } @@ -223,6 +237,7 @@ internal class CliUeLogOutputTest { "-l", "-", "--json-pretty-print", + "--suppress-annoying-messages", oracleFilename = "qcatMrdc.json", ) } @@ -237,6 +252,7 @@ internal class CliUeLogOutputTest { "-l", "-", "--json-pretty-print", + "--suppress-annoying-messages", oracleFilename = "qcatNrdc.json", ) } @@ -251,6 +267,7 @@ internal class CliUeLogOutputTest { "-l", "-", "--json-pretty-print", + "--suppress-annoying-messages", oracleFilename = "temsEutra.json", ) } @@ -265,6 +282,7 @@ internal class CliUeLogOutputTest { "-l", "-", "--json-pretty-print", + "--suppress-annoying-messages", oracleFilename = "amarisoftEutra.json", ) } @@ -279,6 +297,7 @@ internal class CliUeLogOutputTest { "-l", "-", "--json-pretty-print", + "--suppress-annoying-messages", oracleFilename = "amarisoftNr.json", ) } @@ -293,6 +312,7 @@ internal class CliUeLogOutputTest { "-l", "-", "--json-pretty-print", + "--suppress-annoying-messages", oracleFilename = "temsMrdcSplit.json", ) }