-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
39 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: Build and Run Automated Tests | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
runs-on: windows-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Set up CMake, Ninja, and MSVC | ||
uses: lukka/[email protected] | ||
|
||
- name: Configure CMake | ||
# sqlite3 handled by CMake | ||
run: cmake -S . -B build -G "Ninja" | ||
|
||
- name: Build | ||
run: cmake --build build | ||
|
||
- name: Test | ||
run: ./bin/testing |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,16 @@ | ||
// | ||
// Created by syeda on 12/23/2023. | ||
// | ||
/** | ||
* @file main.cpp | ||
* @brief Test driver. | ||
* @detailed The test driver. Through its associated tests, this driver aims to exercise all | ||
* of the functionality of the AppTracker, AppEntry, and DatabaseManager classes in a clear and | ||
* consistent way so that the class's interface and implementation can be easily inferred. | ||
* @author Syed Ali | ||
*/ | ||
|
||
#include <gtest/gtest.h> | ||
|
||
int main(int argc, char** argv) | ||
{ | ||
::testing::InitGoogleTest(&argc, argv); | ||
return RUN_ALL_TESTS(); | ||
} |