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

This PR is for removing Magical Record #115

Draft
wants to merge 65 commits into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
1f39ed8
bottom sheet item User -> UserModel
danielbarela Aug 22, 2024
bfa106a
remove unused ObservationTableViewController
danielbarela Aug 22, 2024
f4ccc0a
delete LocationsTableViewController and UserViewController
danielbarela Aug 22, 2024
35d011d
removing unnecessary user views
danielbarela Aug 22, 2024
f8382ad
deleting unused observation views
danielbarela Aug 22, 2024
14f3220
memory leak fixes, test fixes
danielbarela Aug 23, 2024
625facd
BottomSheetRepository tests
danielbarela Aug 23, 2024
b465361
mock the repositories and use those in the bottom sheet repository tests
danielbarela Aug 23, 2024
6948dda
UserRepository tests
danielbarela Aug 23, 2024
f11a645
move geopackage initialization to geopackage repository
danielbarela Aug 25, 2024
7e35e6e
LocationRepository tests
danielbarela Aug 25, 2024
69603a9
user local data source tests
danielbarela Aug 26, 2024
8eaf2a5
move uri publisher to the core data data source
danielbarela Aug 26, 2024
a5a43a1
context is now injected
danielbarela Aug 27, 2024
4ff98c7
observation local data source tests
danielbarela Aug 27, 2024
31816e1
MAGEFormFetched sends event model
danielbarela Aug 28, 2024
e227c9d
ObservationImageRepository
danielbarela Aug 29, 2024
f74fb96
reorganizing files
danielbarela Aug 29, 2024
3be1a29
test updates
danielbarela Aug 30, 2024
8322a3b
clean up some test memory leaks
danielbarela Aug 30, 2024
b012097
move fetchMyself to user repository
danielbarela Sep 3, 2024
20914ac
user remote and user repository fetch myself tests
danielbarela Sep 3, 2024
d2b2c7c
update tests to use proper class for retrieving resources
danielbarela Sep 3, 2024
9c9d26c
update test classes to pass context
danielbarela Sep 3, 2024
2ad61b7
event repository tests
danielbarela Sep 3, 2024
442cadd
initial move from mr_ methods to context methods
danielbarela Sep 4, 2024
1cd6b86
project file
danielbarela Sep 4, 2024
fb56963
more removal of magical record and adding back in tests
danielbarela Sep 26, 2024
380fc7b
geopackage base map tests, geometry edit controller tests
danielbarela Sep 26, 2024
0cb7f6b
tests for geopackage importer
danielbarela Oct 2, 2024
8405185
geopackage importer -> swift
danielbarela Oct 4, 2024
44eb017
moved methods out to layer repository
danielbarela Oct 4, 2024
f5c12d7
cache overlays -> swift
danielbarela Oct 7, 2024
8537a0c
corrected some tests
danielbarela Oct 7, 2024
7990683
updating tests to XCTest; updating geopackage files to swift
danielbarela Oct 25, 2024
5437aef
static layer tests update
danielbarela Oct 25, 2024
8511fef
user heading display tests update
danielbarela Oct 25, 2024
bebc98e
update UserTrackingMapTests
danielbarela Oct 25, 2024
4646fc5
Update Straight line nav tests
danielbarela Oct 25, 2024
fdf3ed9
expandable card tests updates
danielbarela Oct 25, 2024
bdc8ef0
form picker tests updated
danielbarela Oct 25, 2024
1c786c1
update observation form reorder tests
danielbarela Oct 25, 2024
98ebf2f
common field tests updates
danielbarela Oct 25, 2024
511d3ed
geometry edit view controller tests updates
danielbarela Oct 25, 2024
526e422
edit controller test updates
danielbarela Oct 25, 2024
a2b5ac5
edit coordinator test updates
danielbarela Oct 25, 2024
b00d0f4
update observation form view tests
danielbarela Oct 28, 2024
cb8dedf
fixing case where attachment cell is recycled before the image loads
danielbarela Oct 29, 2024
d1b31bc
update checkbox field view tests
danielbarela Oct 29, 2024
18a4f07
update date view tests
danielbarela Oct 29, 2024
2f849b6
update dropdown field view tests
danielbarela Oct 29, 2024
2d4342b
update geometry view tests
danielbarela Oct 29, 2024
71b7966
update number field tests
danielbarela Oct 30, 2024
25c1b95
update radio field tests
danielbarela Oct 30, 2024
955dddd
update text view tests
danielbarela Oct 30, 2024
5ea4400
removal of unused classes
danielbarela Oct 30, 2024
8e71687
event chooser coordinator test fixes
danielbarela Oct 30, 2024
5088c5f
move geopackage tests to their own test target
danielbarela Oct 31, 2024
95bc698
observation push service magical record removal
danielbarela Nov 4, 2024
c07ebe5
attachment push service -> Swift
danielbarela Nov 11, 2024
0917fb8
device uuid -> Swift
danielbarela Nov 13, 2024
7be7e5c
delete header file
danielbarela Nov 13, 2024
36874db
remove references to deleted file
danielbarela Nov 13, 2024
5bd477f
fixed misspelling
danielbarela Nov 13, 2024
88e482c
ServerAuthenticationTest updates
danielbarela Nov 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1,253 changes: 1,052 additions & 201 deletions MAGE.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"originHash" : "207c6ed47e45e25f40d2ab20afcc890a28577e7ad35a49d3145f40980c999e56",
"pins" : [
{
"identity" : "alamofire",
"kind" : "remoteSourceControl",
"location" : "https://github.com/Alamofire/Alamofire.git",
"state" : {
"revision" : "f455c2975872ccd2d9c81594c658af65716e9b9a",
"version" : "5.9.1"
}
},
{
"identity" : "exceptioncatcher",
"kind" : "remoteSourceControl",
"location" : "https://github.com/sindresorhus/ExceptionCatcher",
"state" : {
"revision" : "a7acaf40f8bd67a1f3a05a14de5b6a861ac3d1ac",
"version" : "2.0.1"
}
},
{
"identity" : "kingfisher",
"kind" : "remoteSourceControl",
"location" : "https://github.com/onevcat/Kingfisher.git",
"state" : {
"revision" : "2ef543ee21d63734e1c004ad6c870255e8716c50",
"version" : "7.12.0"
}
},
{
"identity" : "swiftuikitview",
"kind" : "remoteSourceControl",
"location" : "https://github.com/AvdLee/SwiftUIKitView.git",
"state" : {
"revision" : "56f2a1f8e35d5c258f633e8472cd59345ed5ae59",
"version" : "2.0.0"
}
}
],
"version" : 3
}
23 changes: 22 additions & 1 deletion MAGE.xcodeproj/xcshareddata/xcschemes/MAGE.xcscheme
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
codeCoverageEnabled = "YES">
codeCoverageEnabled = "YES"
onlyGenerateCoverageForSpecifiedTargets = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
Expand All @@ -37,6 +38,15 @@
ReferencedContainer = "container:MAGE.xcodeproj">
</BuildableReference>
</MacroExpansion>
<CodeCoverageTargets>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "F7A94D6518AD9CB000CB9EE0"
BuildableName = "MAGE.app"
BlueprintName = "MAGE"
ReferencedContainer = "container:MAGE.xcodeproj">
</BuildableReference>
</CodeCoverageTargets>
<Testables>
<TestableReference
skipped = "NO">
Expand All @@ -48,6 +58,17 @@
ReferencedContainer = "container:MAGE.xcodeproj">
</BuildableReference>
</TestableReference>
<TestableReference
skipped = "NO"
parallelizable = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "F7C183A72CD2E13400BA7DCD"
BuildableName = "MAGEGeoPackageTests.xctest"
BlueprintName = "MAGEGeoPackageTests"
ReferencedContainer = "container:MAGE.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
</TestAction>
<LaunchAction
Expand Down
13 changes: 13 additions & 0 deletions MAGEGeoPackageTests/MAGEGeoPackageTests-Bridging-Header.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
//
// MAGEGeoPackageTests-Bridging-Header.h
// MAGE
//
// Created by Dan Barela on 10/31/24.
// Copyright © 2024 National Geospatial Intelligence Agency. All rights reserved.
//


#import <KIF/KIF.h>
#import "MAGE-Bridging-Header.h"

#import "TestingAppDelegate.h"
36 changes: 36 additions & 0 deletions MAGEGeoPackageTests/MAGEGeoPackageTests.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
//
// MAGEGeoPackageTests.swift
// MAGEGeoPackageTests
//
// Created by Dan Barela on 10/30/24.
// Copyright © 2024 National Geospatial Intelligence Agency. All rights reserved.
//

import XCTest

final class MAGEGeoPackageTests: XCTestCase {

override func setUpWithError() throws {
// Put setup code here. This method is called before the invocation of each test method in the class.
}

override func tearDownWithError() throws {
// Put teardown code here. This method is called after the invocation of each test method in the class.
}

func testExample() throws {
// This is an example of a functional test case.
// Use XCTAssert and related functions to verify your tests produce the correct results.
// Any test you write for XCTest can be annotated as throws and async.
// Mark your test throws to produce an unexpected failure when your test encounters an uncaught error.
// Mark your test async to allow awaiting for asynchronous code to complete. Check the results with assertions afterwards.
}

func testPerformanceExample() throws {
// This is an example of a performance test case.
measure {
// Put the code you want to measure the time of here.
}
}

}
Loading