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

Add game and junit tests to AP #562

Draft
wants to merge 72 commits into
base: dev/1.19.2
Choose a base branch
from
Draft

Add game and junit tests to AP #562

wants to merge 72 commits into from

Commits on Jul 19, 2023

  1. Start writing some new tests, this not even near finished. The plan i…

    …s to code test the most code which does not need a running minecraft instance. For other parts of the project, gametests will be created at a later point
    
    Also make a static helper function to create the tooltips to minimize duplication and maintenance time
    SirEndii committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    ab2dd39 View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2023

  1. Configuration menu
    Copy the full SHA
    23631d0 View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2023

  1. Configuration menu
    Copy the full SHA
    62b9169 View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2023

  1. Configuration menu
    Copy the full SHA
    2cdb99a View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2023

  1. Merge branch '1.19.2' into dev/tests

    # Conflicts:
    #	gradle.properties
    SirEndii committed Aug 11, 2023
    Configuration menu
    Copy the full SHA
    0cbde8a View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2023

  1. Configuration menu
    Copy the full SHA
    09748a3 View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2024

  1. Merge branch 'refs/heads/dev/1.19.2' into feat/tests

    # Conflicts:
    #	src/main/java/de/srendi/advancedperipherals/common/items/base/BaseBlockItem.java
    #	src/main/java/de/srendi/advancedperipherals/common/items/base/BaseItem.java
    SirEndii committed Feb 23, 2024
    Configuration menu
    Copy the full SHA
    426f8f9 View commit details
    Browse the repository at this point in the history
  2. Add some testing game tests, next step is trying to run tests on comp…

    …uters with CC's testing api
    
    Removed some old stuff
    SirEndii committed Feb 23, 2024
    Configuration menu
    Copy the full SHA
    866474f View commit details
    Browse the repository at this point in the history
  3. Remove unused imports

    SirEndii committed Feb 23, 2024
    Configuration menu
    Copy the full SHA
    cfc667e View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2024

  1. Configuration menu
    Copy the full SHA
    1e3ef5a View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2024

  1. Merge branch 'refs/heads/dev/1.19.2' into feat/tests

    # Conflicts:
    #	build.gradle
    SirEndii committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    e96743d View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2024

  1. Configuration menu
    Copy the full SHA
    0807a8a View commit details
    Browse the repository at this point in the history

Commits on May 2, 2024

  1. Configuration menu
    Copy the full SHA
    d0fc2ac View commit details
    Browse the repository at this point in the history
  2. Implemented(Copied) the needed classes for the computer game tests fr…

    …om the CC repository and adapted it to our needs
    SirEndii committed May 2, 2024
    Configuration menu
    Copy the full SHA
    8f63805 View commit details
    Browse the repository at this point in the history
  3. Added needed junit and hamcrest libraries to the minecraft classpath …

    …so they are included in the runtime when we run the tests
    SirEndii committed May 2, 2024
    Configuration menu
    Copy the full SHA
    8fb24a8 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    09e4e81 View commit details
    Browse the repository at this point in the history

Commits on May 3, 2024

  1. Configuration menu
    Copy the full SHA
    097a824 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c258ba4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    231b175 View commit details
    Browse the repository at this point in the history
  4. Created a test using kotlin for the environmental detector. This was …

    …just a test, there is a bug loading the structures what I need to fix.
    SirEndii committed May 3, 2024
    Configuration menu
    Copy the full SHA
    d4c127d View commit details
    Browse the repository at this point in the history

Commits on May 5, 2024

  1. Remove CC tests and complete the environment detector test

    The test can be run via `runGameTestClient` using the /test command or `runGameTestServer` to run all the tests automatically
    SirEndii committed May 5, 2024
    Configuration menu
    Copy the full SHA
    cd16a2d View commit details
    Browse the repository at this point in the history
  2. Add game test action

    SirEndii committed May 5, 2024
    Configuration menu
    Copy the full SHA
    f57b317 View commit details
    Browse the repository at this point in the history
  3. Satisfy checkstyle

    SirEndii committed May 5, 2024
    Configuration menu
    Copy the full SHA
    3c6c9f1 View commit details
    Browse the repository at this point in the history
  4. Fixed if statement

    SirEndii committed May 5, 2024
    Configuration menu
    Copy the full SHA
    53bf4b2 View commit details
    Browse the repository at this point in the history

Commits on May 6, 2024

  1. Added a prototype test for the ME Bridge. Used to know how the ME Sys…

    …tem handles the game tests. We need to wait a bit using `sleep` in the test lua script so the system has enough time to boot up
    
    Don't implement kotlinforforge to prevent issues with kotlin and kotlin coroutines
    SirEndii committed May 6, 2024
    Configuration menu
    Copy the full SHA
    8324d84 View commit details
    Browse the repository at this point in the history

