public class TestOSLCNumAsset
extends java.lang.Object
Constructor and Description |
---|
TestOSLCNumAsset() |
Modifier and Type | Method and Description |
---|---|
void |
logIn()
All tests based on asset(inner query)
|
void |
setAuth(java.lang.String user,
java.lang.String pwd,
java.net.HttpURLConnection con) |
void |
testBoolean()
Test for boolean spi:children=true
|
void |
testDate()
Test for date spi:statusdate<2003-07-07T09:50:00-04:00
|
void |
testDateRange()
Test for date in range in fake format spi:statusdate<2003-07-07T09:50:00-04:00 and spi:statusdate>\"1999-02-06T14:16:00-05:00\""
|
void |
testDateRangeplusStatus()
Test for date in range combined with status
|
void |
testLE1000()
Test for number spi:totalcost<=1000
|
void |
testLike()
Test for String spi:status=%READY
|
void |
testLike2()
Test for String spi:status=OP%
|
void |
testLike3()
Test for String spi:status=%OT%
|
void |
testLocation()
Test for String spi:location in BR300 or BR450
|
void |
testM20000()
Test for number spi:totalcost>20000
|
void |
testObjectStructure() |
void |
testRange()
Test for number in Range spi:totalcost>1000 and spi:totalcost<10000
|
public void testObjectStructure() throws java.lang.Exception
java.lang.Exception
public void logIn() throws java.lang.Exception
java.lang.Exception
public void setAuth(java.lang.String user, java.lang.String pwd, java.net.HttpURLConnection con)
public void testM20000() throws java.lang.Exception
java.lang.Exception
public void testLE1000() throws java.lang.Exception
java.lang.Exception
public void testRange() throws java.lang.Exception
java.lang.Exception
public void testLocation() throws java.lang.Exception
java.lang.Exception
public void testBoolean() throws java.lang.Exception
java.lang.Exception
public void testDate() throws java.lang.Exception
java.lang.Exception
public void testDateRange() throws java.lang.Exception
java.lang.Exception
public void testDateRangeplusStatus() throws java.lang.Exception
java.lang.Exception
public void testLike() throws java.lang.Exception
java.lang.Exception
public void testLike2() throws java.lang.Exception
java.lang.Exception
public void testLike3() throws java.lang.Exception
java.lang.Exception