Skip to content

Commit

Permalink
Rename to test_assets
Browse files Browse the repository at this point in the history
  • Loading branch information
jieyouxu committed Aug 14, 2023
1 parent 88740a7 commit e50fbea
Show file tree
Hide file tree
Showing 16 changed files with 7 additions and 7 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
14 changes: 7 additions & 7 deletions tests/lint/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use drg_mod_integration::providers::ModSpecification;

#[test]
pub fn test_lint_conflicting_files() {
let base_path = PathBuf::from_str("test_mod_batches/lints/").unwrap();
let base_path = PathBuf::from_str("test_assets/lints/").unwrap();
assert!(base_path.exists());
let a_path = base_path.clone().join("A.pak");
assert!(a_path.exists());
Expand Down Expand Up @@ -41,7 +41,7 @@ pub fn test_lint_conflicting_files() {

#[test]
pub fn test_lint_shader() {
let base_path = PathBuf::from_str("test_mod_batches/lints/").unwrap();
let base_path = PathBuf::from_str("test_assets/lints/").unwrap();
assert!(base_path.exists());
let a_path = base_path.clone().join("A.pak");
assert!(a_path.exists());
Expand Down Expand Up @@ -69,7 +69,7 @@ pub fn test_lint_shader() {

#[test]
pub fn test_lint_asset_registry_bin() {
let base_path = PathBuf::from_str("test_mod_batches/lints/").unwrap();
let base_path = PathBuf::from_str("test_assets/lints/").unwrap();
assert!(base_path.exists());
let a_path = base_path.clone().join("A.pak");
assert!(a_path.exists());
Expand Down Expand Up @@ -98,7 +98,7 @@ pub fn test_lint_asset_registry_bin() {

#[test]
pub fn test_lint_outdated_pak_version() {
let base_path = PathBuf::from_str("test_mod_batches/lints/").unwrap();
let base_path = PathBuf::from_str("test_assets/lints/").unwrap();
assert!(base_path.exists());
let outdated_pak_path = base_path.clone().join("outdated_pak_version.pak");
assert!(outdated_pak_path.exists());
Expand All @@ -122,7 +122,7 @@ pub fn test_lint_outdated_pak_version() {

#[test]
pub fn test_lint_empty_archive() {
let base_path = PathBuf::from_str("test_mod_batches/lints/").unwrap();
let base_path = PathBuf::from_str("test_assets/lints/").unwrap();
assert!(base_path.exists());
let empty_archive_path = base_path.clone().join("empty_archive.zip");
assert!(empty_archive_path.exists());
Expand All @@ -142,7 +142,7 @@ pub fn test_lint_empty_archive() {

#[test]
pub fn test_lint_only_non_pak_files() {
let base_path = PathBuf::from_str("test_mod_batches/lints/").unwrap();
let base_path = PathBuf::from_str("test_assets/lints/").unwrap();
assert!(base_path.exists());
let a_path = base_path.clone().join("A.pak");
assert!(a_path.exists());
Expand Down Expand Up @@ -171,7 +171,7 @@ pub fn test_lint_only_non_pak_files() {

#[test]
pub fn test_lint_multi_pak_archive() {
let base_path = PathBuf::from_str("test_mod_batches/lints/").unwrap();
let base_path = PathBuf::from_str("test_assets/lints/").unwrap();
assert!(base_path.exists());
let multiple_paks_archive_path = base_path.clone().join("multiple_paks.zip");
assert!(multiple_paks_archive_path.exists());
Expand Down

0 comments on commit e50fbea

Please sign in to comment.