개정판 9e974b65
issue #000 TEST 프로젝트 수정.
Change-Id: I1d49f5584f049a3e1b40fcc11105b58a9c55334e
ConvertService/ServiceBase/Markus.Service.DataBase.Test/DataBaseConvertDocPG.cs | ||
---|---|---|
23 | 23 |
|
24 | 24 |
newConvertDocIDs.Add(newConvertDocID); |
25 | 25 |
Console.WriteLine($"new id : {newConvertDocID}"); |
26 |
|
|
26 |
Assert.Pass(newConvertDocID); |
|
27 | 27 |
var newConvertDocID2 = repository.CreateAsync(ProjectNo, docUri, "A1111111").GetAwaiter().GetResult(); |
28 | 28 |
|
29 | 29 |
newConvertDocIDs.Add(newConvertDocID2); |
30 | 30 |
Console.WriteLine($"new id : {newConvertDocID2}"); |
31 |
Assert.Pass(newConvertDocID2); |
|
31 | 32 |
} |
32 | 33 |
|
33 | 34 |
} |
34 | 35 |
|
35 | 36 |
|
36 | 37 |
/// <summary> |
37 |
/// 완료 |
|
38 |
/// 완료
|
|
38 | 39 |
/// </summary> |
39 | 40 |
[Test, Description("Craete Convert Doc MSSQL Test")] |
40 | 41 |
public void CreateConvertDoc() |
... | ... | |
45 | 46 |
|
46 | 47 |
newConvertDocIDs.Add(newConvertDocID); |
47 | 48 |
Console.WriteLine($"new id : {newConvertDocID}"); |
48 |
|
|
49 |
Assert.Pass(newConvertDocID); |
|
49 | 50 |
var newConvertDocID2 = repository.Create(ProjectNo, docUri, "A1111111").GetAwaiter().GetResult(); |
50 | 51 |
|
51 | 52 |
newConvertDocIDs.Add(newConvertDocID2); |
52 | 53 |
Console.WriteLine($"new id : {newConvertDocID2}"); |
54 |
Assert.Pass(newConvertDocID2); |
|
55 |
|
|
53 | 56 |
} |
54 | 57 |
} |
55 | 58 |
|
... | ... | |
66 | 69 |
foreach (var convertDocID in newConvertDocIDs) |
67 | 70 |
{ |
68 | 71 |
var convertDoc = repository.GetConvertDocSingleAsync(ProjectNo, ConvertID: convertDocID).GetAwaiter().GetResult(); |
69 |
|
|
72 |
Assert.Pass(convertDoc.ID); |
|
70 | 73 |
Console.WriteLine($"ID : {convertDoc.ID} PROJECT_NO:{convertDoc.PROJECT_NO} DOCUMENT_URL:{convertDoc.DOCUMENT_URL} DOCUMENT_ID:{convertDoc.DOCUMENT_ID} ConvertPath:{convertDoc.ConvertPath} "); |
71 | 74 |
} |
72 | 75 |
|
... | ... | |
167 | 170 |
|
168 | 171 |
Console.WriteLine($"ID : {convertDoc.ID} PROJECT_NO:{convertDoc.PROJECT_NO} DOCUMENT_URL:{convertDoc.DOCUMENT_URL} DOCUMENT_ID:{convertDoc.DOCUMENT_ID} ConvertPath:{convertDoc.ConvertPath} "); |
169 | 172 |
|
170 |
var items = repository.UpdateStatusAsync("", convertDoc.ID, convertDoc.STATUS, convertDoc.TOTAL_PAGE, convertDoc.CURRENT_PAGE, "").GetAwaiter().GetResult();
|
|
173 |
var status = repository.UpdateStatusAsync("", convertDoc.ID, convertDoc.STATUS, convertDoc.TOTAL_PAGE, convertDoc.CURRENT_PAGE, "").GetAwaiter().GetResult();
|
|
171 | 174 |
|
172 |
|
|
175 |
//Assert.That(status, Is.EqualTo(1)); |
|
173 | 176 |
} |
174 | 177 |
} |
175 | 178 |
|
내보내기 Unified diff