Skip to content

chore(deps): update dependency system.data.sqlite to 1.0.119 #236

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/SmartSql.DataConnector/SmartSql.DataConnector.csproj
Original file line number Diff line number Diff line change
@@ -30,7 +30,7 @@
<PackageReference Include="Serilog.Sinks.Console" Version="4.0.1" />
<PackageReference Include="Serilog.Sinks.File" Version="5.0.0" />
<PackageReference Include="System.Data.SqlClient" Version="4.8.5" />
<PackageReference Include="System.Data.SQLite" Version="1.0.115.5" />
<PackageReference Include="System.Data.SQLite" Version="1.0.119" />
<PackageReference Include="YamlDotNet" Version="11.2.1" />
</ItemGroup>


Unchanged files with check annotations Beta

return (byte)_value;
}
public override long GetBytes(int ordinal, long dataOffset, byte[]? buffer, int bufferOffset, int length)

Check warning on line 34 in src/SmartSql.Test.Unit/TypeHandlers/MockTypeHandlerDbDataReader.cs

GitHub Actions / SmartSql Unit Test (6.0.x)

The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.

Check warning on line 34 in src/SmartSql.Test.Unit/TypeHandlers/MockTypeHandlerDbDataReader.cs

GitHub Actions / SmartSql Unit Test (6.0.x)

The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
{
throw new NotImplementedException();
}
return (char)_value;
}
public override long GetChars(int ordinal, long dataOffset, char[]? buffer, int bufferOffset, int length)

Check warning on line 44 in src/SmartSql.Test.Unit/TypeHandlers/MockTypeHandlerDbDataReader.cs

GitHub Actions / SmartSql Unit Test (6.0.x)

The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.

Check warning on line 44 in src/SmartSql.Test.Unit/TypeHandlers/MockTypeHandlerDbDataReader.cs

GitHub Actions / SmartSql Unit Test (6.0.x)

The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
{
throw new NotImplementedException();
}
Request = new { }
});
}
catch (TagRequiredFailException ex)

Check warning on line 259 in src/SmartSql.Test.Unit/DbSessions/DbSessionTest.cs

GitHub Actions / SmartSql Unit Test (6.0.x)

The variable 'ex' is declared but never used

Check warning on line 259 in src/SmartSql.Test.Unit/DbSessions/DbSessionTest.cs

GitHub Actions / SmartSql Unit Test (6.0.x)

The variable 'ex' is declared but never used
{
Assert.True(true);
}
Request = new { }
});
}
catch (TagRequiredFailException ex)

Check warning on line 277 in src/SmartSql.Test.Unit/DbSessions/DbSessionTest.cs

GitHub Actions / SmartSql Unit Test (6.0.x)

The variable 'ex' is declared but never used

Check warning on line 277 in src/SmartSql.Test.Unit/DbSessions/DbSessionTest.cs

GitHub Actions / SmartSql Unit Test (6.0.x)

The variable 'ex' is declared but never used
{
Assert.True(true);
}
{
public class Tests
{
public void CreateInstance_Linq()

Check warning on line 14 in src/SmartSql.Test.Unit/Attempts/Tests.cs

GitHub Actions / SmartSql Unit Test (6.0.x)

Public method 'CreateInstance_Linq' on test class 'Tests' should be marked as a Fact.

Check warning on line 14 in src/SmartSql.Test.Unit/Attempts/Tests.cs

GitHub Actions / SmartSql Unit Test (6.0.x)

Public method 'CreateInstance_Linq' on test class 'Tests' should be marked as a Fact.
{
var userType = typeof(User);
statement.BuildSql(requestCtx);
Assert.True(requestCtx.Parameters.ContainsKey("UUID"));
Assert.True(requestCtx.Parameters["UUID"].Value.ToString().Contains("-"));

Check warning on line 31 in src/SmartSql.Test.Unit/Tags/UUIDTest.cs

GitHub Actions / SmartSql Unit Test (6.0.x)

Do not use Assert.True() to check for substrings.

Check warning on line 31 in src/SmartSql.Test.Unit/Tags/UUIDTest.cs

GitHub Actions / SmartSql Unit Test (6.0.x)

Do not use Assert.True() to check for substrings.
Assert.Equal("?UUID", requestCtx.SqlBuilder.ToString().Trim());
}
statement.BuildSql(requestCtx);
Assert.True(requestCtx.Parameters.ContainsKey("UUID"));
Assert.False(requestCtx.Parameters["UUID"].Value.ToString().Contains("-"));

Check warning on line 49 in src/SmartSql.Test.Unit/Tags/UUIDTest.cs

GitHub Actions / SmartSql Unit Test (6.0.x)

Do not use Assert.False() to check for substrings.

Check warning on line 49 in src/SmartSql.Test.Unit/Tags/UUIDTest.cs

GitHub Actions / SmartSql Unit Test (6.0.x)

Do not use Assert.False() to check for substrings.
Assert.Equal("?UUID", requestCtx.SqlBuilder.ToString().Trim());
}
}
Request = new { PageSize = 10, Offset = 0 }
});
Assert.NotNull(result);

Check warning on line 30 in src/SmartSql.Test.Unit/Deserializer/ValueTupleDeserializerTest.cs

GitHub Actions / SmartSql Unit Test (6.0.x)

Do not use Assert.NotNull() on value type '(IEnumerable<AllPrimitive>, int)'.

Check warning on line 30 in src/SmartSql.Test.Unit/Deserializer/ValueTupleDeserializerTest.cs

GitHub Actions / SmartSql Unit Test (6.0.x)

Do not use Assert.NotNull() on value type '(IEnumerable<AllPrimitive>, int)'.
}
}
}
{
var result = _repository.GetByPage_ValueTuple();
Assert.NotNull(result);

Check warning on line 24 in src/SmartSql.Test.Unit/DyRepository/AllPrimitiveRepositoryTest.cs

GitHub Actions / SmartSql Unit Test (6.0.x)

Do not use Assert.NotNull() on value type '(IList<AllPrimitive>, int)'.

Check warning on line 24 in src/SmartSql.Test.Unit/DyRepository/AllPrimitiveRepositoryTest.cs

GitHub Actions / SmartSql Unit Test (6.0.x)

Do not use Assert.NotNull() on value type '(IList<AllPrimitive>, int)'.
}
[Fact]