/* $Id: SQLDBTypeConverterTest.cs,v 1.2 2004/10/27 14:09:23 larsbm Exp $
* Copyright (c) 2004 Engine EAR GmbH & Co. KG
* Developed by: Lars Behrmann, lb@engine.de
*/
using System;
using System.Collections;
using NUnit.Framework;
using SQLToNeo.Model;
namespace SQLToNeo.Tests{
[TestFixture]
public class SQLDBTypeConverterTest
{
private SQLDbTypeConverter _converter;
[SetUp]
public void Init()
{
_converter = new SQLDbTypeConverter();
}
[Test]
public void ConverterTests()
{
Assert.IsNotNull(_converter.DBTypes, "Hashtable should not be null");
Assert.AreEqual(_converter.ConvertName, "SQL Datatype Converter", "Must be .... ");
Assert.AreEqual(_converter.Convert("char"), "VARCHAR", "Cchar must be converted to VARCHAR");
}
}
}
/*
* $Log: SQLDBTypeConverterTest.cs,v $
* Revision 1.2 2004/10/27 14:09:23 larsbm
* - Fixed bugs in tablebuilder, TablestyleCreator
* - Working on the forms
* - Finishing DBTypes
* - Add IWriter & Writer, NeoXMLModelWriter as abstraction for writing the xml model
*
* Revision 1.1 2004/10/26 13:23:46 larsbm
* - Fixed bugs in tablebuilder
* - Working on the forms
* - Finishing MergeSpecial
* - Make app run with mergespecial
* - start converter for sqldatatypes
*
*/
|