# Check04-2007-11-29-1753.txt        UTF-8                  dh:2007-11-29
#
# This is a regression run just to confirm that the new RunCheck.bat 0.02
# is working properly, and that the 0.57-odmjni100 regression set is
# complete and operating properly.
#
# The selection of a docId and then opening it with openKnownDocument
# worked just fine.  It is known that transferToNewDocument will fail
# if a new document case is selected, so we test something else.
#
# ODMASAMP has an option to revert to the current document.  The ODMA
# specification reports that this is handled by returning a null
# docId for the new document.  It is not known if ODMJNI 0.59 handles this
# case or how it handles it.
#
# We can see in this transcript that the case is reported by ODMJNI 1.0 as
# a cancellation of the transferToNewDocument operation.  This approach
# was performed by ODMJNI 1.0 and this might not be the proper way to
# handle this special-case transferToNewDocument situation.

     orcmid's Projects: 0.42 Command-Line Console Session on SCAMPO

17:49:45.78 C:\MyProjects> odmjni100
odmjni100.bat 0.00 ENTER odmjni100 DEVELOPMENT FOLDER


17:49:55.47 C:\MyProjects\java\ODMdev\info\odma\odmjni100> cd 0.57-odmjni100\Check04

17:50:03.14 C:\MyProjects\java\ODMdev\info\odma\odmjni100\0.57-odmjni100\Check04> RunCheck CheckKnown
**   RunCheck.bat 0.02 PERFORMING odmjni100 CONFIRMATION CHECKS
*    OdmJava.bat 0.05 ESTABLISH JAVA ENVIRONMENT FOR ODMJNI 1.0
         Using the Java SDK installed at C:\Program Files\Java\jdk1.5.0_09
         Using file-system class path C:\MyProjects\java\ODMdev


CheckKnown> 0.01 Use Known ODMA Documents  (via JNI 1.4)

            > OdmConnection interface acquired:
              ODMJNI 1.0 OdmJniApp 0.15

            > > An ODMA Connection is available.

            > > > A Default DMS is available.
            > > > > known docID() =
            > > > >   |::ODMA\ODMASAMP\22-15-13-48|
                    wfDocIdPrefix() = true
                    prefixDmsId() = ODMASAMP
                    wfDocId() = true
                    safeDocId() = true

            > > > > returned interface = a working-document implementation:
                    info.odma.odmjni100.OdmJniWork@f72617
                    ODMJNI 1.0 OdmJniWork 0.02 OdmWorkingDocument

                               dmsAvailable() = true
                         operationSucceeded() = true
                         operationCancelled() = false
                    localOperationRequested() = false

                    viewOnly() = false
                    docID() =
                      |::ODMA\ODMASAMP\22-15-13-48|
                    docLocation() =
                      |C:\DOCUME~1\orcmid\LOCALS~1\Temp\ODM54.txt|

                    windowTitle() =
                      |22-15-13-48 - 2007-11-16-2216-New|
                    dmsAuthor() =
                      |ORCMID|
                    dmsDocName() =
                      |2007-11-16-2216-New|
                    dmsDocType() =
                      |0.59-ODMJNI100-CHECKNEW|
                    dmsFormatName() =
                      |.txt|

                    Commit Changes? ([y]/N): N


                    Save to New DMS Document? [y]/N: Y


            > > > > returned interface = a pending-document implementation:
                    info.odma.practical100.OdmNullPendingDocument@12b6651
                    ODMJNI 1.0 cancellation OdmNullPendingDocument 0.09

                               dmsAvailable() = false
                         operationSucceeded() = false
                         operationCancelled() = true
                    localOperationRequested() = false

                    docSubmissionLocation() = null

            > > > The Default DMS is no longer required.
                  It is released by OdmConnection.release().

            > > The Connection is no longer required.
                It is released by OdmConnection.release().

            > Interface OdmConnection.release() performed.
              The Default DMS is no longer available.
              The connection is no longer available.

CheckKnown> exit


17:51:29.09 C:\MyProjects\java\ODMdev\info\odma\odmjni100\0.57-odmjni100\Check04>


# $Header: /ODMdev/info/odma/odmjni100/0.57-odmjni100/Check04/results/Check04-2007-11-29-1753.txt 1     07-11-29 18:12 Orcmid $

#                     *** Check04-2007-11-29-1753.txt ***
