public class TestOSLCMERGE
extends java.lang.Object
| Constructor and Description |
|---|
TestOSLCMERGE() |
| Modifier and Type | Method and Description |
|---|---|
void |
setAuth(java.lang.String user,
java.lang.String pwd,
java.net.HttpURLConnection con) |
void |
testMerge()
Update the content with merge
|
void |
testMergeLine()
Verify there are 2 line in spi:poline
|
void |
testNewpage()
Record the po size;
|
void |
testPatch()
Update a new item to po
|
void |
testPatch2()
Update the content again with patch
|
void |
testPatchLine()
Verify there is a new item
Verify the new created 1 line in spi:poline
|
void |
testPatchLine2()
Verify the line is still 1 in spi:poline
|
void |
testPost()
Create a new po for testing
|
public void testPost()
throws java.lang.Exception
java.lang.Exceptionpublic void testNewpage()
throws java.lang.Exception
java.lang.Exceptionpublic void setAuth(java.lang.String user,
java.lang.String pwd,
java.net.HttpURLConnection con)
public void testPatch()
throws java.lang.Exception
java.lang.Exceptionpublic void testPatchLine()
throws java.lang.Exception
java.lang.Exceptionpublic void testPatch2()
throws java.lang.Exception
java.lang.Exceptionpublic void testPatchLine2()
throws java.lang.Exception
java.lang.Exceptionpublic void testMerge()
throws java.lang.Exception
java.lang.Exceptionpublic void testMergeLine()
throws java.lang.Exception
java.lang.Exception