Author: mgencur(a)redhat.com
Date: 2011-01-24 06:32:17 -0500 (Mon, 24 Jan 2011)
New Revision: 14018
Modified:
branches/community/Seam_2_2/src/test/ftest/examples/seambay/src/org/jboss/seam/example/seambay/test/webdriver/seambay/WebServicesTest.java
Log:
fix seambay functional test so that it functions with jbossAS6
Modified:
branches/community/Seam_2_2/src/test/ftest/examples/seambay/src/org/jboss/seam/example/seambay/test/webdriver/seambay/WebServicesTest.java
===================================================================
---
branches/community/Seam_2_2/src/test/ftest/examples/seambay/src/org/jboss/seam/example/seambay/test/webdriver/seambay/WebServicesTest.java 2011-01-24
09:54:16 UTC (rev 14017)
+++
branches/community/Seam_2_2/src/test/ftest/examples/seambay/src/org/jboss/seam/example/seambay/test/webdriver/seambay/WebServicesTest.java 2011-01-24
11:32:17 UTC (rev 14018)
@@ -52,14 +52,14 @@
/* responses */
protected static final String LIST_CATEGORIES_RESPONSE =
"<ns2:listCategoriesResponse
xmlns:ns2=\"http://seambay.example.seam.jboss.org/\"><ret...
and
Photography</name></return><return><categoryId>5</categoryId><name>Cars
and
Boats</name></return><return><categoryId>6</categoryId><name>Cell
Phones</name></return><return><categoryId>7</categoryId><name>Clothing
and
Shoes</name></return><return><categoryId>8</categoryId><name>Computers</name></return><return><categoryId>9</categoryId><name>Music</name></return><return><categoryId>10</categoryId><name>Electronics</name></return><return><categoryId>11</categoryId><name>Home
and
Garden</name></return><return><categoryId>12</categoryId><name>Musical
Instruments</name></return><return><categoryId>13</catego!
ryId><name>Sporting
goods</name></return><return><categoryId>14</categoryId><name>Toys</name></return><return><categoryId>15</categoryId><name>Video
Games</name></return><return><categoryId>1001</categoryId><name>Furniture</name><parent><categoryId>1</categoryId><name>Antiques</name></parent></return><return><categoryId>1002</categoryId><name>Silverware</name><parent><categoryId>1</categoryId><name>Antiques</name></parent></return><return><categoryId>2001</categoryId><name>Paintings</name><parent><categoryId>2</categoryId><name>Art</name></parent></return><return><categoryId>2002</categoryId><name>Prints</name><parent><categoryId>2</categoryId><name>Art</name></parent></return><return><categoryId>2003</categoryId><name>Sculptures</name><parent><categoryId>2</categoryId><name>Art</name></parent></return><return><categoryId>3001</categoryId><name>Fiction</name><parent><categoryId>3</categoryId><name>Books</name></parent></return><return><categoryId>3002</categoryId><name>Non
!
Fiction</name><parent><categoryId>3</categoryId><name>Books</n!
ame></pa
rent></return><return><categoryId>3003</categoryId><name>Comic
Books</name><parent><categoryId>3</categoryId><name>Books</name></parent></return><return><categoryId>3004</categoryId><name>Children</name><parent><categoryId>3</categoryId><name>Books</name></parent></return><return><categoryId>4001</categoryId><name>Digital
Cameras</name><parent><categoryId>4</categoryId><name>Cameras
and
Photography</name></parent></return><return><categoryId>4002</categoryId><name>Memory
Cards</name><parent><categoryId>4</categoryId><name>Cameras
and
Photography</name></parent></return><return><categoryId>4003</categoryId><name>Film
Cameras</name><parent><categoryId>4</categoryId><name>Cameras
and
Photography</name></parent></return><return><categoryId>4004</categoryId><name>Video
Cameras</name><parent><categoryId>4</categoryId><name>Cameras
and
Photography</name></parent></return><return><categoryId>5001</categoryId><name>Cars</name><parent><categoryId>5</categoryId><name>Cars
and Boats</na!
me></parent></return><return><categoryId>5002</categoryId><name>Motorcycles</name><parent><categoryId>5</categoryId><name>Cars
and
Boats</name></parent></return><return><categoryId>5003</categoryId><name>Car
Parts</name><parent><categoryId>5</categoryId><name>Cars and
Boats</name></parent></return><return><categoryId>6001</categoryId><name>Mobile
Phones</name><parent><categoryId>6</categoryId><name>Cell
Phones</name></parent></return><return><categoryId>6002</categoryId><name>Mobile
Accessories</name><parent><categoryId>6</categoryId><name>Cell
Phones</name></parent></return><return><categoryId>6003</categoryId><name>Prepaid
cards</name><parent><categoryId>6</categoryId><name>Cell
Phones</name></parent></return><return><categoryId>7001</categoryId><name>Women</name><parent><categoryId>7</categoryId><name>Clothing
and
Shoes</name></parent></return><return><categoryId>7002</categoryId><name>Men</name><parent><categoryId>7</categoryId><name>Clothing
and Shoes</name></parent></!
return><return><categoryId>7003</categoryId><name>Girls</name>!
<parent>
<categoryId>7</categoryId><name>Clothing and
Shoes</name></parent></return><return><categoryId>7004</categoryId><name>Boys</name><parent><categoryId>7</categoryId><name>Clothing
and
Shoes</name></parent></return><return><categoryId>7005</categoryId><name>Babies</name><parent><categoryId>7</categoryId><name>Clothing
and
Shoes</name></parent></return><return><categoryId>8001</categoryId><name>Notebooks</name><parent><categoryId>8</categoryId><name>Computers</name></parent></return><return><categoryId>8002</categoryId><name>Desktop
PCs</name><parent><categoryId>8</categoryId><name>Computers</name></parent></return><return><categoryId>8003</categoryId><name>Servers</name><parent><categoryId>8</categoryId><name>Computers</name></parent></return><return><categoryId>8004</categoryId><name>Hardware</name><parent><categoryId>8</categoryId><name>Computers</name></parent></return><return><categoryId>8005</categoryId><name>Software</name><parent><categoryId>8</categoryId><name>Computers!
</name></parent></return><return><categoryId>9001</categoryId><name>CDs</name><parent><categoryId>9</categoryId><name>Music</name></parent></return><return><categoryId>9002</categoryId><name>Records</name><parent><categoryId>9</categoryId><name>Music</name></parent></return><return><categoryId>10001</categoryId><name>Home
Audio</name><parent><categoryId>10</categoryId><name>Electronics</name></parent></return><return><categoryId>10002</categoryId><name>MP3
Players</name><parent><categoryId>10</categoryId><name>Electronics</name></parent></return><return><categoryId>10003</categoryId><name>Television</name><parent><categoryId>10</categoryId><name>Electronics</name></parent></return><return><categoryId>10004</categoryId><name>Home
theatre</name><parent><categoryId>10</categoryId><name>Electronics</name></parent></return><return><categoryId>11001</categoryId><name>Kitchen</name><parent><categoryId>11</categoryId><name>Home
and Garden</name></parent></return><return><categoryId!
11002</categoryId><name>Real
Estate</name><parent><categoryId!
11</cat
egoryId><name>Home and
Garden</name></parent></return><return><categoryId>11003</categoryId><name>Furniture</name><parent><categoryId>11</categoryId><name>Home
and
Garden</name></parent></return><return><categoryId>12001</categoryId><name>Guitars</name><parent><categoryId>12</categoryId><name>Musical
Instruments</name></parent></return><return><categoryId>12002</categoryId><name>Pianos
and
Keyboards</name><parent><categoryId>12</categoryId><name>Musical
Instruments</name></parent></return><return><categoryId>12003</categoryId><name>Percussion</name><parent><categoryId>12</categoryId><name>Musical
Instruments</name></parent></return><return><categoryId>12004</categoryId><name>Orchestral</name><parent><categoryId>12</categoryId><name>Musical
Instruments</name></parent></return><return><categoryId>13001</categoryId><name>Golf</name><parent><categoryId>13</categoryId><name>Sporting
goods</name></parent></return><return><categoryId>13002</categoryId><name>Fishing</name><parent><c!
ategoryId>13</categoryId><name>Sporting
goods</name></parent></return><return><categoryId>13003</categoryId><name>Tennis</name><parent><categoryId>13</categoryId><name>Sporting
goods</name></parent></return><return><categoryId>14001</categoryId><name>Remote
control</name><parent><categoryId>14</categoryId><name>Toys</name></parent></return><return><categoryId>14002</categoryId><name>Cars
and
trucks</name><parent><categoryId>14</categoryId><name>Toys</name></parent></return><return><categoryId>14003</categoryId><name>Dolls</name><parent><categoryId>14</categoryId><name>Toys</name></parent></return><return><categoryId>14004</categoryId><name>Educational</name><parent><categoryId>14</categoryId><name>Toys</name></parent></return><return><categoryId>15001</categoryId><name>PC</name><parent><categoryId>15</categoryId><name>Video
Games</name></parent></return><return><categoryId>15002</categoryId><name>Nintendo
Wii</name><parent><categoryId>15</categoryId><name>Video
Games</name>!
</parent></return><return><categoryId>15003</categoryId><name>!
Sony Pla
ystation
3</name><parent><categoryId>15</categoryId><name>Video
Games</name></parent></return><return><categoryId>15004</categoryId><name>XBox
360</name><parent><categoryId>15</categoryId><name>Video
Games</name></parent></return></ns2:listCategoriesResponse>";
protected static final String LOGIN_RIGHT_RESPONSE =
"<return>true</return>";
- protected static final String CREATE_NEW_AUCTION_RESPONSE =
"<ns2:createAuctionResponse
xmlns:ns2=\"http://seambay.example.seam.jboss.org/\"/>";
+ protected static final String CREATE_NEW_AUCTION_RESPONSE =
"<ns2:createAuctionResponse
xmlns:ns2=\"http://seambay.example.seam.jboss.org/\"";
protected static final String FIND_AUCTIONS_RESPONSE = "<description>You
can buy an animal here</description>";
- protected static final String UPDATE_AUCTION_RESPONSE =
"<ns2:updateAuctionDetailsResponse
xmlns:ns2=\"http://seambay.example.seam.jboss.org/\"/>";
- protected static final String SET_DURATION_RESPONSE =
"<ns2:setAuctionDurationResponse
xmlns:ns2=\"http://seambay.example.seam.jboss.org/\"/>";
- protected static final String SET_STARTING_PRICE_RESPONSE =
"<ns2:setAuctionPriceResponse
xmlns:ns2=\"http://seambay.example.seam.jboss.org/\"/>";
+ protected static final String UPDATE_AUCTION_RESPONSE =
"<ns2:updateAuctionDetailsResponse
xmlns:ns2=\"http://seambay.example.seam.jboss.org/\"";
+ protected static final String SET_DURATION_RESPONSE =
"<ns2:setAuctionDurationResponse
xmlns:ns2=\"http://seambay.example.seam.jboss.org/\"";
+ protected static final String SET_STARTING_PRICE_RESPONSE =
"<ns2:setAuctionPriceResponse
xmlns:ns2=\"http://seambay.example.seam.jboss.org/\"";
protected static final String AUCTION_DETAILS_PRICE_RESPONSE =
"<ns2:getNewAuctionDetailsResponse
xmlns:ns2=\"http://seambay.example.seam.jboss.org/\"><ret...,
NSW, Australia</location>";
protected static final String LOGOUT_RESPONSE = "<ns2:logoutResponse
xmlns:ns2=\"http://seambay.example.seam.jboss.org/\"><ret...;
- protected static final String CONFIRMATION_RESPONSE =
"<env:Body><ns2:confirmAuctionResponse
xmlns:ns2=\"http://seambay.example.seam.jboss.org/\"/></e...;
+ protected static final String CONFIRMATION_RESPONSE =
"<ns2:confirmAuctionResponse
xmlns:ns2=\"http://seambay.example.seam.jboss.org/\"";
@Test
public void testGoToWSPage()