Commits on May 7, 2024

  1. Added documentation on how to create tests.

    This is not completely done, but gives a first impression on how to create tests and how to run them
    SirEndii committed May 7, 2024
    Configuration menu
    Copy the full SHA
    4da1afd View commit details
    Browse the repository at this point in the history

Commits on May 8, 2024

  1. Configuration menu
    Copy the full SHA
    8099d49 View commit details
    Browse the repository at this point in the history
  2. Polished andesite

    SirEndii committed May 8, 2024
    Configuration menu
    Copy the full SHA
    30c10ac View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    05d7ee5 View commit details
    Browse the repository at this point in the history
  4. Finished the me crafting test and started implementing a test for me …

    …storage related function where I need to fix a bug in AP first
    SirEndii committed May 8, 2024
    Configuration menu
    Copy the full SHA
    afcecd5 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    fcfd9ce View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    578ccd8 View commit details
    Browse the repository at this point in the history

Commits on May 10, 2024

  1. Configuration menu
    Copy the full SHA
    233a194 View commit details
    Browse the repository at this point in the history

Commits on May 11, 2024

  1. Configuration menu
    Copy the full SHA
    feb2c9a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0e42330 View commit details
    Browse the repository at this point in the history
  3. tablelength -> tableLength

    dogboy21 committed May 11, 2024
    Configuration menu
    Copy the full SHA
    7f9af5c View commit details
    Browse the repository at this point in the history
  4. Merge pull request #610 from dogboy21/blockreader-tests

    Add game tests for Block Reader peripheral (related to #562)
    SirEndii committed May 11, 2024
    Configuration menu
    Copy the full SHA
    2c4c172 View commit details
    Browse the repository at this point in the history

Commits on May 21, 2024

  1. Configuration menu
    Copy the full SHA
    5263ede View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1a692db View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e1a84cd View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2aedb2a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2f09327 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    3f28371 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    967fbe2 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    a3a834d View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    f8d7c75 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    0b31b09 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    77df4d0 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    970fc5f View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    1e96a64 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    043daa7 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    f8e6df9 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    1954f8e View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    62ee0aa View commit details
    Browse the repository at this point in the history
  18. Merge pull request #612 from dogboy21/peripheral-tests

    Implement game tests for more peripherals
    SirEndii committed May 21, 2024
    Configuration menu
    Copy the full SHA
    7421144 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    0a0e10d View commit details
    Browse the repository at this point in the history
  20. Merge pull request #615 from IntelligenceModding/revert-612-periphera…

    …l-tests
    
    Revert "Implement game tests for more peripherals"
    SirEndii committed May 21, 2024
    Configuration menu
    Copy the full SHA
    cda5a84 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    dca02be View commit details
    Browse the repository at this point in the history
  22. Merge pull request #616 from IntelligenceModding/revert-615-revert-61…

    …2-peripheral-tests
    
    Revert "Revert "Implement game tests for more peripherals""
    SirEndii committed May 21, 2024
    Configuration menu
    Copy the full SHA
    7a0dd63 View commit details
    Browse the repository at this point in the history
  23. Some documentation additions

    SirEndii committed May 21, 2024
    Configuration menu
    Copy the full SHA
    9cf6e2a View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2024

  1. Configuration menu
    Copy the full SHA
    20bc455 View commit details
    Browse the repository at this point in the history
  2. Begone

    SirEndii committed Jun 1, 2024
    Configuration menu
    Copy the full SHA
    4b49523 View commit details
    Browse the repository at this point in the history
  3. Backported changes from the CC: Tweaked Gametest framework present in…

    … the 1.20.x branch
    
    This was mainly done to allow the execution of client tests
    dogboy21 committed Jun 1, 2024
    Configuration menu
    Copy the full SHA
    8272ba2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bc4d3e4 View commit details
    Browse the repository at this point in the history
  5. Add docs on client tests

    dogboy21 committed Jun 1, 2024
    Configuration menu
    Copy the full SHA
    6227fd6 View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2024

  1. Merge pull request #622 from dogboy21/cctest-backport

    Backported changes from the CC: Tweaked Gametest framework present in 1.20.x
    SirEndii committed Jun 2, 2024
    Configuration menu
    Copy the full SHA
    321ab7e View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2024

  1. Configuration menu
    Copy the full SHA
    2a805bd View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2024

  1. Configuration menu
    Copy the full SHA
    fe24952 View commit details
    Browse the repository at this point in the history
  2. Add Chat Box event test

    dogboy21 committed Jun 29, 2024
    Configuration menu
    Copy the full SHA
    e5b46ad View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4904f85 View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2024

  1. Configuration menu
    Copy the full SHA
    83c7977 View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2024

  1. Merge pull request #628 from dogboy21/clienttests

    Added client test for the Chat Box peripheral
    SirEndii committed Jul 7, 2024
    Configuration menu
    Copy the full SHA
    1acbce7 View commit details
    Browse the repository at this point in the history