浏览代码

优化测试单元不能缺少appsetting.json的问题

tags/pipeline-1.0.0
waterliu99 5 年前
父节点
当前提交
7544eb540a
共有 12 个文件被更改,包括 191 次插入0 次删除
  1. +11
    -0
      src/JT808.DotNetty.Services.Tests/JT808.DotNetty.MsgIdHandler.Test/Properties/launchSettings.json
  2. +20
    -0
      src/JT808.DotNetty.Services.Tests/JT808.DotNetty.MsgIdHandler.Test/appsettings.json
  3. +11
    -0
      src/JT808.DotNetty.Services.Tests/JT808.DotNetty.MsgLogging.Test/Properties/launchSettings.json
  4. +25
    -0
      src/JT808.DotNetty.Services.Tests/JT808.DotNetty.MsgLogging.Test/appsettings.json
  5. +11
    -0
      src/JT808.DotNetty.Services.Tests/JT808.DotNetty.ReplyMessage.Test/Properties/launchSettings.json
  6. +20
    -0
      src/JT808.DotNetty.Services.Tests/JT808.DotNetty.ReplyMessage.Test/appsettings.json
  7. +11
    -0
      src/JT808.DotNetty.Services.Tests/JT808.DotNetty.SessionNotice.Test/Properties/launchSettings.json
  8. +20
    -0
      src/JT808.DotNetty.Services.Tests/JT808.DotNetty.SessionNotice.Test/appsettings.json
  9. +11
    -0
      src/JT808.DotNetty.Services.Tests/JT808.DotNetty.Traffic.Test/Properties/launchSettings.json
  10. +20
    -0
      src/JT808.DotNetty.Services.Tests/JT808.DotNetty.Traffic.Test/appsettings.json
  11. +11
    -0
      src/JT808.DotNetty.Services.Tests/JT808.DotNetty.Transmit.Test/Properties/launchSettings.json
  12. +20
    -0
      src/JT808.DotNetty.Services.Tests/JT808.DotNetty.Transmit.Test/appsettings.json

+ 11
- 0
src/JT808.DotNetty.Services.Tests/JT808.DotNetty.MsgIdHandler.Test/Properties/launchSettings.json 查看文件

@@ -0,0 +1,11 @@
{
"profiles": {
"JT808.DotNetty.MsgIdHandler.Test": {
"commandName": "Project",
"commandLineArgs": "ASPNETCORE_ENVIRONMENT=Development",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
}
}
}

+ 20
- 0
src/JT808.DotNetty.Services.Tests/JT808.DotNetty.MsgIdHandler.Test/appsettings.json 查看文件

@@ -0,0 +1,20 @@
{
"Logging": {
"IncludeScopes": false,
"Debug": {
"LogLevel": {
"Default": "Trace"
}
},
"Console": {
"LogLevel": {
"Default": "Trace"
}
}
},
"JT808MsgConsumerConfig": {
"TopicName": "JT808Msg",
"GroupId": "msg-group",
"BootstrapServers": "127.0.0.1:9092"
}
}

+ 11
- 0
src/JT808.DotNetty.Services.Tests/JT808.DotNetty.MsgLogging.Test/Properties/launchSettings.json 查看文件

@@ -0,0 +1,11 @@
{
"profiles": {
"JT808.DotNetty.MsgLogging.Test": {
"commandName": "Project",
"commandLineArgs": "ASPNETCORE_ENVIRONMENT=Development",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
}
}
}

+ 25
- 0
src/JT808.DotNetty.Services.Tests/JT808.DotNetty.MsgLogging.Test/appsettings.json 查看文件

@@ -0,0 +1,25 @@
{
"Logging": {
"IncludeScopes": false,
"Debug": {
"LogLevel": {
"Default": "Trace"
}
},
"Console": {
"LogLevel": {
"Default": "Trace"
}
}
},
"JT808MsgConsumerConfig": {
"TopicName": "JT808Msg",
"GroupId": "msg-group",
"BootstrapServers": "127.0.0.1:9092"
},
"JT808MsgReplyConsumerConfig": {
"TopicName": "JT808MsgReply",
"GroupId": "msgreply-group",
"BootstrapServers": "127.0.0.1:9093"
}
}

