The tests I just committed should fix the build. I had added a new function in the js and didn't provide a mock in the test.
-Matt On 5/25/11 1:38 PM, "Raminderjeet Singh" <[email protected]> wrote: >Matt, > >Other thing to see is why skip test does not skip Jenkins test. I thought >i can use following and will ignore these tests for now but it fails > > mvn clean install -Dmaven.test.skip=true > >Thanks >Raminder > >On May 25, 2011, at 1:06 PM, Franklin, Matthew B. wrote: > >> This one may be on me. I thought I ran those js unit tests before I >> committed, but I guess I forgot :) >> >> Committing a fix soon. >> >> -Matt >> >> On 5/25/11 1:05 PM, "Apache Jenkins Server" <[email protected]> >> wrote: >> >>> See >>> >>><https://builds.apache.org/hudson/job/rave-project-trunk/org.apache.rave >>>$r >>> ave-portal/53/changes> >>> >>> Changes: >>> >>> [jcian] Server side support for saving user preferences (RAVE-27) >>> >>> https://issues.apache.org/jira/browse/RAVE-27 >>> >>> [mfranklin] Added client side components of widget store (Supports >>> RAVE-32) >>> >>> ------------------------------------------ >>> [...truncated 331 lines...] >>> INFO : >>> >>>org.springframework.test.context.transaction.TransactionalTestExecutionL >>>is >>> tener - Began transaction (6): transaction manager >>> [org.springframework.orm.jpa.JpaTransactionManager@14560cf]; rollback >>> [true] >>> 1470 ravePersistenceUnit TRACE [main] openjpa.jdbc.SQL - <t >>>15350066, >>> conn 152495> executing prepstmnt 18437278 SELECT t0.collapsed, >>> t0.render_order, t0.render_position, t1.id, t1.author, t1.description, >>> t1.screenshot_url, t1.thumbnail_url, t1.title, t1.type, t1.url, >>> t2.region_widget_id, t2.id, t2.name, t2.value FROM region_widget t0 >>>LEFT >>> OUTER JOIN widget t1 ON t0.widget_id = t1.id LEFT OUTER JOIN >>> region_widget_preference t2 ON t0.id = t2.region_widget_id WHERE t0.id >>>= >>> ? ORDER BY t2.region_widget_id ASC [params=?] >>> 1470 ravePersistenceUnit TRACE [main] openjpa.jdbc.SQL - <t >>>15350066, >>> conn 152495> [0 ms] spent >>> 1471 ravePersistenceUnit TRACE [main] openjpa.jdbc.SQL - <t >>>15350066, >>> conn 152495> executing prepstmnt 2882193 SELECT t0.name, >>> t0.region_widget_id, t0.value FROM region_widget_preference t0 WHERE >>> t0.id = ? [params=?] >>> 1472 ravePersistenceUnit TRACE [main] openjpa.jdbc.SQL - <t >>>15350066, >>> conn 152495> [1 ms] spent >>> 1472 ravePersistenceUnit TRACE [main] openjpa.jdbc.SQL - <t >>>15350066, >>> conn 152495> executing prepstmnt 27423221 CALL NEXT VALUE FOR >>> region_widget_pref_id_seq >>> 1472 ravePersistenceUnit TRACE [main] openjpa.jdbc.SQL - <t >>>15350066, >>> conn 152495> [0 ms] spent >>> 1472 ravePersistenceUnit TRACE [main] openjpa.jdbc.SQL - <t >>>15350066, >>> conn 152495> executing prepstmnt 31958869 INSERT INTO >>> region_widget_preference (id, name, region_widget_id, value) VALUES (?, >>> ?, ?, ?) [params=?, ?, ?, ?] >>> 1472 ravePersistenceUnit TRACE [main] openjpa.jdbc.SQL - <t >>>15350066, >>> conn 152495> [0 ms] spent >>> INFO : >>> >>>org.springframework.test.context.transaction.TransactionalTestExecutionL >>>is >>> tener - Rolled back transaction after test execution for test context >>> [[TestContext@9d22fc testClass = JpaRegionWidgetRepositoryTest, >>>locations >>> = array<String>['file:src/main/webapp/WEB-INF/dataContext.xml', >>> 'file:src/main/webapp/WEB-INF/applicationContext.xml'], testInstance = >>> org.apache.rave.portal.repository.JpaRegionWidgetRepositoryTest@6c2308, >>> testMethod = save_cascadeMerge@JpaRegionWidgetRepositoryTest, >>> testException = [null]]] >>> INFO : >>> >>>org.springframework.test.context.transaction.TransactionalTestExecutionL >>>is >>> tener - Rolled back transaction after test execution for test context >>> [[TestContext@9d22fc testClass = JpaRegionWidgetRepositoryTest, >>>locations >>> = array<String>['file:src/main/webapp/WEB-INF/dataContext.xml', >>> 'file:src/main/webapp/WEB-INF/applicationContext.xml'], testInstance = >>> org.apache.rave.portal.repository.JpaRegionWidgetRepositoryTest@6c2308, >>> testMethod = save_cascadeMerge@JpaRegionWidgetRepositoryTest, >>> testException = [null]]] >>> INFO : >>> >>>org.springframework.test.context.transaction.TransactionalTestExecutionL >>>is >>> tener - Began transaction (7): transaction manager >>> [org.springframework.orm.jpa.JpaTransactionManager@14560cf]; rollback >>> [true] >>> INFO : >>> >>>org.springframework.test.context.transaction.TransactionalTestExecutionL >>>is >>> tener - Began transaction (7): transaction manager >>> [org.springframework.orm.jpa.JpaTransactionManager@14560cf]; rollback >>> [true] >>> 1477 ravePersistenceUnit TRACE [main] openjpa.jdbc.SQL - <t >>>15350066, >>> conn 2954177> executing prepstmnt 12372212 SELECT t0.collapsed, >>> t0.render_order, t0.render_position, t1.id, t1.author, t1.description, >>> t1.screenshot_url, t1.thumbnail_url, t1.title, t1.type, t1.url, >>> t2.region_widget_id, t2.id, t2.name, t2.value FROM region_widget t0 >>>LEFT >>> OUTER JOIN widget t1 ON t0.widget_id = t1.id LEFT OUTER JOIN >>> region_widget_preference t2 ON t0.id = t2.region_widget_id WHERE t0.id >>>= >>> ? ORDER BY t2.region_widget_id ASC [params=?] >>> 1477 ravePersistenceUnit TRACE [main] openjpa.jdbc.SQL - <t >>>15350066, >>> conn 2954177> [0 ms] spent >>> 1478 ravePersistenceUnit TRACE [main] openjpa.jdbc.SQL - <t >>>15350066, >>> conn 2954177> executing prepstmnt 9805729 SELECT t0.name, >>> t0.region_widget_id, t0.value FROM region_widget_preference t0 WHERE >>> t0.id = ? [params=?] >>> 1478 ravePersistenceUnit TRACE [main] openjpa.jdbc.SQL - <t >>>15350066, >>> conn 2954177> [0 ms] spent >>> 1478 ravePersistenceUnit TRACE [main] openjpa.jdbc.SQL - <t >>>15350066, >>> conn 2954177> executing prepstmnt 5142872 CALL NEXT VALUE FOR >>> region_widget_pref_id_seq >>> 1479 ravePersistenceUnit TRACE [main] openjpa.jdbc.SQL - <t >>>15350066, >>> conn 2954177> [0 ms] spent >>> 1479 ravePersistenceUnit TRACE [main] openjpa.jdbc.SQL - <t >>>15350066, >>> conn 2954177> executing prepstmnt 49194 INSERT INTO >>> region_widget_preference (id, name, region_widget_id, value) VALUES (?, >>> ?, ?, ?) [params=?, ?, ?, ?] >>> 1479 ravePersistenceUnit TRACE [main] openjpa.jdbc.SQL - <t >>>15350066, >>> conn 2954177> [0 ms] spent >>> 1480 ravePersistenceUnit TRACE [main] openjpa.jdbc.SQL - <t >>>15350066, >>> conn 2954177> executing prepstmnt 21497715 UPDATE >>> region_widget_preference SET region_widget_id = ? WHERE >>>region_widget_id >>> = ? [params=?, ?] >>> 1480 ravePersistenceUnit TRACE [main] openjpa.jdbc.SQL - <t >>>15350066, >>> conn 2954177> [0 ms] spent >>> 1480 ravePersistenceUnit TRACE [main] openjpa.jdbc.SQL - <t >>>15350066, >>> conn 2954177> executing prepstmnt 31536808 DELETE FROM >>> region_widget_preference WHERE id = ? [params=?] >>> 1480 ravePersistenceUnit TRACE [main] openjpa.jdbc.SQL - <t >>>15350066, >>> conn 2954177> [0 ms] spent >>> INFO : >>> >>>org.springframework.test.context.transaction.TransactionalTestExecutionL >>>is >>> tener - Rolled back transaction after test execution for test context >>> [[TestContext@9d22fc testClass = JpaRegionWidgetRepositoryTest, >>>locations >>> = array<String>['file:src/main/webapp/WEB-INF/dataContext.xml', >>> 'file:src/main/webapp/WEB-INF/applicationContext.xml'], testInstance = >>> org.apache.rave.portal.repository.JpaRegionWidgetRepositoryTest@cb6a34, >>> testMethod = save_cascadeOrphan@JpaRegionWidgetRepositoryTest, >>> testException = [null]]] >>> INFO : >>> >>>org.springframework.test.context.transaction.TransactionalTestExecutionL >>>is >>> tener - Rolled back transaction after test execution for test context >>> [[TestContext@9d22fc testClass = JpaRegionWidgetRepositoryTest, >>>locations >>> = array<String>['file:src/main/webapp/WEB-INF/dataContext.xml', >>> 'file:src/main/webapp/WEB-INF/applicationContext.xml'], testInstance = >>> org.apache.rave.portal.repository.JpaRegionWidgetRepositoryTest@cb6a34, >>> testMethod = save_cascadeOrphan@JpaRegionWidgetRepositoryTest, >>> testException = [null]]] >>> Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.061 >>>sec >>> Running org.apache.rave.portal.web.tag.RegionWidgetTagTest >>> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.057 >>>sec >>> Running org.apache.rave.portal.web.controller.HomeControllerTest >>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 >>>sec >>> Running org.apache.rave.portal.web.controller.WidgetStoreControllerTest >>> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 >>>sec >>> Running org.apache.rave.portal.web.renderer.RenderServiceTest >>> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 >>>sec >>> Running >>>org.apache.rave.portal.web.renderer.RenderServiceIntegrationTest >>> INFO : org.springframework.test.context.TestContextManager - >>> @TestExecutionListeners is not present for class [class >>> org.apache.rave.portal.web.renderer.RenderServiceIntegrationTest]: >>>using >>> defaults. >>> INFO : org.springframework.test.context.TestContextManager - >>> @TestExecutionListeners is not present for class [class >>> org.apache.rave.portal.web.renderer.RenderServiceIntegrationTest]: >>>using >>> defaults. >>> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 >>>sec >>> Running org.apache.rave.portal.web.api.rpc.PageApiTest >>> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 >>>sec >>> Running org.apache.rave.portal.web.api.rpc.model.RpcOperationTest >>> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 >>>sec >>> Running org.apache.rave.portal.web.api.rpc.model.RpcResultTest >>> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 >>>sec >>> Running org.apache.rave.portal.web.api.rest.RegionWidgetApiTest >>> DEBUG: org.apache.rave.portal.web.api.rest.RegionWidgetApi - PUT >>>received >>> to replace all preferences for regionWidget: 1 with data: >>> >>>RegionWidgetPreferenceListWrapper{preferences=[RegionWidgetPreference{id >>>=n >>> ull, name='null', value='null'}, RegionWidgetPreference{id=null, >>> name='null', value='null'}]} >>> DEBUG: org.apache.rave.portal.web.api.rest.RegionWidgetApi - PUT >>>received >>> to replace all preferences for regionWidget: 1 with data: >>> >>>RegionWidgetPreferenceListWrapper{preferences=[RegionWidgetPreference{id >>>=n >>> ull, name='null', value='null'}, RegionWidgetPreference{id=null, >>> name='null', value='null'}]} >>> DEBUG: org.apache.rave.portal.web.api.rest.RegionWidgetApi - PUT >>>received >>> to replace all preferences for regionWidget: 100 with data: >>> >>>RegionWidgetPreferenceListWrapper{preferences=[RegionWidgetPreference{id >>>=n >>> ull, name='null', value='null'}, RegionWidgetPreference{id=null, >>> name='null', value='null'}]} >>> DEBUG: org.apache.rave.portal.web.api.rest.RegionWidgetApi - PUT >>>received >>> to replace all preferences for regionWidget: 100 with data: >>> >>>RegionWidgetPreferenceListWrapper{preferences=[RegionWidgetPreference{id >>>=n >>> ull, name='null', value='null'}, RegionWidgetPreference{id=null, >>> name='null', value='null'}]} >>> DEBUG: org.apache.rave.portal.web.api.rest.RegionWidgetApi - PUT >>>received >>> to create or replace preference: color for regionWidget: 1 with data: >>> RegionWidgetPreference{id=1, name='color', value='blue'} >>> DEBUG: org.apache.rave.portal.web.api.rest.RegionWidgetApi - PUT >>>received >>> to create or replace preference: color for regionWidget: 1 with data: >>> RegionWidgetPreference{id=1, name='color', value='blue'} >>> DEBUG: org.apache.rave.portal.web.api.rest.RegionWidgetApi - PUT >>>received >>> to create or replace preference: different for regionWidget: 1 with >>>data: >>> RegionWidgetPreference{id=1, name='color', value='blue'} >>> DEBUG: org.apache.rave.portal.web.api.rest.RegionWidgetApi - PUT >>>received >>> to create or replace preference: different for regionWidget: 1 with >>>data: >>> RegionWidgetPreference{id=1, name='color', value='blue'} >>> DEBUG: org.apache.rave.portal.web.api.rest.RegionWidgetApi - PUT >>>received >>> to create or replace preference: color for regionWidget: 100 with data: >>> RegionWidgetPreference{id=1, name='color', value='blue'} >>> DEBUG: org.apache.rave.portal.web.api.rest.RegionWidgetApi - PUT >>>received >>> to create or replace preference: color for regionWidget: 100 with data: >>> RegionWidgetPreference{id=1, name='color', value='blue'} >>> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 >>>sec >>> Running org.apache.rave.portal.web.api.rest.WidgetApiTest >>> DEBUG: org.apache.rave.portal.web.api.rest.WidgetApi - GET received for >>> all widgets >>> DEBUG: org.apache.rave.portal.web.api.rest.WidgetApi - GET received for >>> all widgets >>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec >>> Running org.apache.rave.portal.service.PageServiceTest >>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 >>>sec >>> Running org.apache.rave.portal.service.RegionServiceTest >>> Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 >>>sec >>> Running org.apache.rave.portal.service.RegionWidgetServiceTest >>> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 >>>sec >>> Running org.apache.rave.portal.service.WidgetServiceTest >>> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 >>>sec >>> Running org.apache.rave.portal.service.UserServiceTest >>> DEBUG: org.apache.rave.portal.service.impl.DefaultUserService - >>> loadUserByUsername called with: 1234 >>> DEBUG: org.apache.rave.portal.service.impl.DefaultUserService - >>> loadUserByUsername called with: 1234 >>> Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 >>>sec >>> Running org.apache.rave.portal.util.LocalizationUtilsTest >>> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.116 >>>sec >>> Running org.apache.rave.portal.model.PageTest >>> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 >>>sec >>> Running org.apache.rave.portal.model.util.InternationalStringTest >>> Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 >>>sec >>> Running org.apache.rave.portal.model.util.ModelUtilsTest >>> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 >>>sec >>> Running org.apache.rave.portal.model.UserTest >>> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 >>>sec >>> >>> Results : >>> >>> Tests run: 114, Failures: 0, Errors: 0, Skipped: 0 >>> >>> INFO : org.springframework.context.support.GenericApplicationContext - >>> Closing >>> org.springframework.context.support.GenericApplicationContext@1372656: >>> startup date [Wed May 25 10:05:00 PDT 2011]; root of context hierarchy >>> INFO : org.springframework.context.support.GenericApplicationContext - >>> Closing >>> org.springframework.context.support.GenericApplicationContext@1372656: >>> startup date [Wed May 25 10:05:00 PDT 2011]; root of context hierarchy >>> INFO : >>> org.springframework.beans.factory.support.DefaultListableBeanFactory - >>> Destroying singletons in >>> >>>org.springframework.beans.factory.support.DefaultListableBeanFactory@1d9 >>>e2 >>> 82: defining beans >>> >>>[dataSource,org.h2.tools.Server-WebServer,openSocialWidgetRenderer,w3cWi >>>dg >>> >>>etRenderer,wookieWidgetService,jpaPageRepository,jpaWidgetRepository,jpa >>>Us >>> >>>erRepository,jpaRegionRepository,jpaRegionWidgetRepository,homeControlle >>>r, >>> >>>widgetStoreController,defaultRenderService,pageApi,regionWidgetApi,widge >>>tA >>> >>>pi,defaultWidgetService,defaultRegionWidgetService,userService,defaultPa >>>ge >>> >>>Service,defaultRegionService,org.springframework.context.annotation.inte >>>rn >>> >>>alConfigurationAnnotationProcessor,org.springframework.context.annotatio >>>n. >>> >>>internalAutowiredAnnotationProcessor,org.springframework.context.annotat >>>io >>> >>>n.internalRequiredAnnotationProcessor,org.springframework.context.annota >>>ti >>> >>>on.internalCommonAnnotationProcessor,org.springframework.context.annotat >>>io >>> >>>n.internalPersistenceAnnotationProcessor,transactionManager,org.springfr >>>am >>> >>>ework.aop.config.internalAutoProxyCreator,org.springframework.transactio >>>n. >>> >>>annotation.AnnotationTransactionAttributeSource#0,org.springframework.tr >>>an >>> >>>saction.interceptor.TransactionInterceptor#0,org.springframework.transac >>>ti >>> >>>on.config.internalTransactionAdvisor,dataSourcePopulator,entityManagerFa >>>ct >>> ory]; root of factory hierarchy >>> INFO : >>> org.springframework.beans.factory.support.DefaultListableBeanFactory - >>> Destroying singletons in >>> >>>org.springframework.beans.factory.support.DefaultListableBeanFactory@1d9 >>>e2 >>> 82: defining beans >>> >>>[dataSource,org.h2.tools.Server-WebServer,openSocialWidgetRenderer,w3cWi >>>dg >>> >>>etRenderer,wookieWidgetService,jpaPageRepository,jpaWidgetRepository,jpa >>>Us >>> >>>erRepository,jpaRegionRepository,jpaRegionWidgetRepository,homeControlle >>>r, >>> >>>widgetStoreController,defaultRenderService,pageApi,regionWidgetApi,widge >>>tA >>> >>>pi,defaultWidgetService,defaultRegionWidgetService,userService,defaultPa >>>ge >>> >>>Service,defaultRegionService,org.springframework.context.annotation.inte >>>rn >>> >>>alConfigurationAnnotationProcessor,org.springframework.context.annotatio >>>n. >>> >>>internalAutowiredAnnotationProcessor,org.springframework.context.annotat >>>io >>> >>>n.internalRequiredAnnotationProcessor,org.springframework.context.annota >>>ti >>> >>>on.internalCommonAnnotationProcessor,org.springframework.context.annotat >>>io >>> >>>n.internalPersistenceAnnotationProcessor,transactionManager,org.springfr >>>am >>> >>>ework.aop.config.internalAutoProxyCreator,org.springframework.transactio >>>n. >>> >>>annotation.AnnotationTransactionAttributeSource#0,org.springframework.tr >>>an >>> >>>saction.interceptor.TransactionInterceptor#0,org.springframework.transac >>>ti >>> >>>on.config.internalTransactionAdvisor,dataSourcePopulator,entityManagerFa >>>ct >>> ory]; root of factory hierarchy >>> INFO : >>> org.apache.rave.orm.jpa.PopulatedLocalContainerEntityManagerFactory - >>> Closing JPA EntityManagerFactory for persistence unit >>> 'ravePersistenceUnit' >>> INFO : >>> org.apache.rave.orm.jpa.PopulatedLocalContainerEntityManagerFactory - >>> Closing JPA EntityManagerFactory for persistence unit >>> 'ravePersistenceUnit' >>> [JENKINS] Recording test results >>> [INFO] [INFO] Executing Jasmine Specs >>> >>> [INFO] --- jasmine-maven-plugin:1.0.2-beta-2:test (default) @ >>>rave-portal >>> --- >>> May 25, 2011 10:05:14 AM >>> com.gargoylesoftware.htmlunit.IncorrectnessListenerImpl notify >>> WARNING: Obsolete content type encountered: 'text/javascript'. >>> May 25, 2011 10:05:14 AM >>> com.gargoylesoftware.htmlunit.IncorrectnessListenerImpl notify >>> WARNING: Obsolete content type encountered: 'text/javascript'. >>> May 25, 2011 10:05:14 AM >>> com.gargoylesoftware.htmlunit.IncorrectnessListenerImpl notify >>> WARNING: Obsolete content type encountered: 'text/javascript'. >>> May 25, 2011 10:05:14 AM >>> com.gargoylesoftware.htmlunit.IncorrectnessListenerImpl notify >>> WARNING: Obsolete content type encountered: 'text/javascript'. >>> May 25, 2011 10:05:14 AM >>> com.gargoylesoftware.htmlunit.IncorrectnessListenerImpl notify >>> WARNING: Obsolete content type encountered: 'text/javascript'. >>> May 25, 2011 10:05:14 AM >>> com.gargoylesoftware.htmlunit.IncorrectnessListenerImpl notify >>> WARNING: Obsolete content type encountered: 'text/javascript'. >>> May 25, 2011 10:05:14 AM >>> com.gargoylesoftware.htmlunit.IncorrectnessListenerImpl notify >>> WARNING: Obsolete content type encountered: 'text/javascript'. >>> May 25, 2011 10:05:14 AM >>> com.gargoylesoftware.htmlunit.IncorrectnessListenerImpl notify >>> WARNING: Obsolete content type encountered: 'text/javascript'. >>> May 25, 2011 10:05:14 AM >>> com.gargoylesoftware.htmlunit.IncorrectnessListenerImpl notify >>> WARNING: Obsolete content type encountered: 'text/javascript'. >>> [INFO] >>> ------------------------------------------------------- >>> J A S M I N E S P E C S >>> ------------------------------------------------------- >>> [INFO] >>> Rave API >>> rpc >>> addWidgetToPage >>> posts the correct values to RPC service for adding a widget to the >>> page <<< FAILURE! >>> * Passed. >>> * Passed. >>> * Passed. >>> * Passed. >>> * TypeError: Cannot call method "error" of undefined in >>> >>><https://builds.apache.org/hudson/job/rave-project-trunk/org.apache.rave >>>$r >>> ave-portal/ws/target/jasmine/src/rave_api.js> (line 53) >>> moveWidget >>> posts the correct values to RPC service for adding a widget to the >>> page <<< FAILURE! >>> * Passed. >>> * Passed. >>> * Passed. >>> * Passed. >>> * Passed. >>> * Passed. >>> * TypeError: Cannot call method "error" of undefined in >>> >>><https://builds.apache.org/hudson/job/rave-project-trunk/org.apache.rave >>>$r >>> ave-portal/ws/target/jasmine/src/rave_api.js> (line 40) >>> Error handling >>> displays the appropriate alert when invalid parameters are passed >>> <<< FAILURE! >>> * Passed. >>> * TypeError: Cannot call method "error" of undefined in >>> >>><https://builds.apache.org/hudson/job/rave-project-trunk/org.apache.rave >>>$r >>> ave-portal/ws/target/jasmine/src/rave_api.js> (line 40) >>> displays the appropriate alert when a server error occurs <<< >>> FAILURE! >>> * Passed. >>> * TypeError: Cannot call method "error" of undefined in >>> >>><https://builds.apache.org/hudson/job/rave-project-trunk/org.apache.rave >>>$r >>> ave-portal/ws/target/jasmine/src/rave_api.js> (line 40) >>> >>> Rave OpenSocial >>> is OpenSocial >>> Init >>> initializes the OpenSocial container machinery >>> Initializes the RPC Hooks Correctly >>> Container >>> initializes the container if not already done >>> returns the same reference if already initialized >>> RPC Hooks >>> resizes Iframe if argument is less than height >>> resizes Iframe to max if height is greater than max >>> (resize) does not throw error if DOM element is null >>> set title changes the title DOM node >>> set title does not throw error if DOM element is null >>> >>> Rave >>> initProviders >>> initializes all providers >>> registerProvider >>> throws error when invalid provider passed >>> initWidgets >>> calls the appropriate providers >>> createWidgetMap >>> builds a map keyed by type >>> builds a map that has widgets under an Unknown key >>> builds a map with no entries >>> initDragAndDrop >>> Initializes jQuery sortable when init is called >>> Posts when dragging is stopped <<< FAILURE! >>> * Passed. >>> * Passed. >>> * Passed. >>> * Passed. >>> * TypeError: Cannot call method "error" of undefined in >>> >>><https://builds.apache.org/hudson/job/rave-project-trunk/org.apache.rave >>>$r >>> ave-portal/ws/target/jasmine/src/rave_api.js> (line 40) >>> displays the appropriate alert when invalid parameters are passed <<< >>> FAILURE! >>> * Passed. >>> * TypeError: Cannot call method "error" of undefined in >>> >>><https://builds.apache.org/hudson/job/rave-project-trunk/org.apache.rave >>>$r >>> ave-portal/ws/target/jasmine/src/rave_api.js> (line 40) >>> displays the appropriate alert when a server error occurs <<< >>>FAILURE! >>> * Passed. >>> * TypeError: Cannot call method "error" of undefined in >>> >>><https://builds.apache.org/hudson/job/rave-project-trunk/org.apache.rave >>>$r >>> ave-portal/ws/target/jasmine/src/rave_api.js> (line 40) >>> getObjectIdFromDomId >>> returns the regionwidgetId from the bodyElementId when the body Id is >>> 3 digits >>> returns the regionwidgetId from the ElementId when the Id is 2 >>>digits >>> returns the regionwidgetId from the ElementId when the Id is 1 >>>digits >>> returns the regionId from the ElementId when the Id is 1 digits >>> returns null when the DOM element's id is invalid >>> >>> Rave Wookie >>> Is W3C Widget >>> Verify null widgets results in clean return >>> Tests null argument >>> Tests uncreated list >>> Tests empty list >>> Create Wookie Widgets >>> initializes wookie widgets >>> >>> 7 failures: >>> >>> 1.) Rave API rpc addWidgetToPage it posts the correct values to RPC >>> service for adding a widget to the page <<< FAILURE! >>> * Passed. >>> * Passed. >>> * Passed. >>> * Passed. >>> * TypeError: Cannot call method "error" of undefined in >>> >>><https://builds.apache.org/hudson/job/rave-project-trunk/org.apache.rave >>>$r >>> ave-portal/ws/target/jasmine/src/rave_api.js> (line 53) >>> >>> 2.) Rave API rpc moveWidget it posts the correct values to RPC service >>> for adding a widget to the page <<< FAILURE! >>> * Passed. >>> * Passed. >>> * Passed. >>> * Passed. >>> * Passed. >>> * Passed. >>> * TypeError: Cannot call method "error" of undefined in >>> >>><https://builds.apache.org/hudson/job/rave-project-trunk/org.apache.rave >>>$r >>> ave-portal/ws/target/jasmine/src/rave_api.js> (line 40) >>> >>> 3.) Rave API rpc Error handling it displays the appropriate alert when >>> invalid parameters are passed <<< FAILURE! >>> * Passed. >>> * TypeError: Cannot call method "error" of undefined in >>> >>><https://builds.apache.org/hudson/job/rave-project-trunk/org.apache.rave >>>$r >>> ave-portal/ws/target/jasmine/src/rave_api.js> (line 40) >>> >>> 4.) Rave API rpc Error handling it displays the appropriate alert when >>> a server error occurs <<< FAILURE! >>> * Passed. >>> * TypeError: Cannot call method "error" of undefined in >>> >>><https://builds.apache.org/hudson/job/rave-project-trunk/org.apache.rave >>>$r >>> ave-portal/ws/target/jasmine/src/rave_api.js> (line 40) >>> >>> 5.) Rave initDragAndDrop it Posts when dragging is stopped <<< FAILURE! >>> * Passed. >>> * Passed. >>> * Passed. >>> * Passed. >>> * TypeError: Cannot call method "error" of undefined in >>> >>><https://builds.apache.org/hudson/job/rave-project-trunk/org.apache.rave >>>$r >>> ave-portal/ws/target/jasmine/src/rave_api.js> (line 40) >>> >>> 6.) Rave initDragAndDrop it displays the appropriate alert when invalid >>> parameters are passed <<< FAILURE! >>> * Passed. >>> * TypeError: Cannot call method "error" of undefined in >>> >>><https://builds.apache.org/hudson/job/rave-project-trunk/org.apache.rave >>>$r >>> ave-portal/ws/target/jasmine/src/rave_api.js> (line 40) >>> >>> 7.) Rave initDragAndDrop it displays the appropriate alert when a >>> server error occurs <<< FAILURE! >>> * Passed. >>> * TypeError: Cannot call method "error" of undefined in >>> >>><https://builds.apache.org/hudson/job/rave-project-trunk/org.apache.rave >>>$r >>> ave-portal/ws/target/jasmine/src/rave_api.js> (line 40) >>> >>> Results: 34 specs, 7 failures >>> >>> mojoFailed com.github.searls:jasmine-maven-plugin:1.0.2-beta-2(default) >>> projectFailed org.apache.rave:rave-portal:0.1-incubating-SNAPSHOT >>> >> >
