Rearrange Low level diagrams into a folder.
This commit is contained in:
parent
e8d42bf98f
commit
a76603f00c
@ -12,6 +12,10 @@ namespace TeamHobby.HobbyProjectGenerator.Archive
|
|||||||
_conn = dataSource;
|
_conn = dataSource;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//public IDataSource<string> GetConnection()
|
||||||
|
//{
|
||||||
|
// return _conn;
|
||||||
|
//}
|
||||||
|
|
||||||
// Create the folder where the compress file will be stored
|
// Create the folder where the compress file will be stored
|
||||||
public bool CreateArchiveFolder(){
|
public bool CreateArchiveFolder(){
|
||||||
|
|||||||
@ -75,8 +75,21 @@ namespace TeamHobby.HobbyProjectGenerator.ArchiveTests
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void FolderCreationFailed()
|
public void CopyingToAFileTest(IDataSource<string> sqlDAO)
|
||||||
{
|
{
|
||||||
|
// Arrange
|
||||||
|
ArchiveManager archiveManager = new ArchiveManager(sqlDAO);
|
||||||
|
SqlDAO sqlDS = null;
|
||||||
|
|
||||||
|
if (sqlDAO.GetType() == typeof(SqlDAO))
|
||||||
|
{
|
||||||
|
sqlDS = (SqlDAO)sqlDAO;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Act
|
||||||
|
|
||||||
|
|
||||||
|
// Assert
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -31,7 +31,7 @@ namespace TeamHobby.HobbyProjectGenerator.DataAccess
|
|||||||
// Getter and setter for Odbc
|
// Getter and setter for Odbc
|
||||||
public OdbcConnection Connection { get; set; }
|
public OdbcConnection Connection { get; set; }
|
||||||
|
|
||||||
public OdbcConnection getConnection()
|
public OdbcConnection GetConnection()
|
||||||
{
|
{
|
||||||
return _conn;
|
return _conn;
|
||||||
}
|
}
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 544 KiB After Width: | Height: | Size: 544 KiB |
|
Before Width: | Height: | Size: 92 KiB After Width: | Height: | Size: 92 KiB |
|
Before Width: | Height: | Size: 74 KiB After Width: | Height: | Size: 74 KiB |
Loading…
Reference in New Issue
Block a user