Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cosmos-dev] New candidate driver for i8: COSMOS-1.0.0-200801222315

I updated the following TPTP manual tests.  The manual test are located
under org.eclipse.cosmos/tests/common/org.eclipse.cosmos.examples.e2e.tests

manual/DataVisualization.UI.Component.Widget.testsuite
manual/DataVisualization.UI.Reports.testsuite

Note you need TPTP to view these tests.
http://www.eclipse.org/downloads/download.php?file=/tptp/4.4.0.3
/TPTP-4.4.0.3/tptp.runtime.allInOne.win32.win32.x86-TPTP-4.4.0.3.zip

FYI... Here is a sample manual tests

Abstract:example cmdbf query

Version: Jan 23, 2008

Since: Jan 23, 2008

Authors: Sheldon Lee-Loy

Requires:

Platforms:
  1. Windows
  2. Linux

Steps:

1. Follow the instructions at http://wiki.eclipse.org/COSMOS_DEMO_i8
2. Right click the "Example MDR" node in the Data Managers pane.  A pop-up
menu should show up with a menu item called "Create query"
3. Select the "Create query" menu item.
4.  A dialog box allow you to enter a XML CMDBf query.  Type the following
xml into the text area:
<s:query xmlns:s="http://cmdbf.org/schema/1-0-0/datamodel";>
      <s:itemTemplate id="items">
            <s:recordConstraint>
                  <s:recordType namespace="" localName="student"/>

            </s:recordConstraint>
      </s:itemTemplate>
</s:query>
5.  Click Submit.
6. A "CBMDB Query" node showing the date the query was submited should be
added to hte "Example MDR" node.
7.  Click on the "CMDBf Query" node.  The "Details" pane should show a node
tree
8.  Expand the tree in the "details" pane and verify that the tree
structure is the expected graph query response.  The tree should visualize
the following xml structure.  Note the tree structure shows the node
structure of the xml.  The properties view should show the attribute values
of each node when selected.

<?xml version="1.0" encoding="UTF-8"?><dyn:queryResponseType
xmlns:dyn="http://www.eclipse.org/cosmos/mdrquery";>
            <dyn:queryResponseType
xmlns="http://cmdbf.org/schema/1-0-0/datamodel";>
                <nodes templateId="items">
                    <item>
                        <record>
                            <student>
                                <identity firstName="Mike" id="03"
lastName="Lee"/>
                            </student>
                            <recordMetadata>
                                <recordId>03</recordId>
                            </recordMetadata>
                        </record>
                        <instanceId>

<mdrId>org.eclipse.cosmos.samples.cmdbf.XMLRepository</mdrId>
                            <localId>03</localId>
                        </instanceId>
                    </item>
                    <item>
                        <record>
                            <student>
                                <identity firstName="Jane" id="02"
lastName="Ryerson"/>
                            </student>
                            <recordMetadata>
                                <recordId>02</recordId>
                            </recordMetadata>
                        </record>
                        <instanceId>

<mdrId>org.eclipse.cosmos.samples.cmdbf.XMLRepository</mdrId>
                            <localId>02</localId>
                        </instanceId>
                    </item>
                    <item>
                        <record>
                            <student>
                                <identity firstName="Bob" id="01"
lastName="Davidson"/>
                            </student>
                            <recordMetadata>
                                <recordId>01</recordId>
                            </recordMetadata>
                        </record>
                        <instanceId>

<mdrId>org.eclipse.cosmos.samples.cmdbf.XMLRepository</mdrId>
                            <localId>01</localId>
                        </instanceId>
                    </item>
                </nodes>
            </dyn:queryResponseType>
        </dyn:queryResponseType>
Results
1.   There should not be any exception that is thrown when expanding the
nodes.

Thanks,

Sheldon
______________________________________
Sheldon Lee-Loy



                                                                           
             Hubert H                                                      
             Leung/Toronto/IBM                                             
             @IBMCA                                                     To 
             Sent by:                  cosmos-dev@xxxxxxxxxxx              
             cosmos-dev-bounce                                          cc 
             s@xxxxxxxxxxx                                                 
                                                                   Subject 
                                       [cosmos-dev] New candidate driver   
             01/22/2008 11:44          for i8: COSMOS-1.0.0-200801222315   
             PM                                                            
                                                                           
                                                                           
             Please respond to                                             
                Cosmos Dev                                                 
             <cosmos-dev@eclip                                             
                  se.org>                                                  
                                                                           
                                                                           





I have uploaded a new candidate build for i8.  Please test this build.

Build ID: COSMOS-1.0.0-200801222315
URL:
http://www.eclipse.org/cosmos/downloads/?buildId=COSMOS-1.0.0-200801222315

Bugs that were fixed since the last build: 216182, 216011,216012,216014,
216073


_________________________
Hubert Leung
IBM Toronto Lab
hkyleung@xxxxxxxxxx
905-413-3382_______________________________________________
cosmos-dev mailing list
cosmos-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cosmos-dev




Back to the top