Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GSoC'21] Pr:6 . JSON saver tests #94

Merged
merged 15 commits into from Aug 6, 2021
Merged

Commits on Jul 16, 2021

  1. Jsonsaver : Simplify json saving without maintaining the order

    - Unnecessary functioanlity of maintinging the order of properyies removed
    - usage of map[string]interafce{} introduced
    
    Signed-off-by: Ujjwal Agarwal <ujjwalcoding012@gmail.com>
    specter25 committed Jul 16, 2021
    Copy the full SHA
    08fb06a View commit details
    Browse the repository at this point in the history
  2. Examples : Write desxription of jsonsaver in the Readme

    Signed-off-by: Ujjwal Agarwal <ujjwalcoding012@gmail.com>
    specter25 committed Jul 16, 2021
    Copy the full SHA
    8d5f3f5 View commit details
    Browse the repository at this point in the history
  3. Examples : Write description of jsonsaver example in readme

    Signed-off-by: Ujjwal Agarwal <ujjwalcoding012@gmail.com>
    specter25 committed Jul 16, 2021
    Copy the full SHA
    d47d0c2 View commit details
    Browse the repository at this point in the history
  4. Jsonsaver : minor fixes regarding code semantics

    Signed-off-by: Ujjwal Agarwal <ujjwalcoding012@gmail.com>
    specter25 committed Jul 16, 2021
    Copy the full SHA
    f64669f View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2021

  1. Jsonsaver : creation info unit tests written

    - Unit Tests fro creation info function
    
    Signed-off-by: Ujjwal Agarwal <ujjwalcoding012@gmail.com>
    specter25 committed Jul 20, 2021
    Copy the full SHA
    7616a1e View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2021

  1. Jsonsaver : Write unit tests for all render functions

    - Write units tests for render functions for snippets ,packages , files , reviews , relationships ,annotations
    
    Signed-off-by: Ujjwal Agarwal <ujjwalcoding012@gmail.com>
    specter25 committed Jul 21, 2021
    Copy the full SHA
    8176ed5 View commit details
    Browse the repository at this point in the history
  2. Jsonsaver : Fix checksum unit tests in case of files and packages

    - Checksums algorithm had to be parsed to string from spdx.ChecksumAlgorithm
    
    Signed-off-by: Ujjwal Agarwal <ujjwalcoding012@gmail.com>
    specter25 committed Jul 21, 2021
    Copy the full SHA
    6995a8a View commit details
    Browse the repository at this point in the history
  3. jsonsaver : increase test coverage

    - added test to renderfile function
    - added tests to renderrelationships function
    
    Signed-off-by: Ujjwal Agarwal <ujjwalcoding012@gmail.com>
    specter25 committed Jul 21, 2021
    Copy the full SHA
    81c9631 View commit details
    Browse the repository at this point in the history
  4. Jsonsaver : increase test coverage

    Signed-off-by: Ujjwal Agarwal <ujjwalcoding012@gmail.com>
    specter25 committed Jul 21, 2021
    Copy the full SHA
    1896bb6 View commit details
    Browse the repository at this point in the history
  5. Jsonsaver : add complete saver test

    Signed-off-by: Ujjwal Agarwal <ujjwalcoding012@gmail.com>
    specter25 committed Jul 21, 2021
    Copy the full SHA
    2d2902a View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    3ac2221 View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2021

  1. Jsonsaver : add complete functionslity tests

    - Check whether an entire spdx document is saved correctly or not
    
    Signed-off-by: Ujjwal Agarwal <ujjwalcoding012@gmail.com>
    specter25 committed Jul 24, 2021
    Copy the full SHA
    de2a8c9 View commit details
    Browse the repository at this point in the history
  2. Jsonsaver : Package level tests added

    Signed-off-by: Ujjwal Agarwal <ujjwalcoding012@gmail.com>
    specter25 committed Jul 24, 2021
    Copy the full SHA
    81c7677 View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2021

  1. JsonParser : increase test coverage of files, creationinfo and annota…

    …tions
    
    Signed-off-by: Ujjwal Agarwal <ujjwalcoding012@gmail.com>
    specter25 committed Jul 27, 2021
    Copy the full SHA
    1a9690f View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2021

  1. Examples : add example of jsonloader and remove existing conversion e…

    …xamples
    
    - bug fixes in json saver done as well
    - test covereage of jsonparser increased
    
    Signed-off-by: Ujjwal Agarwal <ujjwalcoding012@gmail.com>
    specter25 committed Aug 6, 2021
    Copy the full SHA
    1bc87f7 View commit details
    Browse the repository at this point in the history