개정판 c1946e9c
issue #000 DOCPAGEREPO 수정.
Change-Id: I6163b8b26afb516e68b10ac5810590822260cd2f
ConvertService/ServiceBase/Markus.Service.DataBase.Test/DataBaseDocPagePG.cs | ||
---|---|---|
16 | 16 |
{ |
17 | 17 |
newConvertDocID = repository.CreateAsync(ProjectNo, docUri, "111111").GetAwaiter().GetResult(); |
18 | 18 |
Console.WriteLine($"new id : {newConvertDocID}"); |
19 |
Assert.Pass(newConvertDocID); |
|
20 | 19 |
} |
21 | 20 |
|
22 | 21 |
if (!string.IsNullOrEmpty(newConvertDocID)) |
... | ... | |
26 | 25 |
newDocInfo = repository.CreateAsync(newConvertDocID, 10).GetAwaiter().GetResult(); |
27 | 26 |
|
28 | 27 |
Console.WriteLine($"new id : {newDocInfo}"); |
29 |
Assert.Pass(newDocInfo); |
|
30 | 28 |
} |
31 | 29 |
|
32 | 30 |
|
... | ... | |
36 | 34 |
{ |
37 | 35 |
List<Entities.DOCPAGE> pages = new List<Entities.DOCPAGE>(); |
38 | 36 |
|
39 |
for (int i = 0; i < 1000; i++)
|
|
37 |
for (int i = 0; i < 20000; i++)
|
|
40 | 38 |
{ |
41 | 39 |
pages.Add(new Entities.DOCPAGE { DOCINFO_ID = newDocInfo, PAGE_NUMBER = i + 1, PAGE_WIDTH = "1210", PAGE_HEIGHT = "1210", PAGE_ANGLE = 0 }); |
42 | 40 |
} |
... | ... | |
46 | 44 |
{ |
47 | 45 |
Assert.Pass(); |
48 | 46 |
} |
49 |
else |
|
50 |
{ |
|
51 |
Assert.Fail(); |
|
52 |
} |
|
47 |
|
|
48 |
|
|
53 | 49 |
} |
54 | 50 |
} |
55 |
else |
|
56 |
{ |
|
57 |
Assert.Fail(); |
|
58 |
} |
|
59 | 51 |
} |
60 |
|
|
52 |
Assert.Fail(); |
|
61 | 53 |
} |
62 | 54 |
} |
63 | 55 |
} |
내보내기 Unified diff