diff --git a/Test.GBase.Client/IntegrationTest.cs b/Test.GBase.Client/IntegrationTest.cs index 6868eac..da19837 100644 --- a/Test.GBase.Client/IntegrationTest.cs +++ b/Test.GBase.Client/IntegrationTest.cs @@ -1,3 +1,7 @@ +using System.Net; +using GBase.Api.Communication; +using GBase.Client; +using GBase.Client.Interfaces; using NUnit.Framework; namespace Test.GBase.Client @@ -13,7 +17,12 @@ namespace Test.GBase.Client [Test] public void CheckBasicConnectionWithServer() { - Assert.Pass(); + IGBaseClientSettings settings = + new GBaseClientSettings(ServerProtocol.Http, IPAddress.Parse("127.0.0.1"), 8080, "/GBase", "/GBaseTable", "/GBaseEntry"); + IGBaseClient client = new GBaseClient(settings); + + bool ret = client.GBase.AddTable(); + Assert.True(ret); } } } \ No newline at end of file diff --git a/Test.GBase.Client/Test.GBase.Client.csproj b/Test.GBase.Client/Test.GBase.Client.csproj index e532582..a24e93f 100644 --- a/Test.GBase.Client/Test.GBase.Client.csproj +++ b/Test.GBase.Client/Test.GBase.Client.csproj @@ -9,7 +9,11 @@ - + + + + +