castor
  1. castor
  2. CASTOR-2854

ASE - task 3: relation tests & tests for sequence diagrams

    Details

    • Type: Task Task
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Student programs
    • Labels:
      None
    • Environment:
      Maven project using castor-jdo with an Apache Derby database.
    • Testcase included:
      yes
    • Number of attachments :
      6

      Description

      The attached project, when it is finished, will contain 6 relationship tests & 4 tests used to chart sequence diagrams.

      As of now, the project contains the 6 relationship tests with the following results:

      OneToMany Unidirectional (AutoStore=true): error (PersistenceException: Column 'AUTHOR_ID' cannot accept a NULL value.)
      OneToMany Unidirectional (AutoStore=false): error (PersistenceException: Column 'AUTHOR_ID' cannot accept a NULL value.)
      OneToMany Bidirectional (AutoStore=true): pass (but only when explicitly setting both sides of the relation)
      OneToMany Bidirectional (AutoStore=false) : pass (but only when explicitly setting both sides of the relation)
      ManyToOne (AutoStore=true): pass
      ManyToOne (AutoStore=false): pass

      caching is turned off and key-generator MAX is used for all entities.

      The 4 sequence diagram test cases will be added soon.

      1. test1.png
        82 kB
      2. test2.png
        129 kB
      3. test3.png
        170 kB
      4. test4.jpg
        383 kB

        Activity

        Hide
        Michael Schröder added a comment -

        I have now added the 4 sequence diagram test cases, which are:

        test 1: A (change a field of author)
        test 2: A <-- B (change a field of author)
        test 3: A <-- B (setting a new author)
        test 4: A --> B (add a new book)

        The diagrams themselves will follow soon.

        Show
        Michael Schröder added a comment - I have now added the 4 sequence diagram test cases, which are: test 1: A (change a field of author) test 2: A <-- B (change a field of author) test 3: A <-- B (setting a new author) test 4: A --> B (add a new book) The diagrams themselves will follow soon.
        Hide
        Michael Schröder added a comment -

        These are the sequence diagrams for the first two test cases.

        Show
        Michael Schröder added a comment - These are the sequence diagrams for the first two test cases.
        Hide
        Michael Schröder added a comment -

        added sequence diagram for test 3

        Show
        Michael Schröder added a comment - added sequence diagram for test 3
        Hide
        Ivo Friedberg added a comment -

        added sequence diagram for test4

        Show
        Ivo Friedberg added a comment - added sequence diagram for test4

          People

          • Assignee:
            Unassigned
            Reporter:
            Michael Schröder
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: