개정판 9e974b65
issue #000 TEST 프로젝트 수정.
Change-Id: I1d49f5584f049a3e1b40fcc11105b58a9c55334e
ConvertService/ServiceBase/Markus.Service.DataBase.Test/DataBaseDocPage.cs | ||
---|---|---|
15 | 15 |
{ |
16 | 16 |
newConvertDocID = repository.CreateAsync(ProjectNo, docUri, "111111").GetAwaiter().GetResult(); |
17 | 17 |
Console.WriteLine($"new id : {newConvertDocID}"); |
18 |
Assert.Pass(newConvertDocID); |
|
18 | 19 |
} |
19 | 20 |
|
20 | 21 |
if (!string.IsNullOrEmpty(newConvertDocID)) |
... | ... | |
24 | 25 |
newDocInfo = repository.CreateAsync(newConvertDocID, 10).GetAwaiter().GetResult(); |
25 | 26 |
|
26 | 27 |
Console.WriteLine($"new id : {newDocInfo}"); |
28 |
Assert.Pass(newDocInfo); |
|
27 | 29 |
} |
28 | 30 |
|
29 | 31 |
|
... | ... | |
39 | 41 |
} |
40 | 42 |
|
41 | 43 |
var result = repository.CreateAsync(pages).GetAwaiter().GetResult(); |
42 |
|
|
43 |
Console.WriteLine($"new id : {result}"); |
|
44 |
if (result) |
|
45 |
{ |
|
46 |
Assert.Pass(); |
|
47 |
} |
|
48 |
else |
|
49 |
{ |
|
50 |
Assert.Fail(); |
|
51 |
} |
|
44 | 52 |
} |
45 | 53 |
} |
54 |
else |
|
55 |
{ |
|
56 |
Assert.Fail(); |
|
57 |
} |
|
46 | 58 |
} |
47 | 59 |
|
48 | 60 |
} |
내보내기 Unified diff