+ 11
- 0
src/JT808.DotNetty.Services.Tests/JT808.DotNetty.ReplyMessage.Test/Properties/launchSettings.json 查看文件

@@ -0,0 +1,11 @@
{
"profiles": {
"JT808.DotNetty.ReplyMessage.Test": {
"commandName": "Project",
"commandLineArgs": "ASPNETCORE_ENVIRONMENT=Development",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
}
}
}

+ 20
- 0
src/JT808.DotNetty.Services.Tests/JT808.DotNetty.ReplyMessage.Test/appsettings.json 查看文件

@@ -0,0 +1,20 @@
{
"Logging": {
"IncludeScopes": false,
"Debug": {
"LogLevel": {
"Default": "Trace"
}
},
"Console": {
"LogLevel": {
"Default": "Trace"
}
}
},
"JT808MsgConsumerConfig": {
"TopicName": "JT808Msg",
"GroupId": "msg-group",
"BootstrapServers": "127.0.0.1:9092"
}
}

+ 11
- 0
src/JT808.DotNetty.Services.Tests/JT808.DotNetty.SessionNotice.Test/Properties/launchSettings.json 查看文件

@@ -0,0 +1,11 @@
{
"profiles": {
"JT808.DotNetty.SessionNotice.Test": {
"commandName": "Project",
"commandLineArgs": "ASPNETCORE_ENVIRONMENT=Development",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
}
}
}

+ 20
- 0
src/JT808.DotNetty.Services.Tests/JT808.DotNetty.SessionNotice.Test/appsettings.json 查看文件

@@ -0,0 +1,20 @@
{
"Logging": {
"IncludeScopes": false,
"Debug": {
"LogLevel": {
"Default": "Trace"
}
},
"Console": {
"LogLevel": {
"Default": "Trace"
}
}
},
"JT808SessionConsumerConfig": {
"TopicName": "JT808Session",
"GroupId": "session-group",
"BootstrapServers": "127.0.0.1:9094"
}
}

+ 11
- 0
src/JT808.DotNetty.Services.Tests/JT808.DotNetty.Traffic.Test/Properties/launchSettings.json 查看文件

@@ -0,0 +1,11 @@
{
"profiles": {
"JT808.DotNetty.Traffic.Test": {
"commandName": "Project",
"commandLineArgs": "ASPNETCORE_ENVIRONMENT=Development",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
}
}
}

+ 20
- 0
src/JT808.DotNetty.Services.Tests/JT808.DotNetty.Traffic.Test/appsettings.json 查看文件

@@ -0,0 +1,20 @@
{
"Logging": {
"IncludeScopes": false,
"Debug": {
"LogLevel": {
"Default": "Trace"
}
},
"Console": {
"LogLevel": {
"Default": "Trace"
}
}
},
"JT808MsgConsumerConfig": {
"TopicName": "JT808Msg",
"GroupId": "msg-group",
"BootstrapServers": "127.0.0.1:9092"
}
}

+ 11
- 0
src/JT808.DotNetty.Services.Tests/JT808.DotNetty.Transmit.Test/Properties/launchSettings.json 查看文件

@@ -0,0 +1,11 @@
{
"profiles": {
"JT808.DotNetty.Transmit.Test": {
"commandName": "Project",
"commandLineArgs": "ASPNETCORE_ENVIRONMENT=Development",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
}
}
}

+ 20
- 0
src/JT808.DotNetty.Services.Tests/JT808.DotNetty.Transmit.Test/appsettings.json 查看文件

@@ -0,0 +1,20 @@
{
"Logging": {
"IncludeScopes": false,
"Debug": {
"LogLevel": {
"Default": "Trace"
}
},
"Console": {
"LogLevel": {
"Default": "Trace"
}
}
},
"JT808MsgConsumerConfig": {
"TopicName": "JT808Msg",
"GroupId": "msg-group",
"BootstrapServers": "127.0.0.1:9092"
}
}

正在加载...
取消
保存