From c4f2b39befad6bd577967313c0d98f1a51df634e Mon Sep 17 00:00:00 2001 From: Conrad Vermeulen Date: Mon, 7 Jan 2008 11:16:55 +0000 Subject: [PATCH] WSA-76 "Update unit tests for document detail in web service" Updated. Reinstating some tests --- ktwebservice/nunit/document_detail.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ktwebservice/nunit/document_detail.cs b/ktwebservice/nunit/document_detail.cs index 3ab6eb3..fa41138 100644 --- a/ktwebservice/nunit/document_detail.cs +++ b/ktwebservice/nunit/document_detail.cs @@ -108,7 +108,7 @@ namespace MonoTests.KnowledgeTree Assert.AreEqual(null, response.transitions); } - //[Test] + [Test] public void GetDetailByTitleTest() { kt_document_detail response = this._kt.get_document_detail_by_name(this._session, 1, "Root Folder/kt unit test1", "T",""); @@ -118,7 +118,7 @@ namespace MonoTests.KnowledgeTree } - //[Test] + [Test] public void GetDetailByTitle2Test() { kt_document_detail response = this._kt.get_document_detail_by_title(this._session, 1, "Root Folder/kt unit test1", ""); @@ -127,7 +127,7 @@ namespace MonoTests.KnowledgeTree Assert.AreEqual(this._docId, response.document_id); } - //[Test] + [Test] public void GetDetailByFileTest() { kt_document_detail response = this._kt.get_document_detail_by_name(this._session, 1, "Root Folder/kt_unit_test1.txt", "F",""); @@ -135,7 +135,7 @@ namespace MonoTests.KnowledgeTree Assert.AreEqual(0, response.status_code); Assert.AreEqual(this._docId, response.document_id); } - //[Test] + [Test] public void GetDetailByFile2Test() { kt_document_detail response = this._kt.get_document_detail_by_filename(this._session, 1, "Root Folder/kt_unit_test1.txt", ""); @@ -144,7 +144,7 @@ namespace MonoTests.KnowledgeTree Assert.AreEqual(this._docId, response.document_id); } - //[Test] + [Test] public void GetDetailByUnknownNameTest() { kt_document_detail response = this._kt.get_document_detail_by_name(this._session, 1, "Root Folder/kt_unit_test1.ssssdasdasd", "F",""); -- libgit2 0.21.4