File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed
Statement/ColumnConstraint Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change 6767 <ItemGroup >
6868 <Compile Include =" Properties\AssemblyInfo.cs" />
6969 <Compile Include =" Statement\ColumnConstraint\MaxLengthConstraint.cs" />
70+ <Compile Include =" Statement\ColumnConstraint\NotNullConstraintTest.cs" />
7071 <Compile Include =" Statement\ColumnStatementCollectionTest.cs" />
7172 <Compile Include =" Statement\PrimaryKeyStatementTest.cs" />
7273 <Compile Include =" Statement\CreateDatabaseStatementTest.cs" />
Original file line number Diff line number Diff line change 1+ using Microsoft . VisualStudio . TestTools . UnitTesting ;
2+ using SQLite . CodeFirst . Statement . ColumnConstraint ;
3+
4+ namespace SQLite . CodeFirst . Test . Statement . ColumnConstraint
5+ {
6+ [ TestClass ]
7+ public class NotNullConstraintTest : StatementTestBase
8+ {
9+ [ TestMethod ]
10+ public void CreateStatementTest ( )
11+ {
12+ var notNullConstraint = new NotNullConstraint ( ) ;
13+ string output = notNullConstraint . CreateStatement ( ) ;
14+ Assert . AreEqual ( output , "NOT NULL" ) ;
15+ }
16+ }
17+ }
You can’t perform that action at this time.
0 commit comments